212 reputation
111
bio website
location Mars
age 24
visits member for 4 years, 1 month
seen Oct 10 at 5:59

Jun
16
comment Using FFmpeg filter without video conversion
However, this seems like bad architecture. E.g. what if I want to do a "setpts=2*PTS" filter to slow down the video. That should be able to run with only demuxing and muxing and should not require transcoding! (Because it's not accessing the pixel data, just the frame metadatas).
Aug
3
comment Is there a Windows exe that does nothing?
For me, csc.exe was not on my path, but it was located at C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe
Aug
2
comment How I can make sudo session an hour and not few minutes in Ubuntu 10.04?
Much less safe than typing sudo before the few commands you want to run as root, with the convenience of not having to retype the password. See Bobby's much better answer below.
Feb
28
comment How do I launch a bash script from Finder in OS X?
fyi, if anyone tries to softlink to a script, the script itself (the destination of the softlink) has to end in .command, and the link itself can have any extension. weird, I know.
Jan
10
comment vim -R /dev/random
iTerm 2 on Lion
Jan
6
comment Equivalent of bash !! that ignores first word
You're right, bad example. In real life I am actually doing "touchmod", which is a personal alias that touches and then chmods u+x.
Jan
5
comment Safe substitute for OS X `rm`?
and then you can just have ~/.Trash be a soft link to the Trash folder on the partition that has enough space
Dec
26
comment Immediately tell which output was sent to stderr
Unfortunately, stderred breaks "open" and "mvim" for Mac users like the OP.
May
9
comment Mac: truly detach process from Terminal.app
@Daniel Feel free to make whatever edits you want. I see you have enough rep and are quite knowledgeable
May
7
comment Mac: truly detach process from Terminal.app
@Daniel Try it. Without the -a launches a new terminal window, which is annoying. With the -a does not, so I would prefer the latter.
May
7
comment Mac: truly detach process from Terminal.app
@Daniel Beck Apparently this also works: open -a "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
May
7
comment Mac: truly detach process from Terminal.app
P.S.: I plan to accept your answer in 7 minutes once the timer allows me to
May
7
comment Mac: truly detach process from Terminal.app
Nice! Thanks. Weirdly, if you use the full path to the executable, it spawns a new terminal window: open "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" . Any idea why?
Mar
13
comment How can I rotate the screen of a MacBook Pro 90 degrees?
This should have been the accepted answer!
Mar
9
comment Use sed to parse specific values out of a space-separated string
@zhanwu See the edited answer
Mar
9
comment bash: source from URL
Clever! Good point though that an attacker could easily feed me any code they want.
Mar
9
comment bash: source from URL
Also, note that this is going in my .bashrc, so technically your solution is infinite recursion. ;) But I know what you meant.
Mar
9
comment bash: source from URL
That works and it's what I'm currently doing, but I was wondering if there's a more elegant way. But maybe this is the best, so if nothing turns up soon I'll accept your answer.
Oct
17
comment PC shuts down automatically while playing videos
Should this go on Super User?
Oct
6
comment emacs equivalent of Xcode's #pragma mark?
Awesome, thanks for the many different packages.