This file contains hidden or 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 apt-get install mac-glue-pm588=1.30-2 | |
| Reading Package Lists... Done | |
| Building Dependency Tree... Done | |
| You might want to run `apt-get -f install' to correct these: | |
| Sorry, but the following packages have unmet dependencies: | |
| fileutils: Depends: coreutils-default (>= 1:6.9-3) but it is not going to be installed | |
| mac-glue-pm588: Conflicts: mac-glue-pm588-bin but 1.30-1 is to be installed | |
| mac-glue-pm588-bin: Depends: mac-glue-pm588 (= 1.30-1) but 1.30-2 is to be installed | |
| E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). |
This file contains hidden or 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 apt-get remove mac-glue-pm588 | |
| Reading Package Lists... Done | |
| Building Dependency Tree... Done | |
| You might want to run `apt-get -f install' to correct these: | |
| Sorry, but the following packages have unmet dependencies: | |
| fileutils: Depends: coreutils-default (>= 1:6.9-3) but it is not going to be installed | |
| mac-growl-pm588: Depends: mac-glue-pm588 (>= 1.30-2) but it is not going to be installed | |
| E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). |
This file contains hidden or 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 gdata.youtube | |
| import gdata.youtube.service | |
| from BeautifulSoup import BeautifulSoup | |
| yt_service = gdata.youtube.service.YouTubeService() | |
| # The YouTube API does not currently support HTTPS/SSL access. | |
| yt_service.ssl = False | |
| yt_service.developer_key = "AI39si6sDAt4km6PVp3cw5U4MIoUAVKi-R0hVSALYdjz7EIH_Leik-7s_fxeHQZKpx6fXilSx5PvYqhk16Gg1APQFJDRncXh6g" | |
| yt_service.client_id = "yt comments" | |
| def get_comments(): |
This file contains hidden or 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
| <opml version="1.0"> | |
| <body> | |
| <outline text="MSNBC Countdown (video)" xmlUrl="http://podcast.msnbc.com/audio/podcast/MSNBC-COUNTDOWN-NETCAST-M4V.xml" type="rss" /> | |
| <outline text="MSNBC Rachel Maddow (video)" xmlUrl="http://podcast.msnbc.com/audio/podcast/MSNBC-MADDOW-NETCAST-M4V.xml" type="rss" /> | |
| <outline text="Democracy Now! Video" xmlUrl="http://www.democracynow.org/podcast-video.xml" type="rss" /> | |
| </body> | |
| </opml> |
This file contains hidden or 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
| from subprocess import * | |
| import sys | |
| #pip = sys.argv[0] | |
| def is_python(): | |
| pip = Popen(['pip', '--version'], stdout=PIPE).communicate()[0] | |
| if pip[-12:].split() == "(python": | |
| return True |
This file contains hidden or 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 pexpect | |
| #from subprocess import * | |
| if sys.argv[0] == "--bin": | |
| server_bin = sys.argv[1] | |
| else: | |
| # if len(sys.argv) > 1: | |
| # options = sys.argv | |
| # else: | |
| # options = "-Xms512M -Xmx512M -cp minecraft-server.jar com.mojang.minecraft.server.MinecraftServer" |
This file contains hidden or 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 | |
| ii -i irc -n minecraftbot -s irc.freenode.net | |
| echo "/j #subreddit" | |
| mkfifo minecraft | |
| tail -f 'irc/#subreddit/out' | grep "<*>" > minecraft | |
| ./server_mod.sh < minecraft | tee | grep "<*>" | 'irc/#subreddit/in' |
This file contains hidden or 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 | |
| ii -i irc -n minecraftbot -s irc.freenode.net | |
| echo "/j #subreddit" > "irc/irc.freenode.net/in" | |
| mkfifo minecraft | |
| tail -f 'irc/irc.freenode.net/#subreddit/out' | grep "<*>" > minecraft | |
| ./server_mod.sh < minecraft | tee 1< | grep "<*>" | 'irc/irc.freenode.net/#subreddit/in' | |
| cat > minecraft |
This file contains hidden or 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 Image, ImageDraw | |
| import time | |
| im = Image.open("kilosec_round.PNG") | |
| draw = ImageDraw.Draw(im) | |
| def kiloseconds(): | |
| tm = time.localtime() | |
| return (tm.tm_hour*3600+tm.tm_min*60+tm.tm_sec)/1000.0 | |
| #http://github.com/api/v2/json/blob/show/bavardage/kiloseconds/03fac33ed6be1f0a004319cf7b8449d6d5fb10f3 |
This file contains hidden or 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
| <<<<<<< HEAD | |
| SYSTEM_VERSION = '2.3.15' | |
| ======= | |
| SYSTEM_VERSION = '2.3.9' | |
| >>>>>>> CloudApp support is in. |