Programmer's Tipshttp://aics-app.sakura.ne.jp/rss_share/201505051430751672664English blog sites, which contain tips help programmingUpdate domains & paths in WordPress with WP-CLI
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/dQzimRK0wuM/
Wed, 25 Nov 2015 23:00:00 GMT<p>If you've ever had to take a copy of a live WordPress install and use it on a development/test server, you'll know it can be difficult updating all the domains and paths that are riddled throughout the database. The WP-CLI command line tool helps to easily solve this problem.</p>Wed, 25 Nov 2015 23:00:00 GMTChris Hope's LAMP BlogBrowser responses to the X-Frame-Options response header
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/1isLP5pLXcQ/
Tue, 24 Nov 2015 23:00:00 GMT<p>The X-Frame-Options response header this morning; it can be used to prevent your website being rendered within a <frame>, <iframe> or <object>. There are different options to either deny access to all websites, allow from the same origin only, and to allow from a specific origin.</p>Tue, 24 Nov 2015 23:00:00 GMTChris Hope's LAMP BlogHow to generate a SAN CSR from the command line
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/qAFLnPYiuMc/
Mon, 23 Nov 2015 23:00:00 GMT<p>SAN Certificates (Subject Alternative Names Certificates) allow you to have multiple domain names on a secure single certificate, which means you can serve up multiple secured domains on a single IP address without using SNI (Server Name Indication). This post shows how to generate the CSR (Certificate Signing Request) for a SAN Certificate.</p>Mon, 23 Nov 2015 23:00:00 GMTChris Hope's LAMP BlogUse a different rsa identity file when using ssh
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/89FfNN-JZgE/
Sun, 22 Nov 2015 23:00:00 GMT<p>You may need to use different identity files when logging into ssh/sftp servers, so this post shows how to specify a different one to use from the command line, and then always using that key by default in the config file.</p>Sun, 22 Nov 2015 23:00:00 GMTChris Hope's LAMP BlogSetting a user's supplementary groups on Linux
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/uM4D9ZAOKRA/
Sat, 21 Nov 2015 23:00:00 GMT<p>A user on Linux belongs to a primary group, which is specified in the /etc/passwd file, and can be assigned to multiple supplementary groups, which are specific in the /etc/group file. The usermod command can be used after creating to user to assign them to additional groups(s).</p>Sat, 21 Nov 2015 23:00:00 GMTChris Hope's LAMP BlogHow to change the remote url for your local git repository
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/U10qFZDHTTY/
Fri, 20 Nov 2015 23:00:00 GMT<p>If you've moved a git repository from one git hosting service to another, transferred from one account to another at the same service, or moved your own repository servers around the place, you'll need to change the remote url for you local repository to be able to continue pushing and pulling changes, etc.</p>Fri, 20 Nov 2015 23:00:00 GMTChris Hope's LAMP BlogList installed packages on Debian
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/vPi7f4kfXLY/
Thu, 19 Nov 2015 23:00:00 GMT<p>Use the "dpkg --get-selections" command to list installed packages on Debian. This should also work for other Debian based Linux distributions.</p>Thu, 19 Nov 2015 23:00:00 GMTChris Hope's LAMP BlogInstall PHP without Apache on Debian
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/CkwFkre2G48/
Wed, 18 Nov 2015 23:05:00 GMT<p>When you go to install PHP on a Debian server, it will attempt to install a whole bunch of Apache packages instead. This is not very useful if you want to install a different web server, or no web server at all.</p>Wed, 18 Nov 2015 23:05:00 GMTChris Hope's LAMP BlogDisable Javascript for a specific website in Google Chrome
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/qMWpuiWve-E/
Tue, 17 Nov 2015 03:33:00 GMT<p>There may be times when you want to prevent Javascript from running on a specific website, and it's very easy to do with Google Chrome.</p>Tue, 17 Nov 2015 03:33:00 GMTChris Hope's LAMP BlogiTunes could not connect to the device error
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/qVGTfUJ0K6A/
Fri, 13 Nov 2015 03:26:08 GMT<p>When attempting to connect to an iPhone 4s running iOS 7, we kept getting the error message "Could not connect to the device" or "iTunes could not connect to this iPhone. The device does not recognize this host." This post has a solution which worked for us.</p>Fri, 13 Nov 2015 03:26:08 GMTChris Hope's LAMP BlogChange Google Calendar default event notifications
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/N__7u8lkBpc/
Wed, 11 Nov 2015 01:30:00 GMT<p>Google Calendar will create both an email and pop-up notification by default whenever you add an event, set to 10 minutes before, or at a specific time the day before for all day events. If you don't one of these set up each time you create an event, or want to change the default notification timeframe, you can edit the defaults in the Google Calendar settings.</p>Wed, 11 Nov 2015 01:30:00 GMTChris Hope's LAMP BlogPromo codes, discount vouchers, etc
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/pFBIErpAboA/
Tue, 03 Nov 2015 21:39:50 GMT<p>This post has promo codes and discount voucher codes that I come across that I find useful and may need in the near future.</p>Tue, 03 Nov 2015 21:39:50 GMTChris Hope's LAMP BlogApple TV 4 in New Zealand
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/7oKoY5G1v40/
Tue, 03 Nov 2015 04:06:37 GMT<p>The Apple TV 4th Generation has been launched, but if you're like me in New Zealand it's a struggle to find out any information about what apps etc you can install here, compared with all the other articles on the internet which are US centric.</p>Tue, 03 Nov 2015 04:06:37 GMTChris Hope's LAMP Blog301 all URLs but one with Nginx
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/vaBPXdYb5x0/
Thu, 29 Oct 2015 23:05:00 GMT<p>There may be times you need to redirect all requests away from a domain except for a single URL, for example when redirecting all requests from http to https but leaving one file accessible under http for validation purposes. This post shows how to do this with the Nginx web server.</p>Thu, 29 Oct 2015 23:05:00 GMTChris Hope's LAMP BlogGetting back onto Facebook emails
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/GHOzXYFWnds/
Wed, 28 Oct 2015 20:25:00 GMT<p><span style="font-size: 12.8px; line-height: 17.92px;">Occasionally I get "Getting back onto Facebook" emails, which I thought was some weird attempt by FB to get me to engage more, but it appears that these emails are sent when login attempts using your email address fail.</span></p>Wed, 28 Oct 2015 20:25:00 GMTChris Hope's LAMP BlogDisable XML-RPC in WordPress
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/Nyg-ULw6wGg/
Tue, 27 Oct 2015 22:38:00 GMT<p>XML-RPC functionality has been turned on by default since WordPress 3.5. Previously there was an admin interface option to enable it, but there has been no way to disable it from the admin since.</p>Tue, 27 Oct 2015 22:38:00 GMTChris Hope's LAMP BlogCompile errors with PhantomJS
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/tqmyM7bluXM/
Tue, 20 Oct 2015 00:35:00 GMT<p>PhantomJS is a headless WebKit scriptable Javascript API, which I wanted to try out. Unfortunately there aren't many binary packages available so I had to compile it from source, but it came up with a bunch of compile errors.</p>Tue, 20 Oct 2015 00:35:00 GMTChris Hope's LAMP BlogHow to restart sound on Mac OS X
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/Det7C0xC548/
Sun, 18 Oct 2015 20:34:18 GMT<p>I'd had my MacBook Pro plugged into the TV's HDMI, but when I plugged it back into my Thunderbolt display there wasn't any sound. Selecting the internal speakers in the sound settings didn't work, and the display audio option wasn't available. So how to restart the sound system on OS X to fix it?</p>Sun, 18 Oct 2015 20:34:18 GMTChris Hope's LAMP BlogMake TextWrangler's "Currently Open Files" alphabetical
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/Ppaoz_gsvCc/
Wed, 14 Oct 2015 00:40:00 GMT<p>I think TextWrangler crashed or auto updated or something earlier today and when I restarted it all my files listed in the "Currently Open Files" were in some random order, presumably the modified time, instead of the usual helpful default alphabetical order. There doesn't appear to be a way to resort the files but there is a fix.</p>Wed, 14 Oct 2015 00:40:00 GMTChris Hope's LAMP BlogList directories only with ls
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/K9a2S5B4CfQ/
Mon, 12 Oct 2015 21:08:00 GMT<p>The ls command is used to list directory contents when using the bash shell (and other shells), and has a variety of flags to choose what to display and how to format. This post shows how to list just the directories using ls.</p>Mon, 12 Oct 2015 21:08:00 GMTChris Hope's LAMP Blog