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/sh | |
# THIS REQUIRES SOME EDITING RIGHT NOW, SORRY! | |
# Wine prefix directory | |
WINDOWS_FOLDER=$HOME/Games/Brickadia | |
# URL to Launcher | |
LAUNCHER_DOWNLOAD_URL="https://static.brickadia.com/launcher/1.4/BrickadiaInstaller.exe" | |
# Directory containing proton |
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
// http://forum.blockland.us/index.php?topic=276074.0 | |
function loadEnvironment(%file) | |
{ | |
%res = GameModeGuiServer::parseGameModeFile(%file, 1); | |
EnvGuiServer::getIdxFromFilenames(); | |
EnvGuiServer::setSimpleMode(); | |
if (!$EnvGuiServer::SimpleMode) |
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/sh | |
NO_SCREEN=false | |
ATTACH=false | |
GAMEMODE="Custom" | |
export WINEDLLOVERRIDES="mscoree=d;mshtml=d;$WINEDLLOVERRIDES" | |
DEDICATED_MODE="-dedicated" | |
BLOCKLAND_FILES_FILENAME="BLr1988-server.zip" | |
BLOCKLAND_FILES_URL="https://birb.zone/files/$BLOCKLAND_FILES_FILENAME" |
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
var script = document.createElement("script"); | |
script.setAttribute("src", "https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"); | |
script.addEventListener('load', function() { | |
var script = document.createElement("script"); | |
document.body.appendChild(script); | |
var links = $('.flex-item-watchlist-controls a[href^="/unwatch/"]'); | |
for(let idx in links) { | |
let link = links[idx]; |
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
/* you need discord-rpc and a discord application in your dev page for this to work */ | |
/* uses the Now Playing Simple plugin in foobar */ | |
/* settings.json: | |
{ | |
"client_id": "[bot client id]", | |
"nowplaying_file": "D:/foobar.nowplaying.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
// I apologize in advance for the unreadable code. :( | |
// -- | |
// -- REVISION 3 | |
// -- February 3rd, 2017 01:04 CST | |
// -- | |
const Discord = require('discord.js'); | |
const DiscordClient = new Discord.Client(); | |
const fs = require('fs'); |
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
class Txfnums(): | |
def __init__(self): | |
self.nums = [ | |
[ | |
0, 1, 0, | |
1, 0, 1, | |
1, 0, 1, | |
0, 1, 0 | |
], |
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/python | |
import subprocess | |
import os | |
import random | |
valid_extensions = [".jpg", ".png"] | |
wallpapers = [] | |
output = subprocess.run("wpg -l".split(" "), stdout=subprocess.PIPE).stdout.decode("UTF-8") |
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/python | |
import sys; | |
points = {}; | |
for char in "eaionrtlsu": | |
points[char] = 1; | |
for char in "dg": | |
points[char] = 2; |
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/python | |
import os; | |
import pickle; | |
from subprocess import check_output; | |
from subprocess import Popen; | |
from mpd import MPDClient; | |
run_dir = os.environ.get("XDG_RUNTIME_DIR"); |
NewerOlder