http://soundcloud.com/gustavoassis/g-low-cops-at-the-party
track lists from their set heard on ETN2 (etn.fm)
• http://progressivehouse.com/forums/Radio-Shows/moonbeam--aerofeel5--octave-amp-weiss--moonbeam-music-2012-41626.html
• http://www.protonradio.com/show.php?action=past&showdateid=23978&showid=288
• http://www.mixesdb.com/w/2012-04-19_-_Moonbeam,_Aerofeel5,_Octave_%26_Weiss_-_Moonbeam_Music_062
Tuesday, May 8, 2012
Monday, April 30, 2012
Chrome warn before quitting wasn't good enough
Sometimes I'd double-tap Command-Q and that would be enough.
So I mapped it to Command-Option-Q as described here:
http://www.quora.com/How-do-I-disable-Command-q-in-OS-X
So many folks dislike this. I do too.
• http://groups.google.com/a/googleproductforums.com/forum/#!topic/chrome/pLR6h12UNc8
• Chrome Issues List
• Safari remapping: http://hints.macworld.com/article.php?story=2003050112482698
• And an example of removing a pref: http://www.oreillynet.com//cs/user/view/cs_msg/46459
So I mapped it to Command-Option-Q as described here:
http://www.quora.com/How-do-I-disable-Command-q-in-OS-X
So many folks dislike this. I do too.
• http://groups.google.com/a/googleproductforums.com/forum/#!topic/chrome/pLR6h12UNc8
• Chrome Issues List
• Safari remapping: http://hints.macworld.com/article.php?story=2003050112482698
• And an example of removing a pref: http://www.oreillynet.com//cs/user/view/cs_msg/46459
Sunday, April 22, 2012
http://wdc.com/en/products/products.aspx?id=330
Considering the good reviews everywhere -- this looks like it will be my MythTV frontend.
http://www.mythtv.org/wiki/WD_Live_HD_Media_Player
says it will apparently work out of the box.
If it does netflix and huluplus, total win.
Film at 11.
Saturday, April 21, 2012
Chrome loses your preferences - gah.
http://saravananthirumuruganathan.wordpress.com/2010/05/10/how-to-solve-your-profile-could-not-be-opened-correctly-issue-in-chrome-or-chromium-without-losing-your-profile/
Restored from backup /Library/Application Support/Google/Chrome/Default/Preferences
http://support.google.com/chrome/bin/answer.py?hl=en&answer=142059
(which I didn't do.)
http://saravananthirumuruganathan.wordpress.com/2010/05/10/how-to-solve-your-profile-could-not-be-opened-correctly-issue-in-chrome-or-chromium-without-losing-your-profile/
Restored from backup /Library/Application Support/Google/Chrome/Default/Preferences
Create a new browser user profile:
http://support.google.com/chrome/bin/answer.py?hl=en&answer=142059
(which I didn't do.)
Wednesday, February 15, 2012
bash history collector, without external scripts
# history_logger() side effects:
# sets global variable '_last_history_number_logged'
# $HISTCMD special variable should actually provide this,
# But it appears unavailable in functions or at PROMPT_COMMAND eval time.
#
function history_logger() {
local last_exit_code=$? # must be the first command we run in this function local last_history_line=$(history 1)
local _match_me="^ ?([0-9]+)"
# Only log if we are not root:
if [ "$(id -u)" -ne 0 ]; then
# only log if history number changes:
if [[ ${last_history_line} =~ ${_match_me} ]] &&
[[ ${BASH_REMATCH[1]} != $_last_history_number_logged ]] ; then
_last_history_number_logged=${BASH_REMATCH[1]} ;
echo "$(date)] ${HOSTNAME%%.*}[$$:S${WINDOW}:${last_exit_code}] ${PWD/~/\~} ${last_history_line}" >> ~/.shell.log;
fi ;
fi
}
# the plumbing that makes it work:
export PROMPT_COMMAND='history_logger'
A few explanatory comments, as inline comments aren't available:• HISTCMD does not appear to be available at function call or PROMPT_COMMAND time,
so we use the [[ history =~ regex && BASH_REMATCH ]] to hack it
• the assignment to ${_match_me} is because regex matching doesn't work correctly otherwise.
• the shell out to $(date) seems unavoidable.
• gnu screen is setting $WINDOW
• ${PWD/~/\~} is an exercise left to the reader.
I've seen other folks try to do this –– the best I found folks doing involved calling other bash scripts from the PROMPT_COMMAND.
I hit the same problem (inside a PROMPT_COMMAND, $HISTNUM is always == 1).
My solution uses a regex to capture the last history number, and doesn't require calling a separate script or set of scripts.
Comments welcome.
Wednesday, January 18, 2012
X11/xterm bliss in OSX
I was frustrated that selection buffer in Mac's OSX X11/XQuartz(2.7.0) xterm
and the aqua clipboard doesn't sync without manual use of the Edit/Copy menu.
I have menu shortcuts turned off in XQuartz so that Command becomes my xterm Meta key.
I found:
http://gigo.com/archives/blog/apples-x11app-and-xterm-copypa.html
which led me to setup my preferences and .Xresources file thusly:
My X11/XQuartz preferences:
Input tab:
• Enable "Emulate 3 button mouse "
• Disable "Follow system keyboard"
• Disable "Enable key equivalents under X11"
• Enable "Option keys send Alt_L and Alt_R"
Pasteboard tab:
• All are enabled.
~/.Xresources file:
xterm*metaSendsEscape: trueXTerm*VT100.Translations: #override \ Shift <KeyPress> Help: insert-selection(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n\ <KeyPress> Help: select-set(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n\ <BtnUp>: select-end(CLIPBOARD,PRIMARY,CUT_BUFFER0)\n
+ my personal preferences:
xterm*loginShell: true xterm*cursorColor: pink xterm.vt100.reverseVideo: false !xterm.vt100.foreground: yellow !xterm.vt100.background: black xterm.vt100.saveLines: 1023 xterm.vt100.scrollBar: false xterm.vt100.deleteIsDEL: true xterm.vt100.visualBell: true xterm.vt100.popOnBell: true
Subscribe to:
Posts (Atom)
#RSFtalks with Edward Snowden
What an intelligent, thoughtful individual. I find it difficult to forgive 44 for failing to pardon this patriot and instead pursuing him ...
Other Popular Posts:
-
The TP-Link Archer AC1750 C7 runs OpenWRT and is a great router IMHO. You can also try the same hardware, rebranded by Amazon as the A7: ...
-
[original post written in 2011, see below for Updates] Click image to zoom in. Here's a diagram of how I configure my Mac to locally r...
-
What an intelligent, thoughtful individual. I find it difficult to forgive 44 for failing to pardon this patriot and instead pursuing him ...