Programmer's Tipshttp://aics-app.sakura.ne.jp/rss_share/201505051430751672664English blog sites, which contain tips help programmingDid you run git update-server-info on the server?
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/b0CNR2hajFU/
Thu, 03 Dec 2015 23:00:00 GMT<p>This post looks at the error "fatal: https://domain/project/filename-plates.git/info/refs not found: did you run git update-server-info on the server?" when trying to access a git repository.</p>Thu, 03 Dec 2015 23:00:00 GMTChris Hope's LAMP BlogLocale issues with Zend Lucene search
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/tTZxIvfPDtk/
Wed, 02 Dec 2015 23:00:00 GMT<p>We use Zend Lucene Search on a PHP ecommerce website and ran into some issues where records added to the search index from the website interface weren't the same as when created from the command line. It turned out to be a locale issue and setting the locale fixed the problem.</p>Wed, 02 Dec 2015 23:00:00 GMTChris Hope's LAMP BlogSetting a column as a UUID/GIUD in MySQL - replication safe
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/ATGKXpquh0o/
Tue, 01 Dec 2015 23:00:00 GMT<p>I recently looked at <a href="http://www.electrictoolbox.com/mysql-guid-uuid-default-column/">how to default a column as a UUID/GUID in MySQL</a> using a trigger, but it's not replication safe when using statement based replication. This post looks at an alternative to using triggers by using a variable instead.</p>Tue, 01 Dec 2015 23:00:00 GMTChris Hope's LAMP BlogHow to show a MySQL warning that just happened
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/s1IhWOuJ9I4/
Mon, 30 Nov 2015 23:00:00 GMT<p>You've just run a query in MySQL and it tells you "Query OK, 1 row affected, 1 warning (0.01 sec)" but not what the warning is, so how do you know what the warning was for the query that was just run?</p>Mon, 30 Nov 2015 23:00:00 GMTChris Hope's LAMP BlogHow to default a column as a UUID/GUID in MySQL
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/Je3KG0GXCyE/
Sun, 29 Nov 2015 23:38:00 GMT<p>MySQL does not yet support setting a column's default value using a function (at least not yet as of version 5.6) but you can use a trigger instead. This post shows how to set a column to a UUID/GUID by default in MySQL using a trigger.</p>Sun, 29 Nov 2015 23:38:00 GMTChris Hope's LAMP BlogEnable & disable WordPress plugins from the command line
http://feedproxy.google.com/~r/ElectricToolboxBlog/~3/GowJo6X4hrk/
Thu, 26 Nov 2015 23:00:00 GMT<p>Sometimes installing or upgrading a WordPress plugin breaks both the frontend of your website and the WordPress admin too, making it impossible to disable the plugin with the user interface. If you have command line access, WP-CLI to the rescue!</p>Thu, 26 Nov 2015 23:00:00 GMTChris Hope's LAMP BlogUpdate 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 Blog