July 2011
1 post
2 tags
The Macbook Upgrade Project (SSD 120GB, HD 1TB)
Let’s see what’s in the bucket: SSD, 120 GB, Intel, 320er Series HD, 1 TB, Western Digital, WD10TPVT Optobay Kit The hope to gain enough performance to run Final Cut Pro X at a decent speed … and a first Gen Unibody Macbook Open & Remove HD & Optobay Oh, oooh… While the 1TB Western Digital with its 1,3cm fits perfectly well into the standard...
Jul 16th
16 notes
June 2011
2 posts
1 tag
[Git] Branching
Create new branch git branch feature Check available branches git branch Switch to branch git checkout feature add/commit files, will be only visible in branch Merge go to main branch and merge git checkout master git merge feature Remove branch git branch -d feature
Jun 17th
2 tags
[htaccess] 301 Redirect a Feed
When the address of your RSS Feed changes (e.g. when switching from Drupal to Wordpress .. ;), add the following line at the end of your .htaccess to create a 301 redirect. redirect 301 /oldfeed.xml http://mynewblog.address.com/feed/ This can be read and understood by all feed readers as well.
Jun 3rd
May 2011
2 posts
3 tags
[Bash] Screen
Bringing window management and multitasking to your terminal, just the good parts.  screen - start screen CRTL + a, c — Create new screen CTRL + a, 0…9 — Show certain screen — CTRL + a, S — Split screen CTRL + a, TAB — Toggle active split screen Project Page
May 31st
3 notes
1 tag
[E-Mail] Disposable E-Mail Addresses for Testing
If you frequently test online services or website forms you might have use for disposable E-Mail addresses. Here are two methods I use …  Gmail  Address: yourgmailaddress+customadd@gmail.com Inbox: Your Gmail Inbox. Mailinator  Address: yourcustomname@mailinator.com Inbox: Via mailinator.com website or direct link:...
May 31st
April 2011
4 posts
3 tags
[Textmate] Shortcuts
My currently most used Textmate shortcuts: SHIFT + CTRL + d Duplicate line SHIFT + CTRL + k Remove line ALT + CMD + 5/6 Change line Indentation SHIFT + CMD + 7 Comment/uncomment selection CTRL + CMD + LEFT/RIGHT/UP/DOWN Move selected text Select multiple rows, ALT Switch to column selection mode CTRL + w Select word ESC Auto-complete word ALT + CMD + LEFT/RIGHT Switch between open...
Apr 7th
10 notes
2 tags
[Vim] 3 Useful Enviroment Variables
:syntax enable Enable syntax highlighting :set numbers Display line number :set nowrap Disable text wrapping at the end of a line
Apr 6th
1 tag
[Wordpress] Custom Landing Page Templates
Quickly create a custom Landing Page Template for specific page by simply adding the slug or id to the template file name page-slug.php This works for static pages as well as for custom author pages, category pages, tags pages. Find a good overview here.
Apr 5th
3 tags
[WinSCP] Desktop Shortcut
WinSCP: Shell Icon | Desktop Icon to create a desktop shortcut to the selected session.
Apr 4th
4 notes
January 2011
3 posts
2 tags
[Mac] Delete Files from a USB Stick Directly...
1. Hit the terminal and go to the path of your USB stick, e.g. cd /Volumes/USBStick 2. Delete existing Trashfolder rm -rf .Trash 3. Create a new empty Trash file touch .Trash Next time you try to delete a file on your USB stick Mac OS will try to create a .Trash folder but won’t be able to because it already exists: A dialog will pop up the gives you the option to delete the...
Jan 30th
2 tags
[rsync] Sync 2 Folders the Quick Way
- also nice for copying huge amounts of data with the ability to continue an aborted copy effort. Hit the terminal and … rsync -va --delete --progress /source/folder /target/folder v verbose a include subdirectories —delete also delete files that where removed from the source folder (for a 1:1 mirror) —progress show live progress display
Jan 27th
2 tags
[Drupal] Drush - Managing & Updating Drupal...
When you create a new website based on Drupal and wait a few weeks you will find that your #1 enemy of maintenance is the process of updating modules. The Drupal backend (given that your Update Status module is enabled) does a great job of notifiying you of new updates of your system but functions very poorly to help you implementing those. A very nice helper for this is Drush a command line...
Jan 27th
December 2010
1 post
3 tags
PDF viewer (and password remover)
MUPDF
Dec 27th
October 2010
2 posts
2 tags
[Processing] Using Textmate as the ultimate IDE...
I just realized how to use Textmate as IDE for Processing. Download and install the Processing Textmate Bundle Create a new .pde document and save it in your sketches folder To run your sketch save it (CMD + S) and run it (CMD + R).  A processing window shows up. Find more information on the Processing Bundle here or on their Github page.  
Oct 25th
1 note
4 tags
[Textmate] Zen Coding - a super fast way to create...
Zen Coding is a really simple shortcut syntax for the quick creation of HTML structures. Find bundles and integrations for all major text editors and IDEs here. The best thing of Zen Coding is, that the syntax is very easy to learn and immediatly feels very natural to use. When you got it running, you basically just have to remember the shortcuts CMD + E for Expanding tags and CMD + SHIFT + a...
Oct 7th
September 2010
2 posts
2 tags
[Drupal] Creating custom JSON/XML feeds of CCK...
What I want is to create a custom JSON/XML feed to serve external websites and services with content. While you can quickly setup a view showing a custom data set as a page, you cannot do the same to create JSON or XML/RSS feeds. The problem is, that in Views2 the feed display is surprisingly limited to work in Node mode which is not helpful if your information is stored in custom CCK fields....
Sep 18th
4 tags
[Photoshop] Resize animated GIFs with Photoshop...
It’s just not possible, at least not with the CS4 version. You can open the GIF, but the opening dialog will surprisingly tell you that it will only open one frame and you will loose the rest. Well, thanks. A workaround: Open the GIF with QuickTime 7 Save it as a Quicktime movie (.mov), choose “self-contained” as option Open the .mov with Photoshop Now Photoshop opens...
Sep 18th
August 2010
3 posts
3 tags
[SSH] A painless one click SSH Terminal Desktop...
I wanted a Desktop shortcut to quickly open PuTTY SSH Terminal sessions to a remote Unix web server and auto login without the username input and password protection. What sounds simple needed some steps to setup. Here’s what I did: 1. Generate keys To achieve the auto login on a SSH connection you need to create a public and a private encryption key and implement them at the...
Aug 20th
2 tags
[Productivity] The Pomodoro Technique
Here’s a quick introduction to the “Pomodoro Technique” by Francesco Cirillo, a method to increase motivation and to use time more efficiently.  Idea The basic idea is to split your work time into repeating 30 minute cycles. 25 minutes worth of pure undistracted work focussing on not more than 1 subject 5 minutes break As soon as you sucessfully completed...
Aug 6th
4 tags
[E-Editor] Hidden Proxy Settings
It took me a long time to find this, so I wanted to share: If you get an error message when you try to update bundles in the E-Editor it might be because you are behind a proxy. Unfortunately there’s no setting in the GUI for that. You need to create a new variable on the command line: set http_proxy=win_username:win_password@proxy.server.name:port [via]
Aug 3rd
January 2010
1 post
4 tags
[Outlook] Top 3 Shortcuts
nice for quick inbox processing … CTRL + SHIFT + V = move mail to folder (especially helpful when following basic GTD/Inbox Zero principles) CTRL + R = reply message CTRL + RETURN = send message
Jan 20th
October 2009
1 post
1 tag
Topics to come
Blender E-editor - shortcuts Textmate - shortcuts Mac OS X - shortcuts GIT - quick start CakePHP, Drupal tips Using Wake on LAN UNIX bash scripts, SSH quick access, screen, rtorrent, vim
Oct 27th
September 2009
5 posts
3 tags
[E-Mail] Top 7 Gmail Shortcuts
… after some months of heavy gmail using I ended up using the following keyboard shortcuts covering most of the actions needed for the daily dose of e-mail processing. Selecting j move focus forward through your mail list (note the tiny triangle next to the checkbox) k move focus backwards x select focused mail Processing e archive mail # delete mail v move mail to...
Sep 16th
3 tags
[Backup] Automating Daily Database Backups
… assuming you want to backup a mysql database and you have the rights to setup cronjobs on your webserver: download and install mysqldumper take a look at the config section in mysqldumper to secure access to the script, auto split backup files bigger than x MB and to auto delete backups after exceeding a certain number of backups (if you don’t have unlimited webspace) ...
Sep 15th
8 notes
4 tags
[Network] Finding Open Windows Terminal Servers
something you could do when you are bored and you are sitting around in a foreign network … $namp 10.0.0.* - get all clients in your network $nmap -p 3389 10.10.0.* -oG terminals.txt - get all machines with a open windows terminal, “oG” makes the output ~greppable~ $cat terminals.txt | grep open - just show lines with open ports … $cat terminals.txt | grep...
Sep 15th
3 tags
[Bespin] Collaborate on Texts and Code with Bespin
bespin is a great tool for live collaboration in your browser. It’s easy to start but you need some command line action to pull some chains together: sign up at https://bespin.mozilla.com/ open sidebar / collaboration - turn it on :) open command line, click on the right icon in the header follow <username> - start following another user share @<projektname>...
Sep 14th
Sep 6th