Skip to content

Instantly share code, notes, and snippets.

Avatar

Mateusz Landsil

View GitHub Profile
View christmas_tree.sh
#!/bin/bash
# simplesy way to run it will be with curl, you can replace direct URL with HRL shortener
# curl <RAW link> | bash
# curl https://gist.githubusercontent.com/Landsil/81209a90884284d2356fc311ef67e5b6/raw/c40001ad2703edc1cd572fa4531e5f33e159013b/christmas_tree.sh | bash
trap "tput reset; tput cnorm; exit" 2
clear
tput civis
lin=2
View Auto-refresh bookmarklet that restores scroll position
/* origin: http://www.google.com/support/forum/p/Chrome/thread?tid=1a37ccbdde5902fd&hl=en
this version restores vertical scroll position after reload */
javascript:
timeout=prompt("Set timeout [s]");
current=location.href;
if(timeout>0) {
setTimeout('reload()',1000*timeout);
}
else
View keybase.md

Keybase proof

I hereby claim:

  • I am landsil on github.
  • I am landsil (https://keybase.io/landsil) on keybase.
  • I have a public key whose fingerprint is 4687 2275 794A B92A 28CF 5784 342E 4D26 06FB F169

To claim this, I am signing this object: