THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| #!/bin/bash | |
| #Heith Seewald 2012 | |
| #Feel free to extend/modify to meet your needs. | |
| #Maya on Ubuntu v.1 | |
| #This is the base installer... I’ll add more features in later versions. | |
| #if you have any issues, feel free email me at [email protected] | |
| #### Lets run a few checks to make sure things work as expected. | |
| #Make sure we’re running with root permissions. | |
| if [ `whoami` != root ]; then |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| #define RAND48_SEED_0 (0x330e) | |
| #define RAND48_SEED_1 (0xabcd) | |
| #define RAND48_SEED_2 (0x1234) | |
| #define RAND48_MULT_0 (0xe66d) | |
| #define RAND48_MULT_1 (0xdeec) | |
| #define RAND48_MULT_2 (0x0005) | |
| #define RAND48_ADD (0x000b) | |
| unsigned short _rand48_seed[3] = { |
| # this goes in your .bashrc (or maybe .bash_profile on a Mac) | |
| function readmarkdown() { | |
| TMPFILE=`mktemp`.pdf | |
| pandoc "$@" -o $TMPFILE | |
| evince $TMPFILE | |
| rm $TMPFILE | |
| } | |
| # OR, for fancy formatting you can use --listings (this requires the latex-xcolor package) | |
| function readmarkdown() { |
| //replace http://agar.io/main_out.js by this file | |
| //with Fiddler Web Debugger (AutoResponder tab) | |
| //bots can be created in different rooms - so try restart the page if need | |
| var totalBotCount = 0; | |
| function game(h, r, bot, botUrl, botName) { |
| #!/bin/bash | |
| # Heith Seewald 2012 | |
| # Garoe Dorta 2015 | |
| # Luca Weiss 2015 | |
| # Also based on https://gist.github.com/MichaelLawton/ee27bf4a0f591bed19ac | |
| # Feel free to extend/modify to meet your needs. | |
| #### Lets run a few checks to make sure things work as expected. | |
| #Make sure we’re running with root permissions. | |
| if [ `whoami` != root ]; then |
| #!/bin/bash | |
| ##################################################################### | |
| # DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| # Version 2, December 2004 | |
| # Copyright (C) 2015 Ivan Rivera | |
| # Everyone is permitted to copy and distribute verbatim or modified | |
| # copies of this license document, and changing it is allowed as long | |
| # as the name is changed. |
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| from ctypes import CDLL | |
| from subprocess import call | |
| # Morrowind | |
| os.environ["SteamAppId"] = "22320" | |
| # Enable Steam Overlay |
| do --welcome to the demo please paste me into lua.org/demo | |
| local g = {s="\32",k="\37\99",n="\n"} --space, uhhh???, newline | |
| local data = { | |
| {0x49434152,0x55532046,0x4F554E44,0x20594F55,0x21212100}, --the message | |
| {0x52554E20,0x5748494C,0x4520594F,0x55204341,0x4E212121}} --encoded in 4b segs | |
| local f,r,w = string.format,string.rep,io.write --wrap some funcs for smallness | |
| local dc = function (data) -- de coder | |
| local d,f = {},math.floor --more smallness | |
| d[1] = f(data/16777216) --first byte | |
| d[2] = f((data-d[1]*16777216)/65536) --the second |