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
#NoEnv | |
Gui, Font, s36, Arial | |
Gui, Add, Text, x10 y10 w760 h50 Center, MODSTER 2.0 | |
Gui, Font, s12 | |
Gui, Add, Groupbox, x10 y80 w760 h110, Where is the Minetest folder? | |
Gui, Font, s22 | |
Gui, Add, Edit, x20 y110 w690 h40 vMinetestPath gCheckMinetest | |
Gui, Add, Button, x710 y110 w50 h40 gSelectMinetest, ... |
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
#NoEnv | |
/* | |
SimplePing | |
========== | |
AHK library providing a variety of ICMP pinging-related functionality. | |
Examples | |
-------- |
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
#NoEnv | |
#Warn All | |
#Warn LocalSameAsGlobal, Off | |
#Persistent | |
/* | |
Speech Recognition | |
================== | |
A class providing access to Microsoft's SAPI. Requires the SAPI SDK. |
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
#NoEnv | |
/* | |
Basic example: | |
Heap := new BinaryHeap | |
For Index, Value In [10,17,20,30,38,30,24,34] | |
Heap.Add(Value) | |
MsgBox % Heap.Peek() | |
Loop, 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
/* | |
Anthony Zhang | |
Spinning Thing source code for PIC16F684 microcontrollers compiling with MikroC. | |
*/ | |
#define PIN1 PORTA.RA0 | |
#define PIN2 PORTA.RA1 | |
#define PIN3 PORTA.RA2 | |
#define PIN4 PORTC.RC0 | |
#define PIN5 PORTC.RC1 |
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
// ==UserScript== | |
// @name uWaterloo Learn Login | |
// @namespace uberi | |
// @description Keep the user logged into LEARN while the tab is open | |
// @include https://learn.uwaterloo.ca/* | |
// @match https://learn.uwaterloo.ca/* | |
// @version 1.0 | |
// @run-at document-start | |
// ==/UserScript== |
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
path = "data.json" | |
new_path = "normalized_data.json" | |
from urllib.parse import urlparse, parse_qs | |
import json | |
users = { | |
"fbid:100001608518631": "Anthony Zhang", | |
"fbid:1538370516": "Keri Warr", | |
"fbid:814604197": "Daniel Hopper", |
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
path = "normalized_data.json" | |
user = "Keri Warr" | |
import json, sys, re | |
import random | |
from collections import defaultdict | |
data = json.load(open(path, "r")) | |
START, END = 0, 1 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title>WARR NEVER CHANGES</title> | |
<style> | |
body { | |
background: black; | |
overflow: hidden; | |
} |
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
image_path = "HOPE.png" | |
from mpl_toolkits.mplot3d import Axes3D | |
from matplotlib import pyplot | |
from PIL import Image | |
fig = pyplot.figure() | |
axis = fig.add_subplot(1, 1, 1, projection="3d") # 3D plot with scalar values in each axis | |
im = Image.open(image_path) |