<currency> is a placeholder for the name of your channel currency
####Broadcaster / Moderator Commands
| #/bin/bash | |
| tmux split-window -h -p 35 "tail -f ~/MUD/$1/chat.log" | |
| tmux split-window -v -p 40 "pico ~/MUD/$1/notes.txt" | |
| tmux select-pane -t 0 | |
| tt++ ~/MUD/$1/config.tin | |
| tmux kill-pane -a |
| var perPage = 20, | |
| data = [[ PUT DATA INTO TEMPLATE HERE ]] | |
| lastPage = Math.ceil(data.length/perPage); | |
| function minifyPagination() { | |
| var current = parseInt($('li.uk-active').attr('page')), | |
| min = Math.max(current-3, 1), | |
| max = current+3; | |
| $('#page_first, #page_last').remove(); |
| <?php | |
| $id = $_POST['id']; | |
| $type = $_POST['ttt']; | |
| if(isset($type) && isset($id)) | |
| { | |
| switch($type) | |
| { | |
| case 'item': | |
| getItem($id); |
| import os | |
| os.chdir(os.path.abspath(os.path.split(__file__)[0])) | |
| activate_this = os.path.join(os.path.split(__file__)[0], 'venv', 'bin', 'activate_this.py') | |
| execfile(activate_this, dict(__file__=activate_this)) |
| ### Keybase proof | |
| I hereby claim: | |
| * I am binaryatrocity on github. | |
| * I am binaryatrocity (https://keybase.io/binaryatrocity) on keybase. | |
| * I have a public key whose fingerprint is 1675 E26E 4EC1 9B3F EDA9 3F1B C6C6 244D EB08 40B3 | |
| To claim this, I am signing this object: |
| from sys import argv | |
| from base64 import b64encode | |
| from datetime import datetime | |
| from Crypto.Hash import SHA, HMAC | |
| def create_signature(secret_key, string): | |
| """ Create the signed message from api_key and string_to_sign """ | |
| string_to_sign = string.encode('utf-8') | |
| hmac = HMAC.new(secret_key, string_to_sign, SHA) | |
| return b64encode(hmac.hexdigest()) |
| /* | |
| Platform: Arduino Uno | |
| Monitor an infrared breakbeam sensor (digital port 4) for interruptions | |
| and increment a LED display with a counter. | |
| */ | |
| #include <Wire.h> | |
| #include "Adafruit_LEDBackpack.h" | |
| #include "Adafruit_GFX.h" |
| var bot = require('./../lib/initialize.js'); | |
| bot.initialize({ | |
| twitch: { | |
| channel: 'llamadownunder', | |
| bot: {name: 'LlamaDUBot', password: ''}, | |
| subscribers: '' | |
| }, | |
| currency: { |
| <?xml version="1.0" encoding="iso-8859-1"?> | |
| <!DOCTYPE muclient> | |
| <!-- Graphical minimap and location GPS created by Quow--> | |
| <muclient> | |
| <plugin | |
| name="CowBar" | |
| author="Quow" | |
| id="bfe35205f026786ea1d56e3b" | |
| language="Lua" | |
| purpose="Minimap, UI & More!" |