Skip to content

Instantly share code, notes, and snippets.

private void LandfallGods(string message, string caller)
{
caller = caller.ToLower();
if (!caller.Equals("landfall_games"))
{
return;
}
message = message.ToLower();
try
{
@anarcie
anarcie / DuckBot.js
Last active June 9, 2017 20:07
Duck Bot
var DuckBot = function(words, users){
//Settings
this.needles = words;
this.hayStacks = users;
this.rateLimit = 30000; // milliseconds
this.debug = true;
//Properties
this.rateLock = false;
import requests, json, os, sqlite3
sub_url = 'https://www.iceposeidon.com/api/v1/subscriptions'
subs_count = 0;
subs_tier_1 = 0;
subs_tier_2 = 0;
subs_tier_3 = 0;
sub_tier_1_cost = 4.99
sub_tier_2_cost = 9.99
LeafLaura is Tier 1
moon strobes is Tier 2
Riven is Tier 1
Drew is Tier 3
Gimbap is Tier 2
XtrecK is Tier 3
YoungJilker is Tier 2
Voltrex is Tier 1
Mike B is Tier 1
Prophet is Tier 3
@anarcie
anarcie / thermo_main.ino
Created June 29, 2017 23:29
ThermoStat
// include the library code:
#include <LiquidCrystal.h>
#include <RCSwitch.h>
#define aref_voltage 3.3
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
int tempPin = 0;
int tempReading;
@anarcie
anarcie / 4chan_Radio.py
Created October 30, 2017 21:26
4Chan Radio
from __future__ import unicode_literals
import requests,youtube_dl,os,shutil, isodate, random, re, string
import json
import time
import re, sys
import subprocess
import datetime
#Globals
@anarcie
anarcie / vpn.bat
Created June 7, 2019 15:24
VPN CLI!
@echo OFF
SET CURDIR=%cd%
SET CLIPATH="C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client"
SET ARG_HOST=%1
SET ACT_HOST=''
ECHO Arg1: %ARG_HOST%
GOTO SWITCH
:DEFAULT_HOST