Skip to content

Instantly share code, notes, and snippets.

@xie
xie / config.xml
Last active April 26, 2020 07:11
<config>
<!-- Client Control -->
<fold-anon v='true'/>
<!-- Folding Slot Configuration -->
<gpu v='true'/>
<!-- Slot Control -->
<power v='full'/>
@xie
xie / fortnite.gif
Last active December 5, 2021 03:04
fortnite.gif
@xie
xie / woof.gif
Last active November 7, 2019 01:13
woof.gif
@xie
xie / itme.gif
Created October 10, 2019 19:30 — forked from epk/itme.gif
itme.gif
@xie
xie / itme.gif
Created October 10, 2019 19:30 — forked from epk/itme.gif
itme.gif
@xie
xie / MoneyBlesser9000.js
Created July 7, 2019 17:37
Paste in carleton fee page :)
var MoneyBlesser9000 = {
BlessMe: function() {
let uglyFallFees = document.getElementById('fee_table_201930');
let uglyWinterFees = document.getElementById('fee_table_202010');
MoneyBlesser9000.DougFordify(uglyFallFees);
MoneyBlesser9000.DougFordify(uglyWinterFees);
},
DougFordify: function(nasty) {
for (let i = 1, sugma; sugma = nasty.rows[i]; i++) {
let ligma = sugma.cells[5].firstElementChild;
@xie
xie / emojis
Last active September 30, 2023 16:24
Emoji list
["😄","😃","😀","😊","☺️","😉","😍","😘","😚","😗","😙","😜","😝","😛","😳","😁","😔","😌","😒","😞","😣","😢","😂","😭","😪","😥","😰","😅","😓","😩","😫","😨","😱","😠","😡","😤","😖","😆","😋","😷","😎","😴","😵","😲","😟","😦","😧","😈","👿","😮","😬","😐","😕","😯","😶","😇","😏","😑","👲","👳","👮","👷","💂","👶","👦","👧","👨","👩","👴","👵","👱","👼","👸","😺","😸","😻","😽","😼","🙀","😿","😹","😾","👹","👺","🙈","🙉","🙊","💀","👽","💩","🔥","✨","🌟","💫","💥","💢","💦","💧","💤","💨","👂","👀","👃","👅","👄","👍","👎","👌","👊","✊","✌️","👋","✋","👐","👆","👇","👉","👈","🙌","🙏","☝️","👏","💪","🚶","🏃","💃","👫","👪","👬","👭","💏","💑","👯","🙆","🙅","💁","🙋","💆","💇","💅","👰","🙎","🙍","🙇","🎩","👑","👒","👟","👞","👡","👠","👢","👕","👔","👚","👗","🎽","👖","👘","👙","💼","👜","👝","👛","👓","🎀","🌂","💄","💛","💙","💜","💚","❤️","💔","💗","💓","💕","💖","💞","💘","💌","💋","💍","💎","👤","👥","💬","👣","💭","🐶","🐺","🐱","🐭","🐹","🐰","🐸","🐯","🐨","🐻","🐷","🐽","🐮","🐗","🐵","🐒","🐴","🐑","🐘","🐼","🐧","🐦","🐤","🐥","🐣","🐔","🐍","🐢","🐛","🐝","🐜","🐞","🐌","🐙","🐚","🐠","🐟","🐬","🐳","🐋","🐄","🐏","🐀","🐃","🐅","🐇","🐉","🐎","🐐","🐓","🐕","🐖","🐁","🐂","🐲","🐡","🐊","🐫","🐪","🐆","🐈","🐩","🐾","💐","🌸","🌷"
@xie
xie / midtermanswers.py
Last active March 17, 2017 19:57
This is the rundown for what I got.
####Last Question####
def counter(str1):
a = {}
templist = []
templist = str1.split()
print(templist)
for i in templist:
print(i)
if i in a:
a[i] = a.get(i,0)+1
@xie
xie / midterm2.py
Last active March 17, 2017 17:48
midterm2 - hughxie
'''
Dropping this here if anyone finds it useful.
PLS nobody talk about efficiency lol
'''
####Q1####
def both(list1, list2):
list_3 = list(set(list1 + list2))
list_4 = []
print(list_3)