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
WARNING: Do NOT copy over the init.txt from an earlier version of DF. | |
Always read the file carefully, including the comments. | |
In general, you can copy savegames and tilesets from older DF | |
versions, but you should not copy anything else. You should not, under any | |
circumstances, unpack a new DF on top of an older one. | |
Change this to turn sound off. |
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
ht thost=beta.lol.riotgames.com | |
xmpp_server_url=beta.lol.riotgames.com | |
enableTutorialGame=true | |
lobbyLandingURL=http://www.leagueoflegends.com/pvpnet_landing | |
ladderURL=http://www.leagueoflegends.com/ladders | |
storyPageURL=http://www.leagueoflegends.com/story |
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
15:23:34 [/Volumes/Programming/classes/pythonwebservices/ip/webob_view]: ../bin/python setup.py develop | |
running develop | |
running egg_info | |
creating webob_view.egg-info | |
writing requirements to webob_view.egg-info/requires.txt | |
writing webob_view.egg-info/PKG-INFO | |
writing top-level names to webob_view.egg-info/top_level.txt | |
writing dependency_links to webob_view.egg-info/dependency_links.txt | |
writing entry points to webob_view.egg-info/entry_points.txt | |
writing manifest file 'webob_view.egg-info/SOURCES.txt' |
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
#!/bin/bash | |
# case $variable in | |
read -p "Enter an animals name: " animal | |
echo -n "A $animal has " | |
case $animal in | |
horse|cow|cat) echo -n "four ";; | |
man|woman) echo -n "two ";; | |
*) echo -n "an unknown number of ";; | |
esac | |
echo "legs!" |
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
#! /bin/bash | |
function tweet () { | |
echo $STATUS | |
echo $USERNAME | |
echo $PASSWORD | |
curl -s -u "$USERNAME":"$PASSWORD" -d status="$STATUS" http://twitter.com/statuses/update.xml | |
} | |
export -f tweet |
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
When trying to change my e-mail I get a weird message that I was blocked by the spam filter, and links to some creepy urls. | |
The admin spam settings are exposed to normal users in the left-menu: | |
http://plugins.jquery.com/admin/settings/spam | |
Seems like spammers have changed the spam-settings so only users are filtered, and also changed the error message. |
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
#!/bin/bash | |
#read stream | |
args=("$@") | |
#discard =Breaks= | |
res=`sed '1p' ${args[0]}` | |
while read -r line; do | |
do | |
if $line=="===============================================" | |
then make a new array item | |
else |
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
#!/bin/bash | |
args=("$@") | |
declare -a breaks | |
res=`cat ${args[0]}` | |
OLDIFS=$IFS | |
IFS="===============================================" | |
read -d -a breaks <<< "$res" | |
for i in ${breaks[@]}; do | |
echo $i; | |
done |
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
#!/bin/bash | |
# create semi-random filenames for writing and reading to | |
# will probably only work on mac os x leopard and snow leopard | |
tempfoo=`basename $0` | |
TFILE=`mktemp /tmp/XXXXXXXX` || exit 1 | |
TFILE2=`mktemp /tmp/2XXXXXXXX` || exit 1 | |
# grabs browseable list of bonjour shared libraries | |
dns-sd -B _daap._tcp 1>$TFILE & | |
# grab the process identifiers for the dns-sd process WHICH NEVER STOPS | |
TFILE_PID=$! |
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
#!/bin/bash | |
# create semi-random filenames for writing and reading to | |
tempfoo=`basename $0` | |
TFILE=`mktemp /tmp/${tempfoo}.XXXXXX` || exit 1 | |
TFILE2=`mktemp /tmp/${tempfoo}2.XXXXXX` || exit 1 | |
dns-sd -B _daap._tcp 1>TFILE & | |
res=$(tail -n1 $TFILE | awk '{gsub(/[ ]+/," ")}1' | cut -d' ' -s -f6-) | |
read -r protocol library_name <<< "$res" | |
echo $library_name $protocol |
NewerOlder