Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

May 08 2012

(via FFFFOUND!)


(via FFFFOUND!)

May 01 2012

(via FFFFOUND!)


(via FFFFOUND!)

April 27 2012

Sharing history in zsh

One feature of any shell that is immensly useful is the history. Any command you made gets recorded, and you can then retrieve it later on with various commands (my favorite: Ctrl-R, which allows you to search through your history).

At any given time, I usually have anywhere between 10 and 20 terminals open somewhere (not counting remote sessions). Thanks to zsh I can share every command I enter between all those terminal after I enter it and make it accessible via the history.

This means I no longer have to remember which terminal I entered my command in, all I have to do is search the history.

How to enable this

In your .zshrc:

# Appends every command to the history file once it is executed
setopt inc_append_history
# Reloads the history whenever you use it
setopt share_history

April 26 2012

REPORTTIME in zsh

REPORTTIME is a nifty feature of zsh. If you set it to a non-negative value, then every time, any command you run that takes longer than the value you set it to in seconds, zsh will print usage statistics afterwards as if you had run the command prefixed with time.

So, for example, if we run rake to rebuild any out of date files in Rubinius, we get this:

~/Development/Rubinius ☺ » rake 
[ … Lots of output …]

Finished in 136.926808 seconds

3866 files, 21497 examples, 59187 expectations, 0 failures, 0 errors
rake  160.78s user 26.49s system 81% cpu 3:50.20 total

(Yes, my prompt has a smiley in it. It turns sad and red when the exit status is non-zero)

How to enable this

Since this only makes sense in interative shells, I set this value in my .zshrc:

# Report CPU usage for commands running longer than 10 seconds
REPORTTIME=10

(See this on GitHub)

April 22 2012

cypher
Reposted fromdocanonymous docanonymous viacarfreitag carfreitag

April 20 2012

(via FFFFOUND!)


(via FFFFOUND!)

April 17 2012

(via FFFFOUND!)


(via FFFFOUND!)

April 11 2012

(via FFFFOUND!)


(via FFFFOUND!)

April 06 2012

Photo


March 29 2012

cypher
Play fullscreen
Eat It Don't Tweet It by American Hipster + Key of Awesome

March 26 2012

cypher
Play fullscreen
The Shoes - Time To Dance
Reposted byOddy Oddy
(via Michael Lopp / Pinterest)


(via Michael Lopp / Pinterest)

March 25 2012

(via FFFFOUND! | EIKNARF)


(via FFFFOUND! | EIKNARF)

(via Pinterest / Home)


(via Pinterest / Home)

March 21 2012

(via FFFFOUND!)


(via FFFFOUND!)

cypher
Play fullscreen
2011 earthquakes WORLDWIDE plotted and animated (with sound intensity)

March 19 2012

cypher
If you’re plagued with insufferable case of guilt for people “less fortunate” than you, then there’s way nobler things you could be doing with the $650. If not, and you accept that your money goes down the chain where everyone involved benefits from it, then you can enjoy that magical device you have—but you will be wise to not have your pitchfork and torch ready the next time somebody points a finger.
Made in China
Reposted bysofast sofast

March 18 2012

cypher
Play fullscreen
The (Totally) Phantom Menace
Reposted byworm23psyentist

March 16 2012

cypher
Play fullscreen
David Brown | NUIverse | 2012

March 15 2012

cypher
0025_59ab_500
cl.ly
@lessig: The German rights agency GEMA has blocked my TED Talk in Germany http://t.co/JLNYYxIr Hey GEMA: LAß MICH LOS! http://t.co/LJmMsRWn
Reposted bybigbear3001zerocool911chatohBlackForestCowboycptrickyouamleyrerdatenwolfn0gdrseilzugsofiaslolleTizanordernastridmynniabrightbytetcmReisagainstpiratenmaatRagamuffinquantenhorstnichimtaktkonicheathaL337hiumyetztflopsboxsashthesplashekeliasHoazlbrianstormtiefpunktBedikorenanaBarnacleBoypaketmaexphilmacflyDellfringerlossosFreXxXathalisapertureLogHiMaDerOrwischersmrqdtkuhkatzLanouxsteadfastxDowdlesnetpoliticsk1r4n3ry5elandresjbeancrispy02mydafsoup-01krekkmondkroetenaturalismustomendeinneuerfreundNoizanicapicelladrseilzug
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.