Diary of an Emacs tragic

Diary of an Emacs tragic

  • About Me
    • GPG Public Key
  • Printing from Windows to a samba shared CUPS-PDF printer sometimes fails

    Printing from Windows to a samba shared CUPS-PDF printer sometimes fails

    I had this problem where prints to our CUPS-PDF printer sometimes failed to be processed on the server. The job would disappear as though it has been printed but nothing else would happen. Printing from the same application to a Windows based PDF printer, and then printing the resulting PDF via Adobe Acrobat to the […]

    May 1, 2014
  • automysqlbackup ERRORS REPORTED: MySQL Backup error Log Warning: Skipping the data of table mysql.event. Specify the –events option explicitly.

    automysqlbackup ERRORS REPORTED: MySQL Backup error Log Warning: Skipping the data of table mysql.event. Specify the –events option explicitly.

    I was receiving email error messages from cron like this from my autbackupmysql on a regular basis: ERRORS REPORTED: MySQL Backup error Log for somehost.com.dxa – 2014-05-01_06h26m — Warning: Skipping the data of table mysql.event. Specify the –events option explicitly. It turns out that mysqldump now warns you if the events table is not being […]

    May 1, 2014
  • increase wordpress Maximum upload file size beyond 8MB.

    There is at least three places you need to set the maximum upload file size in WordPress. First check your php.ini upload_max_filesize = 64M; post_max_size = 64M; Restart Apache after making this change. Then if you are using WordPress multi-site, you need change a setting in the backend. Visit My Sites -> Network Admin -> […]

    April 29, 2014
  • How to create debian init.d startup script

    How to create debian init.d startup script

    From time to time I need to create an init.d startup script for a program that is not part of the default debian distribution. I’ve always found it unnecessarily fiddly to create a new script. The other day I came across naholyr’s gist, a script to make init.d scripts. There were a few problems with […]

    April 29, 2014
  • Progress on my clock

    Progress on my clock

    I finally wired up the big LEDs and made an acrylic mounting board for all the parts. I laser cut holes in the board and tapped them with an M3 tap. That allowed me to mount the circuit boards directly to the mounting board. I used Dupont connectors to wire everything up which gives a […]

    April 24, 2014
  • How to factory reset a Yealink phone

    If you ever need to do a factory reset on a Yealink phone, maybe if you forgot the admin password, simply hold the OK key down for 10 seconds and follow the prompts. Thanks to Langineers for that tip.

    April 18, 2014
  • Set group permissions for whole subdirectory with ACLs

    Set group permissions for whole subdirectory with ACLs

    Sometimes you want to preserve file permissions under subdirectories in linux with ACLs but that’s not the whole story. If you want multiple users to be able to read and write to these files, and the group permissions to stay correct, you need to set ACLs and also group +s on the subdirectories. This is […]

    April 18, 2014
  • LED Clock Project

    LED Clock Project

    For a long time I have wanted a bedside clock that would keep accurate time via some external mechanism, and would take care of daylight savings automatically. I eventually decided that the best approach would be to use a wifi enabled device and use the NTP protocol for keeping the time accurate. After wasting several […]

    April 15, 2014
  • My uranium mug is not radioactive

    My uranium mug is not radioactive

    My new uranium mug isn’t radioactive

    April 9, 2014
  • Pull a backup from a remote host with ssh and tar

    Sometimes you might need to copy a whole directory from a remote host, but the remote host does not have enough space to tar the whole thing up and then sftp it off. The solution is to tar/bzip the directory and stream it directly to your local host: ssh root@remotehost ‘tar cjf – /path/to/somedirectory’ | […]

    April 7, 2014
←Previous Page
1 … 3 4 5 6 7 … 23
Next Page→

Diary of an Emacs tragic

Proudly powered by WordPress