This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rm -rf /usr/share/pulseaudio | |
sudo rm -rf /usr/lib/pulseaudio | |
sudo rm -rf /usr/lib/pulse-2.0 | |
sudo rm /usr/lib/libpulse* | |
wget http://download.raspbmc.com/downloads/bin/pulse-2.1-noX.tar.gz -O /tmp/pulseaudio-2.1-hardfp.tgz | |
cd / | |
sudo tar xzf /tmp/pulseaudio-2.1-hardfp.tgz | |
sudo wget http://svn.stmlabs.com/svn/raspbmc/testing/oscore/lirc/lib/udev/rules.d/30-sound.rules -O /lib/udev/rules.d/30-sound.rules | |
sudo wget http://svn.stmlabs.com/svn/raspbmc/testing/oscore/lirc/lib/udev/set_volume -O /lib/udev/set_volume | |
sudo chmod 755 /lib/udev/set_volume |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>To Do</h1> | |
<h2> Add a to do item</h2> | |
<div class='formdiv'> | |
<form class="todo" action="<%= items_url %>" method="post"> | |
<input class="submission" type="text" name="item[name]" size='50'> | |
<input type="hidden" name="authenticity_token" value="<%= form_authenticity_token %>"> | |
<input class="newitem" type="submit" value="New Item"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ice cats are cold cats |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ice cats are cold cats |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"query": { | |
"count": 1, | |
"created": "2014-04-08T03:29:02Z", | |
"lang": "en-US", | |
"diagnostics": { | |
"publiclyCallable": "true", | |
"url": { | |
"execution-start-time": "1", | |
"execution-stop-time": "368", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
req = requests.get('http://worldcup.sfg.io/matches') | |
for match in [m for m in req.json() if m['status'] == 'completed']: | |
print match['home_team']['country'], match['home_team']['goals'], 'v', match['away_team']['country'], match['away_team']['goals'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This message is to all clients on our OpenVZ servers. A critical security vulnerability was published earlier today for OpenVZ. We have upgraded to the latest kernel and reboot all OpenVZ nodes. Due to the significance of the vulnerability and the existince of a public exploit, we did not have time to send out a mass email in advance of taking action. We posted an announcement on our News page in the Client Area and sent out some tweets on @RamNode and @NodeStatus before and during the process. You can read more about this vulnerability here: https://clientarea.ramnode.com/announcements.php?id=364 . As always, we highly recommend that you follow/bookmark http://twitter.com/nodestatus to stay up to date. | |
While we strive to maintain 100% uptime, this issue was unfortunately outside of our control, being a vulnerability with OpenVZ itself. We typically rely on rebootless updates from KernelCare, but they made it clear that a patch would not be forthcoming immediately. We could not risk everyone's data with a pu |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"(TM)": { | |
"pronunciations": [ | |
"//" | |
], | |
"grammmar": null, | |
"definitions": [ | |
" [Usenet] ASCII rendition of the ™ appended to phrases that the author feels should be recorded for posterity, perhaps in future editions of this lexicon. Sometimes used ironically as a form of protest against the recent spate of software and algorithm patents and look and feel lawsuits. See also UN*X." | |
] | |
}, |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"word":"(TM)","pronunciations":null,"grammmar":null,"definitions":[" [Usenet] ASCII rendition of the ™ appended to phrases that the author feels should be recorded for posterity, perhaps in future editions of this lexicon. Sometimes used ironically as a form of protest against the recent spate of software and algorithm patents and look and feel lawsuits. See also UN*X."]} | |
{"word":"/dev/null","pronunciations":["/dev·nuhl/"],"grammmar":"n.","definitions":[" [from the Unix null device, used as a data sink] A notional ‘black hole’ in any information space being discussed, used, or referred to. A controversial posting, for example, might end “Kudos to rasputin@kremlin.org, flames to /dev/null”. See bit bucket."]} | |
{"word":"/me","pronunciations":null,"grammmar":null,"definitions":[" [IRC; common] Under most IRC, /me is the “pose” command; if you are logged on as Foonly and type “/me laughs”, others watching the channel will see “* Joe Foonly laughs”. This usage has been carried over to mail and news, where the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# required: ffmpeg (e.g. from homebrew), terminal-notifier from https://github.com/alloy/terminal-notifier | |
# you can schedule this with launchd to run e.g. weekly | |
# Specify in seconds how long the script should record (default here is 1 hour). | |
seconds=3600 | |
# Date format for the recording file name | |
DATE=`date "+%d-%m-%y_%H-%M"` | |
# start ffmpeg recording |
OlderNewer