Posts from 2010-10

Install TaskFreak!

http://www.cyberciti.biz/faq/mysql-change-root-password/
http://bueltge.de/wk-installation-taskfreak/121/
http://www.taskfreak.com

Here is how you can install the TaskFreak! System:

# Get the Taskfreak bundle from http://www.taskfreak.com/original
tar xzf /tmp/taskfreak-multi-mysql-0.6.tgz -C /var/www
mv /var/www/taskfreak-0.6.4/ /var/www/taskmanagement

Then create the database:

echo "CREATE DATABASE taskfreak;" | mysql -u root -p
echo "GRANT all ON taskfreak.* TO 'taskfreak'@'localhost' IDENTIFIED BY 'passwordXYZ';"...

Read on

Task Management Tools

Task Management Tools with a Graphical User Interface

http://forum.ubuntuusers.de/topic/aufgabenverwaltung-mit-task-coach/

Web Based Task Management Tools

Calendar Tools

For the Command Line

Read on

Fix mapping of non-Apple keyboards

remapping the Command and Option key

If you use a non-Apple external USB keyboard you will notice that the Windows key represents the ⌘ Command Key and the Alt key represents the ⌥ Option key. To invert this key mapping, open the System Preferences → Keyboard → Modifier Keys → Unknown...

Read on

install latest version of non-free Virtualbox

Installation:

sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian maverick non-free"
wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-3.2

I got an error, so I had to run

sudo apt-get clean

and delete the following line from my /etc/apt/sources.list:

deb-src http://download.virtualbox.org/virtualbox/debian maverick non-free

resources

...

Read on

disassamble Mach-O (Mac OS) binaries

also check http://dl.dropbox.com/u/34351/NSConferenceNotes.txt (or google it, it's also gisted on github) for more ideas

...

Read on

Chinese input using iBus

Starting with 10.04 lucid and also on 10.10 maverick you should switch over from scim to the ibus input method. This is described in the links stated below.

resources

...

Read on

Have a Deep Look into the File System

http://fscons.org/embedded/workshop-file-system-formats

Tools you might want and/or need:

...

Read on

Install Latest Version of WINE

http://www.winehq.org/download/deb

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.3
...

Read on

Show Folder Path In Finder Title

http://www.mactricksandtips.com/2008/02/top-50-terminal-commands.html

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
...

Read on

Upgrade to Ubuntu Maverick using the CD

https://help.ubuntu.com/community/LucidUpgrades#Upgrading%20Using%20the%20Alternate%20CD/DVD

  1. Download the alternate installation CD
  2. Burn and insert it or mount it using sudo mount -o loop ~/Desktop/ubuntu-10.04-alternate-i386.iso /media/cdrom0
  3. Follow the on-screen instructions or run gksu "sh /cdrom/cdromupgrade"
...

Read on

Auto refresh PDF as it is being changed

using Preview

http://www.macosxhints.com/article.php?story=2006010200141989

use the following AppleScript and save it as ReloadPreviewDocument.scpt

(*
Reload Preview Document 1.0
By Trevor Harmon <trevor@vocaro.com>

Based in part on the "Checking Accessibility Status" script by Apple.
http://www.apple.com/applescript/uiscripting/01.html
*)

on UIscript_check()
    -- get the <span...

Read on

Local SOCKS-5 Proxy by only connecting via SSH

http://daniel.molkentin.de/blog/archives/96-SOCKS-Proxy-via-SSH.html

ssh -D 8080 someuser@somecomputertouseasgateway

then setup the browser on this machine to use localhost:8080

...

Read on

Shortcut to Access the Preview Application from Terminal using AppleScript

If you ever wanted to open PDF, JPEG, PNG files etc.

#!/bin/sh
# A simple bash script that uses Applescript to
# open multiple files in Preview. For example:
# "preview hello.png world.gif *.jpg"

if [ -z "$*" ]; then
 ...

Read on

Quick Look from Terminal

We as Mac users know that the space bar reveals "Quick Look" the fast preview for folders and files on Mac OS X. But how can you have a "quick look" at a file when using the terminal? The anser is the following command:

qlmanage -p the.file.in.question

resource

http://www.macosxhints.com/article.php?story=20100712090451517

...

Read on

denyhost

http://denyhosts.sourceforge.net/
http://www.heise.de/security/artikel/SSH-vor-Brute-Force-Angriffen-schuetzen-270140.html

denyhost can help keep out unwanted guests from your ssh server.

/etc/hosts.deny:

#
# /etc/hosts.deny
#

ALL: ALL: DENY

# End of file

/etc/hosts.allow:

#
# /etc/hosts.allow
#

sshd: ALL EXCEPT /etc/hosts.evil

# End of file
...

Read on