Joined December 2012
·
Posted to
Remove all your Ruby gems "like a baws"...
over 1 year
ago
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
Altruist
Increase developer well-being by sharing at least 20 open source projects
Komodo Dragon 3
Have at least three original repos where Java is the dominant language
Forked
Have a project valued enough to be forked by someone else
Komodo Dragon
Have at least one original repo where Java is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Charity
Fork and commit to someone's open source project in need
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
Raven
Have at least one original repo where some form of shell script is the dominant language
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