Skip to content

Instantly share code, notes, and snippets.

View kylemcdonald's full-sized avatar

Kyle McDonald kylemcdonald

View GitHub Profile
@ssahu
ssahu / fb_profile_img.sh
Created June 13, 2015 00:03
Download fb-profile-images
#!/bin/bash
# This script downloads the profile images of facebook profile ids from 1 to 10
# change the start and end ids and use it - does not require any login
for i in {1..10}; do wget http://graph.facebook.com/picture?id=$i&width=10000 -O $i.jpg; done
@maxtruxa
maxtruxa / Antonyms.md
Last active May 9, 2024 20:14
A list of common terms used in programming and their respective antonyms.

Antonym List

Note: The table headings (positive/negative) are not necessarily meaningful.

Positive Negative
acquire release
add remove (e.g. an item), subtract (arithmetic)
advance retreat
allocate deallocate (correct), free (common)
allow deny
@comex
comex / wormdump.c
Created April 9, 2015 06:07
Some old broken code in case it helps anyone
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/kern_event.h>
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <net/ethernet.h>
@rygorous
rygorous / gist:c651b3a2be11cf7a384a
Created March 13, 2015 02:06
Re-re-re-rediscovery...
(On a math problem, the solutions of which have been independently discovered in
essentially every field that encountered it, because nobody seems to come up
with a name that others think to search for. This is copy & pasted from an old
mail.)
It's actually easy to find papers on this because this problem has been chewed on by dozens
of researchers over decades, all of them unaware of each other's work (...great).
Here's some pointers:
@yanofsky
yanofsky / LICENSE
Last active May 7, 2024 12:36
A script to download all of a user's tweets into a csv
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
@nrk
nrk / command.txt
Created April 2, 2012 19:19
Using ffprobe to get info from a file in a nice JSON format
ffprobe -v quiet -print_format json -show_format -show_streams "lolwut.mp4" > "lolwut.mp4.json"
@jamiew
jamiew / google_twunter_lol
Created July 28, 2011 20:34
All the dirty words from Google's "what do you love" project: http://www.wdyl.com/
easterEgg.BadWorder.list={
"4r5e":1,
"5h1t":1,
"5hit":1,
a55:1,
anal:1,
anus:1,
ar5e:1,
arrse:1,
arse:1,