Education

W: GPG error: http://repo.mysql.com trusty InRelease: The following signatures were invalid: KEYEXPIRED 1487236823 KEYEXPIRED 1487236823 KEYEXPIRED 1487236823
This solved my problem sudo apt-key adv --keyserver pgp.mit.edu --recv-keys A4A9406876FCBD3C456770C88C718D3B5072E1F5 ...
View
MySQL and the Leap Second, High CPU and the Fix
So, MySQL seemed to be faring just fine during and after the leap second. There were no big problems or catastrophic fai...
View
pipeline.exceptions.CompressorError: /usr/bin/env: yuglify: No such file or directory
You must install yugliy with the-gas you specified above sudo npm -g install yuglify. Without this the binary will no...
View
Remove passphrase (password) from private RSA key
It is there secure yet annoying, to have a password encrypted rsa key. You want to automatically login and/or run remote...
View
Git Delete Last Commit
Git Delete Last Commit Once in a while late at night when I ran out of coffee, I commit stuff that I shouldn't have. Th...
View
How to find elastic search version?
Just send: curl -XGET 'localhost:9200' And ElasticSearch will return its version. Source :http://elasticsearch-users.1...
View
Find out which files are trying to load the above extensions
find out which files are trying to load the above extensions: $ grep -Hrv ";" /etc/php5 | grep -i "extension=" Examp...
View
MySQL said: #1194 - Table 'tablename' is marked as crashed and should be repaired
Use: mysqlcheck -u root -p --auto-repair --check --all-databases (Password prompted) Enter MySQL password for user ro...
View
This request has been blocked; the content must be served over HTTPS.
If you got a issue like this : Mixed Content: The page at https://domain.com/ was loaded over HTTPS, but requested an...
View
How to dump only specific tables from MySQL?
If my database has 10 tables and I want to dump only 3 tables, is it possible with mysqldump command? Solution : Usage:...
View
How To Install an SSL Certificate from a Commercial Certificate Authority
Introduction This tutorial will show you how to acquire and install an SSL certificate from a trusted, commercial Ce...
View
hide keyboard in iphone safari webapp
Here's a small code snippet that always hides the keyboard whenever the focus is in an input or textarea field and the u...
View
Missing date & time applet from top Unity panel
Having date and time gone on Ubuntu 13.10 beta, after next reboot, this command solves the problem: killall unity-pane...
View
How to add an annotation on distinct items?
Solution with added "distinct=True" on annotate. This solutionundocumented on django documantations Example : packages...
View
MySQL Import/Export Progress Bar
MySQL command line progress can be monitored using the terminal-based “Pipe Viewer” pv. Import pv /path/to/sqlfil...
View
SSLError: hostname 'api.website.com' doesn't match u'my.website.com'
How to disable hostname checking in requests python You need both disabling warnings in urllib3 and setting verify to Fa...
View
Johnny cache Exception Value: error 10 from memcached_set: SUCCESS
For this issues you can fixed by add -I on memcached.conf 1. sudo nano /etc/memcached.conf 2. -I 10m 3. sudo service me...
View
Backup gem 4.x requires different template
because there is no restraint for the version of the backup gem it will always install thelatest version. and since ver...
View
How To Install Elasticsearch on an Ubuntu 14.04
Elasticsearch is a platform for distributed, RESTful search and analysis. It can scale as needed, and you can get starte...
View
How To Install and Use PostgreSQL on Ubuntu 14.04
Installation sudo apt-get update sudo apt-get install postgresql postgresql-contrib Source : https://www.digitalocean....
View