August 2011
17 posts
3 tags
Mike The Coder: How to kill a dead SSH session... →
mikethecoder:
I have a bad habit of leaving an open SSH session sitting there and then coming back to it to realize that it’s dead. In the past, I’ve just killed the terminal to end it. Here’s a better way:
<Enter>~.
That’s the enter key followed by the tilda character followed by a period.
To explain, SSH has a few different escape sequences. To see them, run~? while in an open SSH...
4 tags
Linux tip: key-combo for reboot
You may know, that a hardware reset is a bad idea. But when your linux is frozen, and ctrl+alt+del has no effect, this is what you should do as next. Works every time.
To trigger a safe reboot hit this combo:
Hold <alt gr>+<print> and then hit the following chars: reisub
With REISUB the following magic SysRQ Commands are send:
R: Switch the keyboard from raw mode to XLATE mode
...
Implementing Regular Expressions →
bash hack of the day
If you want to avoid that a single command appear in your bash-history, just add a space in front of the command.
For example: ’ mysql -pasdf123foo’.
5 tags
Ghostbuster: Easier headless testing with... →
thechangelog:
Ghostbuster from Joshua Hull from the Padrino team aims to make it even easier to get started with PhantomJS. Just by installing the gem, Ghostbuster will download and configure Phantom JS so you can write beautiful tests in CoffeeScript.
phantom.test.root = "http://127.0.0.1:4567" # you must specify your root.
phantom.test.add "Simple index", -> # this adds a test
...
2 tags
3 tags
Iñigo Quilez - strawberry :: fractals, computer... →
netzdinge:
Note: Some good Articles about demo-coding, usefull math, algorithms, rechniques and hacks. Also a framework for 1k and 4k Demos.
you will find a lot of resources, materials, demos, tricks and hacks about rendered computer art .. the page of Iñigo Quilez aka rgba aka the wonderkid
2 tags
Your problem with Vim is that you don't grok vi →
onethingwell:
This run-though of some vi and Vim essentials has been doing the rounds over the last couple of days—well worth reading if you’ve taken either editor for a spin and ended up confused or frustrated (which is usually what happens when anyone tries vi/m for the first time!).
The section on the insane flexibility of copy ‘n’ paste in the two editors is particularly good—the moment I...
4 tags
How to Report Bugs Effectively →
How to Report Bugs Effectively
3 tags
Haskell Workshop - hacklab.to →
Skills Required:
30 years PHP experience 50 years experience with PHP
Haha, no problem ;)
respawn_redux →
interesting paper about different (and evil) alternative cookie technics which are used today by different commercial websites
JavaScript is Assembly Language for the Web: Part... →
dhotson:
Some folks think that saying “JavaScript is Assembly Language for the Web” is a totally insane statement. So, I asked a few JavaScript gurus like Brendan Eich (the inventor of JavaScript) and Douglas Crockford (inventor of JSON) and Mike Shaver (Technical VP at Mozilla). Here is our private email thread, with their permission.