Skip to content

Instantly share code, notes, and snippets.

View SpencerSharkey's full-sized avatar

Spencer SpencerSharkey

View GitHub Profile
Thread 16 (Thread 0x7f7a3cdff700 (LWP 177)):
#0 0x00007f7a4ee5cbf0 in __GI___nanosleep (requested_time=requested_time@entry=0x7f7a3cdfd650, remaining=remaining@entry=0x7f7a3cdfd650)
at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1 0x00007f7a4db8a419 in std::this_thread::sleep_for<long, std::ratio<1l, 1000000000l> > (__rtime=...) at /usr/include/c++/8/chrono:465
#2 std::this_thread::sleep_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=...)
at /usr/include/c++/8/thread:395
#3 ivm::(anonymous namespace)::timer_thread_t::entry (this=0x7f7a45ee97a0) at ../src/lib/timer.cc:96
#4 ivm::(anonymous namespace)::timer_thread_t::<lambda()>::operator() (__closure=<optimized out>) at ../src/lib/timer.cc:89
#5 std::__invoke_impl<void, ivm::(anonymous namespace)::timer_thread_t::timer_thread_t(std::shared_ptr<ivm::timer_data_t>)::<lambda()> > (__f=...)
at /usr/include/c++/8/bits/invoke.h:60
// Setup a KV namespace to store our persistent account balance info in.
const ecoStorage = new pylon.KVNamespace('ecoBalances');
// A convinence function to retrieve a user's balance, defaults to 0.
async function getBalance(userId: discord.Snowflake): Promise<number> {
const bal = await ecoStorage.get<number>(userId);
return bal || 0;
}
declare module discord {
const enum Event {
READY = "READY",
RESUMED = "RESUMED",
CHANNEL_CREATE = "CHANNEL_CREATE",
CHANNEL_UPDATE = "CHANNEL_UPDATE",
CHANNEL_DELETE = "CHANNEL_DELETE",
CHANNEL_PINS_UPDATE = "CHANNEL_PINS_UPDATE",
GUILD_BAN_ADD = "GUILD_BAN_ADD",
GUILD_BAN_REMOVE = "GUILD_BAN_REMOVE",
#!/bin/bash
swapoff -a
echo 0 > /proc/sys/net/ipv4/conf/default/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
sudo apt-get install -y docker.io
sudo systemctl enable docker
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add
apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-xenial main"
apt-get install -y kubeadm=1.14.3-00 kubectl=1.14.3-00 kubelet=1.14.3-00

Keybase proof

I hereby claim:

  • I am spencersharkey on github.
  • I am spencersharkey (https://keybase.io/spencersharkey) on keybase.
  • I have a public key ASABJi6tqB24O_EK9oBvrZlAVTKwOowlgxO8-FzD5e-tKgo

To claim this, I am signing this object:

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>win10</name>
<uuid>da7a2afa-8f62-482b-bdee-08e857a473b9</uuid>
<memory unit='KiB'>16777216</memory>
<currentMemory unit='KiB'>16777216</currentMemory>
<memoryBacking>
<hugepages/>
</memoryBacking>
<vcpu placement='static'>6</vcpu>
<cputune>
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Play loop="5" digits="w9ww9w9ww9w9ww9w9"></Play>
</Response>
_ _ _____ _ ____ _
| | | | __ \| | / __ \| |
| | | | |__) | | | | | | |
| | | | ___/| | | | | | |
| |__| | |_ | |___| |__| | |____
\____/|_(_) |______\____/|______|
--- -- MUH TUNNELS -- ---
from disco.bot import Bot, Plugin
class ThePlugin(Plugin):
# Plugins provide an easy interface for listening to Discord events
@Plugin.listen('ChannelCreate')
def on_channel_create(self, event):
event.channel.send_message('Woah, a new channel huh!')
# They also provide an easy-to-use command component
@Plugin.command('ping')
@SpencerSharkey
SpencerSharkey / dethklok-us-tx-2-highway_tampa_20170717_2130.txt
Created July 17, 2017 21:31
Error output from dethklok-us-tx-2-highway_tampa_20170717_2130.txt
dethklok-us-tx-2\highway_tampa\mapstart\1500324645.79\mapend\1500327052.32\win\1\gm\1\m\14\v\bf2142\pc\39\rwa\1\ban_0\0\c_0\0\capa_0\2\cpt_0\4\crpt_0\20\cs_0\0.0\dass_0\0\dcpt_0\0\dstrk_0\3\dths_0\6\gsco_0\20\hls_0\0\kick_0\0\klla_0\2\klls_0\2\klstrk_0\1\kluav_0\0\nick_0\ luex7\ncpt_0\5\pdt_0\{}\pdtc_0\0\pid_0\2962322\resp_0\1\rnk_0\7\rnkcg_0\0\rps_0\0\rvs_0\0\slbspn_0\0\sluav_0\0\suic_0\0\tac_0\0\talw_0\5\tas_0\0\tasl_0\0\tasm_0\1133\tcd_0\0\tcrd_0\0\tdmg_0\1\tdrps_0\0\tds_0\0\tgd_0\0\tgr_0\0\tkls_0\0\toth_0\26\tots_0\120\tt_0\1138\tvdmg_0\0\twsc_0\18\t_0\2\mvns_0\1876200\mvks_0\1\mvns_0\2357014\mvks_0\1\vrkls-4_0\0\vrkls-6_0\0\vrkls-0_0\0\vrkls-1_0\0\vrkls-2_0\0\atp8_0\35\vbf-0_0\108\vbf-1_0\0\vbf-2_0\0\vbf-4_0\0\vbf-6_0\109\vkls-2_0\0\vkls-1_0\0\vkls-0_0\0\vkls-6_0\0\vkls-4_0\0\vtp-4_0\74\vtp-6_0\150\vtp-0_0\48\vtp-1_0\116\vtp-2_0\35\vbh-2_0\1\vbh-0_0\12\vbh-1_0\0\vbh-6_0\15\vbh-4_0\0\vdstry-2_0\0\vdstry-1_0\0\vdstry-0_0\0\vdstry-6_0\1\vdstry-4_0\1\vdths-1_0\0\vdths-0_0\0\vdths-2_0\0\vdths-4_0\0\vdths-6_0\