Twopcharts
Favorite Tweets on TwitterWhile we are making some adjustments, we expect to be back online soon!

Unfortunately, after 5 years of providing you with Twitter data, we were now informed by Twitter that Twopcharts is suspended from interacting with the Twitter API for violating the Twitter Terms of Service. At this moment we do not know if and when this situation will be remedied, but for the moment we cannot provide you with data and analytics from Twitter.

We are very sorry about this situation and the inconvenience it is causing. We hope the situation can be resolved soon.

You can check up to the last 200 tweets that are favorited by any unprotected Twitter user.
@
You can also check out this feature on our mobile website
ImageNameLocationTwitter sinceLinks
Philipp HolziPhone: 48.009489,7.7679692009-04-28
@ePex2k91,972 days
Nerd, Geek, Papa von einem Wundervollen Sohn, Ziehpapa von noch einem tollen Jungen :) und bessere hälfte von @Athenuvielle
FollowersFollowingTweetsListsFavorites
20918111,35916810
We found 192 favorite tweets.
Alice Atmega @chaotin
fbcdn-sphotos-c-a.akamaihd.net/hphotos-ak-xpa…
5d               
3
3
Manu @manuspielt
Meine Damen und Herren, sehr verehrtes Publikum! Ich präsentiere Ihnen: das einzig legitime Hochkant-Video der Welt: moby.to/ay2np5
8d               
7
DIE WELT @welt
#Apple hat Probleme mit seinem Livestream. Wer einen stabilen Stream der #Keynote sucht, wird bei uns fündig: welt.de/wirtschaft/web…
11d               
12
19
Thomas Fuchs @thomasfuchs
Client-side MVC, for when you need a website that's twice as slow but needs double the code, is really hard to test and impossible to debug!
15d               
112
145
manu @codePrincess
anybody solved this problem?
"Your project is too large.You have too many methods. There can only be 65536 methods per application" #android
22d               
5
11
Foti @DosOz42
"Fahr mal rechts, da kommt so ein Depp mit Lichthupe auf der Überholspur"

@.@ !?!

