Author: Katz Ueno

  • Quick Let’s Encrypt Installation on Amazon Linux 2

  • Made A Very Simple PHP Redirect Script

    Made A Very Simple PHP Redirect Script

    If you’ve moved (are planning to move) to new domain & you don’t want to simply redirect to new domain.You want to tell your site visitors that your domain has changed. This simple PHP script shows very simple message that domain has changed for set amount of seconds, then redirected to the new domain. It is also render 301 status code. So Google will know your page was moved, too. It will fetch the current request URL, and redirect to the new domain with exact same URI. By the way, it has Japanese text, too 🙂 This post was copied from Readme. If there is a newer version and […]

  • How to delete .DS_Store, .php files recursively

    When you zip files in Mac OS or Windows, it sometime include system files that you don’t see when you were working. When you unzip the files, you see them. You go nuts! Well, you probably set .gitignore to ignore those system files. It will probably be harmless. However, you just don’t want to leave those junk. You will use find command to delete them Delete .DS_Store or ._* files find command is very useful to delete some junk files systematically. Delete .bak files TIPS: Configure your Mac not to save .DS_Store files Have fun.

  • How to set proxy in PHP-FPM

    One of our clients server lives inside of tight security VPC. Therefore, all of our EC2 web server must use HTTP_PROXY, HTTPS_PROXY. When I try to use Concrete CMS (formally concrete5) to fetch the latest language files from remote server, I’ve got the curl timeout error and couldn’t update the language. So I need to set the proxy for PHP-FPM. If you use Apache’s PHP module or CLI, PHP will use server’s environment settings. However, for php-fpm you must also configure in php.d/www.conf. Checked & tested with Amazon Linux 2 with PHP7.4 installed via amazon-linux-extra. Condition For example, you have your proxy set for both http and https. STEP 1. […]

  • How to filter S3 bucket to download millions of log files

  • Add ID and Password to git with https

  • Running 3,000 km in 2021

    These days, I get very tired around 7pm and can no longer work after that. Then, I realized it’s may not just be because I’m getting old. It may also be because of I’ve run 300 km in Aug and Sep. I’m trying to run 3,000km in the year 2021 because I ran 2660km in 2020. In my personal opinion, you can run upto 3,000 km per year as a hobby runner. I’ve only run 5 days a week for 1 hour, then I can reach this distance. Above 3,000km, I think you must be a real athlete So far I’ve run 2537km from Jan to Sep. 500km more to […]

  • Why Japanese in Japan are not good at talking politics in public

    Why Japanese in Japan are not good at talking politics in public

    After I came to the US, I saw many people involved in politics. In Japan, debating politics is kinda taboo. I’ve been wondering why. I think I found a potential great reason. Discussing politics and doing political activities in public schools and public facilities is strictly prohibited in Japan. The Iwakura City has a public conference room services which I use it for CoderDojo Owari, The place prohibit to do any political and religious activities by its terms of services. I think this may be coming from World War II how Japanese imperial government brainwashed Japanese citizen to go towards war using education, politics and religion. Therefore, the government should […]

  • How to run an online CoderDojo sessions

    How to run an online CoderDojo sessions

    We, CoderDojo Owari, have put together the online session guideline in Japanese. It’s released under Creative Commons 4.0 NC-BY license. Please download and translate it.  I will also explain what Google Docs says in this blog post. CoderDojo Japan communities have been helping together to organize online dojos under the difficult circumstances of coronavirus. Over dozens of champions and mentors around Japan are working together and trying to figure out the best method. CoderDojo Owari will continue to use our online dojo session so that we will NEVER cancel our dojo session whether we have disaster or not. Let’s use the technology to overcome our challenges! What meeting software and […]

  • Attending DojoCon Japan 2017

    Attending DojoCon Japan 2017

    I love open source and community around it. My job is to spread the open source spirits and business in Japan. Now I am the father of two lovely daughters. It’s no brainer that I started CoderDojo Owari in my town since April 2017 and help DojoCon Japan 2017. I was fortunate to be a translator for the event. As a translator, let me briefly introduce what was going on at DojoCon Japan 2017. (I also want to emphasize that Japan now has more than 100 Dojos! We are one of the most active CoderDojo communities in the world!) (Photos by Atsushi Ando & Michie Yamamoto) This is a blog entry […]