Registered: 2009-01-21
Update: about 1 month ago
Problems: 55
Solutions: 52
References: 101
Problem views: 88739
Unsolved problem views: 3908
yliu
User
O(n) person in an O(log n) world.
刘一鸣
Recent problems
Atom Feed#119: Set execute permission for directories
Solved!on August 07, 2011, 10:10 AM UTC — from
yliu
( 195 views )
yliu
( 195 views )
I have a folder consisting of a mix of files and subdirectories, on OS X. I'm looking for a one-line script to set the execute permission bit only on all subfolders/subdirectories, without setting all the normal files to executable as well.
The usual chmod...
#116: Disable Dell Studio XPS wireless button
Solved!on June 12, 2011, 12:26 AM UTC — from
yliu
( 1,423 views )
yliu
( 1,423 views )
There is a touch button / media key on the Dell Studio XPS that disables all wireless devices onboard, including WiFi. This stupid button is located immediately above the F8 key on my Studio XPS model, and I constantly hit it on my way to the function keys...
#114: Set Ubuntu crontab default editor
Solved!on April 15, 2011, 11:04 AM UTC — from
yliu
( 721 views )
yliu
( 721 views )
At some point my Ubuntu installation's crontab decided to use nano as its default editor, despite my having switched it to emacs.
Upon using crontab -e, I get dropped into nano. On completion of the edit, the shell reports: "/usr/bin/sensible-editor: 25...
#110: Simple content-based filtering for Postfix
Solved!on March 10, 2011, 12:57 AM UTC — from
yliu
( 671 views )
yliu
( 671 views )
I am looking for a simple regex or text-matching based method to filter emails on my Postfix server. For the most part, my server does not get any spam, so there is no need for a heavy-duty antispam solution. On the other hand, there is just one very persistent...
#106: Access Apple AirDisk over WAN
Solved!on December 21, 2010, 09:47 AM UTC — from
yliu
( 830 views )
yliu
( 830 views )
So I have an AirDisk set up on my Apple AirPort Extreme router. As I occasionally travel, I'd like to access my AirDisk from the WAN or general Internet. On the other hand, I'd rather not expose the Apple Filing Sharing port 548 over the WAN via the AirPort...
