This file contains hidden or 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
Time for the annual unnecessary-analysis-of-isaac’s-text-messages: | |
This year, the relatively-most-common words: | |
Me Alex Abhi Julia George Deborah Emily Ocko | |
0 hahah julia's upto kk okey hahaa watcha na | |
1 till downstairs aite dunno dokey hihi bitch subway | |
2 tired gotcha sixers alex didnt hbu porch megs | |
3 headed janki walnut thanks thats lololol dope meg | |
4 hah julia pm ha dont etc suburbs st | |
5 naw ken quizzo guys its hooray science breakfast | |
6 hahahah min otherwise well im stephen comin |
This file contains hidden or 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
-- Capture packets on a port with high rate and accurate timestamps | |
local lm = require "libmoon" | |
local device = require "device" | |
local log = require "log" | |
local memory = require "memory" | |
local stats = require "stats" | |
local pcap = require "pcap" | |
function configure(parser) | |
parser:argument("dev_in", "Device on which to capture from"):args(1):convert(tonumber) |
This file contains hidden or 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
-- Capture packets on a port with high rate and accurate timestamps | |
local lm = require "libmoon" | |
local device = require "device" | |
local log = require "log" | |
local memory = require "memory" | |
local stats = require "stats" | |
local pcap = require "pcap" | |
function configure(parser) | |
parser:argument("dev_in", "Device on which to capture from"):args(1):convert(tonumber) |
This file contains hidden or 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
int rt_id_routing(struct msu_type *type, struct local_msu *sender, | |
struct msu_msg *msg, struct msu_endpoint *output) { | |
struct routing_table *table = get_type_from_route_set(&sender->routes, type->id); | |
if (table == NULL) { | |
log_error("No routes available from msu %d to type %s (%d)", | |
sender->id, type->name, type->id); | |
return -1; | |
} | |
// Line MAX_ENDPOINTS could be replaced by a call to get_n_endpoints() |
This file contains hidden or 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
import re | |
import argparse | |
import os | |
import time | |
import subprocess | |
from subprocess import Popen | |
parser = argparse.ArgumentParser(description='get panopto files') | |
parser.add_argument('curl', type=str) | |
parser.add_argument('out', type=str) |
This file contains hidden or 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
#include <vector> | |
#include <string> | |
#include <iostream> | |
class BaseCommand { | |
public: | |
virtual void execute() = 0; | |
}; | |
class BaseExecutor { |
This file contains hidden or 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
import itertools | |
import logging | |
import re | |
import random | |
import curses | |
import time | |
import locale | |
import codecs | |
import sys |
This file contains hidden or 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
import urllib2 | |
from BeautifulSoup import BeautifulSoup | |
import re | |
#specify the url you want to query | |
url = "https://en.wikipedia.org/wiki/List_of_Off_the_Air_episodes" | |
#Query the website and return the html to the variable 'page' | |
page = urllib2.urlopen(url) |
This file contains hidden or 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/bash | |
while [[ 1 ]]; do | |
for i in `seq 1 10`; do | |
echo -e '\a\c' | |
sleep .1 | |
done | |
sleep 1; | |
done | |
## Example: |
This file contains hidden or 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
from .permanent_memoization import memoize_to_file, memoize_to_folder |