Joined December 2012
·

ben

seawolfsanctuary
·
Southsea, UK
·
·
·

Posted to Fallback SVG to PNG in img element over 1 year ago

Just yesterday I was trying to achieve this in Rails, with a SVG or PNG in a link. I ended up using one of the last two options suggested here: http://www.webdesign.org/html-and-css/tutorials/ways-to-embed-a-clickable-svg-logo-into-your-website.21984.html

If you're using RVM, see:
https://rvm.io/gemsets/emptying/

Posted to A better way to tail logs over 1 year ago

I use screen, so can normally scroll up a bit, but I imagine this will go all the way back to the beginning of captured output rather than the scroll-back buffer. Neat!

Posted to Execute previous commands over 1 year ago

You can use the last command with two exclamation marks. It also outputs the full command with the exclamation marks replaced, just to show you. Below is an example with whoami executed by the user seawolf:

$  whoami
seawolf

$ sudo !!
sudo whoami
[sudo] password for seawolf: **********
root
Achievements
100 Karma
1,052 Total ProTip Views
Interests & Skills