Month: December 2012

  • Todo.txt – Insert repeating tasks v1

    (Not tested extensively). A script to add todo’s to todo.txt. Add a crontab each dat at 0:00 with the following script: #!/bin/bash SCHEDFILE=$HOME/todo/scheduled.txt TODOFILE=$HOME/todo/todo.txt # Look for all date types in scheduled for RAWDATE in $(egrep -o “^[a-zA-Z]*” $SCHEDFILE); do # Format date types for date DATESTR=” for str in $RAWDATE; do DATESTR+=”%$str”; done #…

  • Use a new ttf font in Fedora 17

    First, find the dir you can put the font: $ grep dir /etc/fonts/fonts.conf . If it lists ~/.fonts , create the /home/username/.fonts dir Put the ttf file in the ~/.fonts directory < Rescan: $ fc-cache done.