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
--[[ | |
Simple BigReactors Reactor Control program | |
Usage: | |
Reactor producing RF: | |
bigreactors-control [-s] [turnOn [, turnOff] ] | |
-s makes the program not print anything to the screen; will automatically enable this option if there is no screen and GPU available | |
Optional arguments are turnOn and turnOff, allowing you to specify when to turn the reactor on and when to turn it off. Default values are 0.1 and 0.9 | |
If you have turbines connected to the computer and the reactor is in steam-producing mode, it will automatically detect that. | |
In turbine mode, it will try to keep the turbines at a certain speed. | |
bigreactors-control [-s] [-b] [desiredSpeed [, acceptedSpeed] ] |
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 pickle | |
import json | |
import urllib | |
import os | |
import time | |
hourAgo = time.time() - 3600 | |
def getWeather(): | |
if os.path.getmtime("weather.pkl") < hourAgo: |
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
from datetime import datetime | |
import pygame | |
from pygame.mixer import Sound | |
from ui import colours | |
from ui.widgets.background import LcarsBackgroundImage, LcarsImage | |
from ui.widgets.gifimage import LcarsGifImage | |
from ui.widgets.lcars_widgets import * | |
from ui.widgets.screen import LcarsScreen | |
from ui.widgets.sprite import LcarsMoveToMouse |
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 sys | |
def command1(option1="Undefined", option2="Undefined"): | |
print("This is command1 with " + option1 + " and " + option2) | |
def command2(option1="Undefined", option2="Undefined"): | |
print("This is command2 with " + option1 + " and " + option2) | |
commands = {'cmd1': command1, 'cmd2': command2} |
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
a80sappleiibbs.ddns.net | |
mode character |
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
PS3=$'Welcome to the PuTTY replacement script.\nPick an Option: ' | |
options=("80s Apple II BBS" "Server" "Raspberry Pi" "Quit") | |
select opt in "${options[@]}" | |
do | |
case $opt in | |
"80s Apple II BBS") | |
./apple.sh | |
break | |
;; | |
"Server") |
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
--[[ | |
Simple BigReactors Reactor Control program | |
Usage: | |
Reactor producing RF: | |
bigreactors-control [-s] [turnOn [, turnOff] ] | |
-s makes the program not print anything to the screen; will automatically enable this option if there is no screen and GPU available | |
Optional arguments are turnOn and turnOff, allowing you to specify when to turn the reactor on and when to turn it off. Default values are 0.1 and 0.9 | |
If you have turbines connected to the computer and the reactor is in steam-producing mode, it will automatically detect that. | |
In turbine mode, it will try to keep the turbines at a certain speed. | |
bigreactors-control [-s] [-b] [desiredSpeed [, acceptedSpeed] ] |
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
from __future__ import print_function | |
import hexchat | |
import dbus | |
import re | |
__module_name__ = 'Spoti.py' | |
__module_version__ = '0.0.3' | |
__module_description__ = 'Spotify controller' | |
__module_author__ = 'Scout @ irc.geekshed.net/codecrew' |
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
#!/usr/bin/env python | |
''' | |
head.py - Phenny HTTP Metadata Utilities | |
Copyright 2008, Sean B. Palmer, inamidst.com | |
Licensed under the Eiffel Forum License 2. | |
http://inamidst.com/phenny/ | |
Modified by Jordan Kinsley <[email protected]> | |
''' |
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
# Conky Google Now style # | |
# Conky settings # | |
background no | |
update_interval 1 | |
double_buffer yes | |
no_buffers yes | |
# Window specifications # | |
own_window yes |
NewerOlder