*MitOffenemMundHinterherGuck* pic.twitter.com/0lK1NNXq3j
23d               
730
575
Daniel // R.Age.D @R_Age_D
"Wie viel Arbeitszeit geht durch lahme Windows-PC verloren?" - "So viel wie Mac-User aufwenden, zu erzählen, dass Macs besser sind." Touché!
64d               
30
37
Command Line Magic @climagic
<Ctrl--> # Manual lists this as Ctrl-_ but Ctrl-- usually works too. Incremental undo of command line edits.
72d               
52
21
Command Line Magic @climagic
<Meta-#> # Comment out the current command from the beginning of the line. Faster than <Ctrl-a> then #.
72d               
63
22
Command Line Magic @climagic
<Meta-.> # Insert the last argument from the previous line in the command history into the current line. Different from !$.
72d               
46
14
Daniel Schauenberg @mrtazz
The video of my short talk at @GOTOamst about "Mobile CI at Etsy" is available now youtube.com/watch?v=OhconF…
78d               
5
1
Command Line Magic @climagic
cp -va IMG_{1050..1622}.JPG /media/usbdrive/ # Use brace expansion to copy range of images (IMG_1050.JPG through IMG_1622.JPG) to usb drive.
82d               
91
43
Command Line Magic @climagic
for vid in *.avi ; do mplayer -ao "pcm:file=${vid%%.avi}.wav:fast" -vo null "$vid" ; done # Fast extract audio track from a set of videos.
88d               
81
32
Command Line Magic @climagic
lsof -i TCP:80 # Show what processes are using port 80 either locally or remotely. Need to be root for unowned processes.
110d               
172
62
Command Line Magic @climagic
convert -size 1920x1080 plasma:fractal background.png # Create an HD color plasma image. Different each time. Uses ImageMagick
166d               
114
52
Command Line Magic @climagic
ack-grep --thpppt # Display an ASCII art cat. There, after 4 years I finally posted an ack command.
172d               
36
26
WM 2014 Fanblock @WM2014fanblock
Die awesomen Themen für heute Abend: heuteshow.zdf.de/ZDF/zdfportal/… #heuteshow
176d               
4
4
Epic Meal Time @EpicMealTime
Mini Epic Meal instagram.com/p/mEh3SLvsNB/
177d               
19
16
ゆこたん @yukotan
これみて会社の人と涙流して笑ってた pic.twitter.com/oeZlzo9YmP
178d               
7,008
6,208
Command Line Magic @climagic
"There is a band called 1023MB, but you haven't heard of them because they haven't made it to a gig yet." *Ta dit boom*
179d               
263
595
Robert @kventil
:D pic.twitter.com/71HdIB5DoN
181d               
8
14
Alvaro 阿尔瓦罗 @old_sound
PHP also has dependent types. What's the type of a zval? It depends #badumtss
193d               
28
55
iFunny Club @iFunnyDE
Mathematische Schönheit pic.twitter.com/zJWhYgMlh3
202d               
33
42
manu @codePrincess
garnelen in kokos curry sauce mit mangos und buntem gemuese :) mahlzeit! pic.twitter.com/rvCuQWcfUc
224d               
4
Deine Mutter @Deine_Mutter_
macht mehr Dreier als BMW und schluckt mehr als ein Siebener.
227d               
3
3
ɱartiɳ ɰebeɾ @web_martin
17" MacBook Pro (aus 2010, mit Beule) anyone?
Gerne auch ohne eBay.
ebay.eu/LuY6UA
228d               
1
1
Command Line Magic @climagic
last reboot # See when your previous reboots were.
233d               
52
38
Command Line Magic @climagic
github.com/harelba/q # q is a neat command that lets you treat column data like an SQL database. By @harelba
260d               
146
95
Command Line Magic @climagic
asciinema.org # Another site that allows you to share your recorded terminal sessions. Check out that ASCII fluid dynamics one.
260d               
88
57
Command Line Magic @climagic
shok.io # shok: An interesting new shell that narrows the gap between command line syntax and scripting. Thx @brimston3
261d               
80
42
Command Line Magic @climagic
ps wu -U someuser # An easier way of selecting the processes owned by someuser. Thanks @mattcen
265d               
86
27
Command Line Magic @climagic
find . -maxdepth 1 -type f -printf '%TY-%Tm\n' | sort | uniq -c # counts files in the current path by modification month. Thx @aSheepie
266d               
69
20
Command Line Magic @climagic
pidstat 2 5 # Show % reports of CPU statistics for every active task in the server at two second intervals.
266d               
103
18
Command Line Magic @climagic
sc # Terminal based spreadsheet program. Has some degree of vi key support.
266d               
73
19
Command Line Magic @climagic
identify -format "%f F:%[EXIF:Flash]\n" *.jpg | egrep " F:(0|16|24|32)$" # Show photo filenames where no flash was used. Req. Imagemagick
266d               
59
32
Command Line Magic @climagic
egrep -o "(Donnie|Frank|Roberta|Grandma)" story.txt |sort|uniq -c|sort -r # Search for names and build a frequency count for each name.
266d               
117
31
Command Line Magic @climagic
df -lP |awk '{sum += $3} END {printf "%d GiB\n", sum/2**20}' # Show the total space used on all your local disk partitions.
267d               
90
30
Command Line Magic @climagic
scrot - command line screen capture utility # Said in snobby tone: We're not a screenshot utility, we're a screen capture utility.
267d               
85
27
Command Line Magic @climagic
youtube.com/watch?v=GaAfhO… # New climagic video - Aliases vs Functions and where to use $1.
267d               
67
19
Command Line Magic @climagic
sudo shutdown -h 60 & mpg123 ambientmusic/*.mp3 # Play music for 60 minutes and then shutdown. Like sleep on alarm clock.
267d               
79
43
Command Line Magic @climagic
climagic.org/coolstuff/curs… # More cool visuals you can make in your terminal with your cursor.
267d               
57
21
Command Line Magic @climagic
eatwhat(){ echo "Tacos,Burgers,Pizza,Sushi,Salad,Pasta" | tr ',' '\n' | sort -R | head -1; } # Simple meal location decider function
267d               
50
45
Command Line Magic @climagic
less +F filename.log # Using +F option or pressing F in less is similar to `tail -f filename.log` but can use less's features. Thx @gazoombo
267d               
124
66
Command Line Magic @climagic
vim 'cl.cam.ac.uk/~mgk25/ucs/exa…' # Nice little demo of the potential of UTF-8 in plain text files.
267d               
75
33
Command Line Magic @climagic
stedolan.github.com/jq/ # jq is a command line processor for JSON data. Thx @brimston3
267d               
118
45
Command Line Magic @climagic
( xsel -b || pbpaste ) | hexdump -c # Give a character by character dump of that suspicious looking URL you just copied from e-mail.
268d               
65
27
Command Line Magic @climagic
bit.ly/OWlBEI # "You can tell a lot about a shell user by looking at their prompt." Thanks @brimston3
268d               
92
42
Command Line Magic @climagic
arping 10.0.8.5 # Like ping, but it uses an ARP request to check, which gets around host firewalls blocking ICMP. Only works on same subnet
268d               
62
28
Command Line Magic @climagic
alias hideprev='history -d $((HISTCMD-2)) && history -d $((HISTCMD-1))' # Hide the previous command you just ran and forgot to use space.
268d               
56
21
Command Line Magic @climagic
You can also use chmod's symbolic syntax (a+x, g+w, o-rwx, etc), but its just as important to know the numeric syntax.
268d               
33
16
Command Line Magic @climagic
Unix permissions3: If there are 4 numbers, the first specifies a special mode 1= sticky bit (think /tmp), 2 = setgid bit, 4 = setuid bit.
268d               
73
34
Command Line Magic @climagic
Unix permissions2: The full mode is 3 or 4 numbers. The last 3 specify the mode number for user, group and other people respectively.
268d               
64
32
Command Line Magic @climagic
Unix permissions1: 1 = execute, 2 = write, 4 = read. Add them up to get the permissions mode. ie. 6 = read/write, but not execute.
268d               
136
56
Command Line Magic @climagic
curl 'web.host/trip[001-105].jpg' -o "image#1.jpg" # Download images named trip001.jpg through trip105.jpg and save with different name.
268d               
126
29
Command Line Magic @climagic
ssh you@friendscomputer 'write friend <<<"You want to have lunch? -- $USER"' # Be sure nobody else sees private communication.
268d               
73
24
Command Line Magic @climagic
curl -Ns http://www.climagic\.org/uxmas/[1-12] # curl supports numeric ranges. This is the full 12 days of unix-mas from last year.
270d               
40
20
Regular Expression @RegexTip
Regex golf: regex.alf.nu via @Dokopuffs
271d               
32
20
Command Line Magic @climagic
bit.ly/gregsbashfaq # Greg's BASH FAQ is a great place for BASH questions and teaches you "the right way" to do things.
272d               
144
32
Command Line Magic @climagic
ionice -c 3 cp vm1.img vm1-clone.img # Copy a file using "ionice -c 3" to give it idle priority to reduce load on the system.
272d               
91
21
Command Line Magic @climagic
fdupes -r dir > dupes.txt # Find file duplicates in 'dir' recursively based on size and mdsum and log to dupes.txt. Thx @sizeof
272d               
132
32
Command Line Magic @climagic
One of the best fonts i had in a terminal: levien.com/type/myfonts/i…
273d               
170
37
Command Line Magic @climagic
exiv2 -k -F rename *.jpg # Use the exiv2 EXIF program to rename your jpg files according to their exif date/time data. Thx @mvuets
273d               
94
29
Command Line Magic @climagic
sleep 15m; notify-send "Go pick up the pizza" # Remember to go get the food. In X, this will send a notification to the screen.
273d               
102
49
Command Line Magic @climagic
qalc "145Gibyte / 1.35(Mibyte/second) to day" # How many days will it take to transfer 145GiB at 1.35MiB/sec? Use qalc! Thx @kkovacs
273d               
164
76
Command Line Magic @climagic
lsof -Pan -i tcp -i udp # show all listening TCP/UDP ports #guestweek
273d               
187
46
Command Line Magic @climagic
pv bigdump.sql.gz | gunzip | mysql # restore a #mysql dump with progressbar and ETA. Thx @SkyGreg
273d               
114
31
Command Line Magic @climagic
diff <(grep = config.txt) <(grep = config.txt-new) # Compare just the assignment lines of two config files that use = for value assignment.
274d               
63
13
Command Line Magic @climagic
ps aux | awk '{if ($8=="Z") { print $2 }}' # On Linux, print out a list of the process IDs that are in the zombie state.
274d               
75
24
Command Line Magic @climagic
exec -a vim nethack # Now if your boss runs ps aux on your system, they will think you're working, not playing a game.
274d               
70
44
Command Line Magic @climagic
HISTIGNORE="clear:bg:fg:cd:cd -:exit:date:w:* --help" # Colon seperated list of exact commands to ignore for storing in history in BASH.
274d               
101
30
Command Line Magic @climagic
dd if=/dev/cdrom of=image.iso ; mkdir CDroot ; mount -o loop image.iso CDroot ; cd CDroot # Mount a CDROM disc from its ISO image file.
274d               
77
18
Command Line Magic @climagic
zcat access_log*.gz |cat - access_log |awk '{print $7}' |sed 's/\?.*//' |sort|uniq -c|sort -nr # Get list of top URLs from all logs combined
274d               
65
19
Command Line Magic @climagic
t matrix # Imagine being able to run tail -f /dev/world (You can get the t command for twitter here: github.com/sferik/t)
274d               
58
12
Command Line Magic @climagic
"Death by command line": 7 results; "Death by windows": 33,900 results. Proof that the command line is safer.
274d               
66
206
Command Line Magic @climagic
github.com/klange/nyancat # Now you can run Nyan Cat at home, or over mosh, or in apple2, or in screen or.... Thx @kevinlange
275d               
47
38
Command Line Magic @climagic
git log --date=short --format="%ci"|awk '{print $1}'|uniq # Which days I've worked... By @d1eg0_garc1a
275d               
83
25
Command Line Magic @climagic
du -h . | grep "^[0-9\.]\+G" # # Find out which of your directories(below the current directory) occupy at least 1GB of space. Thx @xMorgawr
275d               
66
26
Command Line Magic @climagic
bit.ly/SFu5UU # 15 Greatest Open Source Terminal Applications Of 2012. Thanks @_c_o_n_t_a_c_t_
275d               
115
56
Command Line Magic @climagic
fliptable() { echo "(╯°□°)╯ ┻━┻"; } # Flip a table. Example usage: fsck -y /dev/sdb1 || fliptable
275d               
111
122
Command Line Magic @climagic
du -cms .[^.]*/ */ | sort -rn | head # Show the 10 largest directories at top level along with total usage. All in megabytes. Thx @listrophy
275d               
100
18
Command Line Magic @climagic
tail -F firewall.log |while read -r line;do printf "\033[38;5;%dm%s\033[0m\n" $(($RANDOM%255)) "$line";done # Random color per log line.
275d               
78
14
Command Line Magic @climagic
grep -r eval.*base64 source_code_tree # Detect 90% of pwn'd PHP code or thereabouts.
275d               
74
23
Command Line Magic @climagic
tcpdump -c1 -vv src host remote.host |egrep -o "TS val [0-9]+"|awk '{n=$3/100/86400; print n ", " n/2.5 " or " n/10 " days"}' # host uptime
275d               
59
18
Command Line Magic @climagic
ls -la --full-time | tr -s " " | cut -f6 -d " " | sort | uniq -c # Make histogram of dates of files in current directory. Thx @amenthes_de
275d               
88
23
Command Line Magic @climagic
find . -maxdepth 1 -daystart -type f -name '*.jpg' -mtime -$( date +%j ) -exec mv -v {} 2013/ \; # Move current year pics to 2013 directory.
275d               
69
25
Command Line Magic @climagic
echo 'man $(ls /usr/bin | shuf -n 1)| sed -n "/^NAME/ { n;p;q }"' >> ~/.bashrc # Learn a command on each new shell open.
275d               
78
35
Command Line Magic @climagic
du -sh */ | sort -h # Show directory size and sort by human readable amount (MB, GB, etc.). Requires fairly recent version of GNU sort.
275d               
72
28
Command Line Magic @climagic
awk '$9 == "404" {print $7}' access.log |sort|uniq -c|sort -rn| head -n 50 # list top 50 404's in descending order.
275d               
85
21
Command Line Magic @climagic
vim scp://user@server1//etc/httpd/httpd.conf # Edit a file on a remote server using vim from your local *nix desktop
275d               
169
118
Command Line Magic @climagic
sleep 3m; xmessage -nearmouse "Your tea is ready" # Quick popup notification command after 3 minutes. Thx @SnowRaptor
275d               
92
44
Command Line Magic @climagic
yes "$(seq 231 -1 16)" | while read i; do printf "\x1b[48;5;${i}m\n"; sleep .02; done # A rainbow in your shell.
275d               
89
48
Command Line Magic @climagic
wget -q -O- -U Mozilla "http://translate.google\.com/translate_tts?q=hello&tl=en"|mpg123 -q - # Say hello using a nice voice. Thanks @b1n
276d               
135
34
Command Line Magic @climagic
climagic.org/coolstuff/matr… # Create the "Matrix effect" in your terminal window. Try aliasing it to 2c1. ;-)
276d               
104
41
Command Line Magic @climagic
find / -size +100M -exec du -h {} \; # find all files larger than 100MB and display their human readable size. Thx @zeitgeist_y2k
276d               
153
24
Command Line Magic @climagic
bit.ly/vimscripting # Damian Conway of Perl fame wrote this great 5-part series of beginners tutorials on vim scripting.
276d               
132
45
Command Line Magic @climagic
while ! curl -m 10 http://www.example\.com/ ; do echo still down ; sleep 10 ; done ; play alarm.wav # Play alarm.wav once site is back.
276d               
100
29
Command Line Magic @climagic
while :; do echo wub wub wub | espeak --stdout | play - pitch -400 bend .3,-600,.3 ; done # CLI generated dubstep. Thx @Butter_Tweets
276d               
106
58
Command Line Magic @climagic
youtube-dl --max-quality 37 --title --playlist-start=1 --playlist-end=100 --ignore-errors youtube-playlist-url # Download playlist vids
276d               
120
38
Command Line Magic @climagic
longcmd ; [Ctrl-Z] ; bg ; disown ; screen ; reptyr $( pidof longcmd ) # Suspend and reattach a process to screen. Thx @KirilsSolovjovs
276d               
193
81
Command Line Magic @climagic
git log --author=$USER --format="- %B" --since=-7days --reverse |mail -s "What I've done this week" boss@company\.com # By @seidler2547
276d               
143
60
Command Line Magic @climagic
mv Picture{,-of-my-cat}.jpg # I find brace expansion useful for renaming files. This cmd expands to "mv Picture.jpg Picture-of-my-cat.jpg"
276d               
90
38
Command Line Magic @climagic
sudo tcpdump -n -w- | play --buffer 10000 -r 8000 -b 8 -c 1 -e signed-integer -t raw - band 2k # *Turn volume down* and listen to network.
276d               
203
111
Command Line Magic @climagic
while sleep $(($RANDOM % 10)); do eject -T /dev/cdrom;sleep 0.1; done # Keep a cat entertained for hours. Thanks @c_alan_zoppa
276d               
67
100
Command Line Magic @climagic
"apt-get install ifuse", "ifuse /media/iPad" and "cp -v /media/iPad/DCIM/100APPLE/IMG*MOV /target" # mnt iPad filesystem. Thx @timothyjones
276d               
87
41
Command Line Magic @climagic
exiv2 -k -F rename *.jpg # Use the exiv2 EXIF program to rename your jpg files according to their exif date/time data. Thx @mvuets
276d               
71
26
Command Line Magic @climagic
for t in "Wake up" "The Matrix has you" "Follow the white rabbit" "Knock, knock";do pv -qL10 <<<$'\e[2J'$'\e[32m'$t$'\e[37m';sleep 5;done
276d               
93
58
Command Line Magic @climagic
tail -f "foo.log"|egrep --line-buffered --color=auto 'ERROR|WARN|$' # tail log & highlight errors (if your grep supports --color) Thx @kvegh
276d               
88
22
Command Line Magic @climagic
play -n -c1 synth whitenoise band -n 100 20 band -n 50 20 gain +30 fade h 1 86400 1 # Pretend that you're on a starship.
276d               
129
54
Command Line Magic @climagic
extr_mp3(){ ffmpeg -i $1.flv -f mp3 -ar 44100 -ac 2 -ab 192k -y -acodec copy $1.mp3; } # Extract MP3 from FLV function. Thx @tweetygeekyhbar
276d               
73
14
Command Line Magic @climagic
ab -n 100 -c 10 "http://www.poorwebsite\.com/" # Use the apache benchmarking client to make 100 requests, 10 at a time and get the results.
276d               
85
22
Command Line Magic @climagic
echo 'Hello, my username is imontoya, you kill -9 my $PPID, prepare to vi.'
276d               
88
196
Command Line Magic @climagic
sudo nmap -sS www.example\.com # Do a stealthy like port scan of your website example.com to see what ports are exposed.
277d               
107
21
Command Line Magic @climagic
lsof -i TCP:80 # Show what processes are using port 80 either locally or remotely. Need to be root for unowned processes.
277d               
142
34
Command Line Magic @climagic
ps ax -o state -o ppid | awk '$1=="Z"{print $2}' | xargs kill -9 # Kill all #zombies on the system.
277d               
125
55
Command Line Magic @climagic
askapache.com/linux-unix/bas… # Super prompt! For when PS1="\u@\h:\w\$" just isn't enough.
277d               
86
30
Command Line Magic @climagic
ps aux |tail -n+2 |sort -nrk4 |head -$(($(tput lines)-1)) |cut -c 1-$(tput cols) # Display top RAM using processes.
277d               
140
39
Command Line Magic @climagic
ethtool -p eth0 # Blink eth0's LED so you can find it in the rat's next of server cables. Ctrl-C to stop. Thanks @brimston3
277d               
186
132
Command Line Magic @climagic
netstat -lepunt # Show the TCP and UDP ports being listened on and if you're root, also show the process associated, user, etc.
277d               
148
44
Command Line Magic @climagic
for p in *.jpg; do ffmpeg -loop_input -f image2 -i $p -t 3 -r 4 -s 1080x720 -f avi - >> slides.avi; done # Make slideshow from *.jpg
277d               
130
46
Command Line Magic @climagic
youtube.com/watch?v=n4Ul_A… # CLIMagic video: Epic demo of how I watched the Superbowl over a netcat stream.
277d               
58
20
Command Line Magic @climagic
ssh -R *:8080:localhost:80 remoteserver # Make local webserver available via remoteserver:8080. Req. GatewayPorts yes on sshd
277d               
114
42
Command Line Magic @climagic
sudo nmap -p 22 -open -v -oG - 10.0.0.0/24 | grep 22/open # Scan your local network for SSH servers running on the standard port.
277d               
103
27
Command Line Magic @climagic
youtube.com/watch?v=oBZ1-E… # CLIMAGIC quick video: Using awk or numsum to sum up numbers in df output.
277d               
32
8
Command Line Magic @climagic
nmap --open -p T:22 192.168.1.0/24 # Scan your internal network for hosts listening on TCP port 22 (SSH protocol).
278d               
155
32
Command Line Magic @climagic
function box() { t="$1xxxx";c=${2:-=}; echo ${t//?/$c}; echo "$c $1 $c"; echo ${t//?/$c}; } # Make box around text. By @bartonski
278d               
78
18
Command Line Magic @climagic
grep -L pattern * # List the filenames that don't contain the pattern specified.
278d               
43
19
Command Line Magic @climagic
alias coffee='VALUE=$( cat ~/.cupsocoffee ) ; VALUE=$(( $VALUE + 1 )); echo $VALUE > ~/.cupsocoffee ; echo $VALUE' # Make your own counter
278d               
38
18
Command Line Magic @climagic
du -ma | sort -nr | head -n 20 # List the 20 largest files or folders under the current working directory.
278d               
110
35
Command Line Magic @climagic
while true ; do NUM=$(( $RANDOM % 80 )) ; for i in $( seq 1 $NUM ) ; do echo -n " " ; done ; echo \* ; done # Snow storm in your terminal
278d               
105
79
Command Line Magic @climagic
paste <(cal 2013) <(cal 2014) # Look at the full year calendar for 2013 and 2014 side by side. (Requires term width > 135).
278d               
51
25
Command Line Magic @climagic
ps auxw | grep "[h]ttpd" | wc -l # Count the number of web server processes running.
278d               
33
13
Command Line Magic @climagic
du -sh */ #space usage of directories only (This was the very first CLIMagic post from December 15th, 2009)
278d               
62
17
Rebecca Jane @bexxi
How they really made the periodic table (via @SciencePorn) pic.twitter.com/YlZgsd5sBN
279d               
4
6
Command Line Magic @climagic
rtmpdump -v --live -r rtmp://streamhost/live/ |tee streamcopy.flv |mplayer -xy 2 - # stream directly at 2x size and save a copy.
282d               
69
20
Command Line Magic @climagic
for i in *.tar.gz; do mkdir "${i%.tar.gz}";( cd "${i%.tar.gz}" && tar zxvf ../"$i" );done # Put the output of each tar file into its own dir
282d               
70
26
Command Line Magic @climagic
for u in example/bc{3,8}449{0,8,9}2-ab7a-1{3,8}03; do curl -sI $u|grep -q 404||echo $u; done # Try finding the URL given a fuzzy screenshot.
283d               
29
8
Command Line Magic @climagic
mkdir frames && cd frames && mplayer -ao null -vo png ../video.flv # Convert a video into a series of pictures for analysis.
283d               
100
41
Command Line Magic @climagic
rtmpdump -r rtmp://videoserv.url:1935/app/somevideo.mp4 --flv video.flv # Grab a video from an embeded flash player.
283d               
145
42
Command Line Magic @climagic
sudo tcpdump -s1514 -A -w - | strings | egrep -A5 "(rtmp://|Playing)" # Try to find the rtmp URL for an embeded video on a website.
283d               
169
55
Oona Räisänen @windyoona
Tip of the day: Visualize SSH public key fingerprints using Unicode emoji! pic.twitter.com/NuokPXOdmR
283d               
361
568
Command Line Magic @climagic
look .|perl -pe 's/^(.*)$/\L$& \U$&/g'|tr A-Z 22233344455566677778889999|grep -P "(.)\1\1\1\1\1" # #xkcd phone key command corrected
284d               
30
8
Command Line Magic @climagic
what-if.xkcd.com/75/ # Today's XKCD what if features a great one liner for solving a phone keypad problem. Thx @Ludonaut
284d               
29
52
Command Line Magic @climagic
tail -f logfile | perl -ne 'print localtime . " $_";' # add timestamps to log or program output. perl -n forms a while loop. Thx @tribut
284d               
64
28
Command Line Magic @climagic
ssh -t you@homeaddr 'ssh you@192.168.1.5' # In one command, ssh to an internal host on your private network through a gateway host.
284d               
82
28
Command Line Magic @climagic
echo * | xargs -n1 id > /dev/null # Was in /var/spool/cron and wanted to check for stray (unowned) crontabs. Errors would show me.
284d               
25
13
CSS Humor @CSSHumor
.camouflage { background: inherit; } by @Groxx
285d               
112
217
Command Line Magic @climagic
netstat -nlt |egrep ":25\b" # Check if something is listening on tcp port 25 on the host. The \b means word boundaries and won't match 2525
285d               
84
32
Command Line Magic @climagic
head foo.sh | hexdump -c # See the first 10 lines of foo.sh byte by byte. Allows you to see "invisible characters" messing things up. (\r)
285d               
51
29
Command Line Magic @climagic
github.com/Stantheman/fus… # @MLACitation wrote this fuse script that auto pipes all your command output through lolcat.
288d               
11
14
Command Line Magic @climagic
climagic.org/coolstuff/let-… # Snow in your terminal.
288d               
62
81
Command Line Magic @climagic
while true; do [ $(sleep 1m && users | wc -w) -gt 1 ] && echo warning ; done # Notify when more than 1 unique user logs in. Thx @dlresende
289d               
45
19
Command Line Magic @climagic
fish # THis is an interesting shell that provides color syntax on commands while you are typing them and tab on options provides help.
290d               
47
31
Command Line Magic @climagic
explainshell.com # A few people recently referred me to this. Its neat, but I'm not sure it will properly explain most climagic tips.
291d               
58
39
Derick Rethans @derickr
"A simple GIT branch model" (and why you *always* should rebase on master): gist.github.com/jbenet/ee6c9ac… #linktuesday
291d               
23
18
Command Line Magic @climagic
xdaliclock -countdown "$( date -d 5pm +%s )" # Celebrate clock watching day in style. Thx @SoundSystemSDC
297d               
30
13
Command Line Magic @climagic
rm ./-file-starting-with-dash # another way to handle files starting with a - in CWD is to prefix them with ./
297d               
24
19
Command Line Magic @climagic
find /home/*/www/lib -name "functions.php" -exec grep --color -H -n "STRING" {} \; # Find STRING in functions.php files. Thx @RockfireCo
298d               
31
13
Command Line Magic @climagic
sudoh(){ sudo $@ || play homer-doh.wav; } # The other way people pronounce sue dew
302d               
39
60
Command Line Magic @climagic
du -sh * | sort -h # Sorting du output by human readable size. Your version of sort may not have the -h option yet. Thx @jmishal
302d               
53
27
Command Line Magic @climagic
ssh -f -N -L 24800:localhost:24800 synergyserver # Create an encrypted ssh tunnel for synergy client to use. synergy-foss.org
303d               
71
23
Command Line Magic @climagic
github.com/fcambus/ansiwe… # Get the local weather in a status line in your terminal. Thx @fcambus
304d               
105
43
Command Line Magic @climagic
grep -i button $(find . -type f -name *.css)" search for button, recursive in all minor CSS-Files. Thx @lotterfriends
304d               
31
12
Command Line Magic @climagic
ssh root@192.168.0.1 tcpdump -n -w- 'not \( port 22 and host 192.168.0.1 \)' | etherape -r- # Instant visualization of home router traffic.
304d               
257
74
Command Line Magic @climagic
ls -ld */* # Long list the directories inside the directories of the current directory. But don't list what's inside them.
305d               
59
30
Command Line Magic @climagic
until ping -w1 -c1 8.8.8.8; do sleep 5; done && play alarm.wav # Play an alarm file once your internet connection returns. Thx @glennzw
306d               
233
167
Command Line Magic @climagic
find . -maxdepth 1 -type f \! \( -name 'file1' -o -name 'anotherfile' \) -delete # Delete all files in CWD except file1 and anotherfile.
306d               
34
25
Command Line Magic @climagic
zip -vT downloaded.zip | head # Check out if I should unzip the file in a separate folder. Or use 'unzip -l.zipfile' Thx @kyoneoblood
310d               
29
18
Command Line Magic @climagic
awk '$9 == "404" {print $7}' access.log |sort|uniq -c|sort -rn| head -n 50 # List top 50 404's from your website log in descending order.
310d               
86
33
I Am Devloper @iamdevloper
A programmer puts two glasses on his bedside table before going sleep. One full, in case he gets thirsty, and one empty, in case he doesn’t.
313d               
271
570
Command Line Magic @climagic
ps auxwf # full process output in a tree view so you can see the parent -> child process relationships.
313d               
105
39
Command Line Magic @climagic
curl -s duckduckgo.com/?q=crontab+1+1… | | sed -nr '/^[^<]/p' # Use duckduckgo's cron describe. Thx @Ry4an
317d               
42
15
Command Line Magic @climagic
diff <( egrep -v "(^;|^$)" php.ini-old ) <( egrep -v "(^;|^$)" php.ini ) | less # Compare two php.ini files, stripping comments/blank lines
318d               
65
25
Command Line Magic @climagic
<Enter>~C -D 8888 # In a running SSH session, <Enter>~C opens ssh command prompt. The rest creates new dynamic port forward on port 8888.
334d               
93
46
Command Line Magic @climagic
copy.sh/v24/ # More fun with web browser based virtualization. This time, many os choices or upload your own image. Thx @brimston3
337d               
39
34
Command Line Magic @climagic
rsync --bwlimit=200 src dest # Do an rsync and limit the bandwidth used to about 200KB/sec. Useful on shared or slow links.
338d               
64
32
Command Line Magic @climagic
mkdir RCS ; ci -u .bashrc ; co -l .bashrc # Check a file in/out a local RCS repo. Because sometimes git/svn/hg/etc is overkill for 1 file.
338d               
21
9
Michael Oswald @Queekusme
#Programmers pic.twitter.com/USPJ5E6BzP
338d               
12
16
Command Line Magic @climagic
epochday() { echo $(( $( date +%s ) / 86400 )); } # What is the current unix epoch day. Useful when analyzing /etc/shadow files.
339d               
23
9
Command Line Magic @climagic
sed -i -r "/^\[/{x;p;x}" extensions.conf # Insert a blank line before every line that starts with [ in extensions.conf.
341d               
41
15
Command Line Magic @climagic
sed -i -r '/(^\s*;|^$)/d' sip.conf # Delete every blank line or line that starts with 0 or more whitespace and a ; character from sip.conf
341d               
29
20
Command Line Magic @climagic
[Ctrl-Z] # Suspend the current process you're running the foreground so you can do something else, then run fg to get it back.
353d               
21
18
Command Line Magic @climagic
[Alt+50+LeftArrow] # Move your cursor left 50 characters on the command line. Alt+N+Keystroke repeats that keystroke N times.
353d               
59
32
Command Line Magic @climagic
find . -xdev -ls | sort -n -k 7 | tail -5 # Quickly find the largest 5 files in the CWD tree without crossing filesystem boundaries.
354d               
43
19
Command Line Magic @climagic
rm -frv /somedir | tee remove.log # When you want to see the output AND save it, try "| tee" of just a ">" redirect.
354d               
18
12
Command Line Magic @climagic
for i in */.git ; do ( cd "${i/\/.*/}" ; git pull ) ; done # Pull updates from all git repos below your CWD. Thanks @SierraX369
362d               
64
20
Command Line Magic @climagic
for m in {0..200}; do date -d "2012-07-13 + $m months";done|grep ^Fri # Show all Friday 13ths happening in the next 200 months. GNU date req
372d               
31
49
Command Line Magic @climagic
ls -lH /usr/bin/telnet # Instead of following the trail of symlinks yourself to see the real file, you can use -H. H = the only letter left
380d               
11
14
Command Line Magic @climagic
strace -s 200 -e trace=network -f ping -c1 4.2.2.2 # Show the network calls of the ping command. Thx @roidelapluie
404d               
102
39
Command Line Magic @climagic
xvfb-run --server-args="-screen 0, 1024x768x24" cutycapt --url=http://url --out=image.png # site shot from command line. By @gustavorobertux
408d               
77
36
Command Line Magic @climagic
sed '/^\#/d' in_file > out_file # get rid of lines starting with # (aka comments) #guestweek
412d               
57
25
Command Line Magic @climagic
wget -r -l 1 -A pdf ftp://ftpserver/pub/documents/ # download all .pdf files from an ftp server #guestweek
412d               
110
41
Command Line Magic @climagic
find . -name '*.pdf' -exec pdftotext {} - \; | grep "search term" # grep multiple pdf files #guestweek
412d               
98
37
For remarks, suggestions and complaints, you can contact us at: info@twopcharts.com. On Twitter you can find us here: @gl_twop_1000