Skip to content

Instantly share code, notes, and snippets.

View dweekly's full-sized avatar
🙃

David E. Weekly dweekly

🙃
View GitHub Profile
Verifying myself: My Bitcoin username is +dweekly. https://onename.io/dweekly
@dweekly
dweekly / gist:3211209
Created July 30, 2012 22:35
iWebInspector Crash w/iOS Simulator (PhoneGap 2.0.0)
Process: iWebInspector [6889]
Path: /Applications/iWebInspector.app/Contents/MacOS/iWebInspector
Identifier: mobi.firt.iWebInspector
Version: 0.91 (1)
Code Type: X86-64 (Native)
Parent Process: launchd [250]
User ID: 501
Date/Time: 2012-07-30 15:33:32.075 -0700
OS Version: Mac OS X 10.8 (12A269)
@dweekly
dweekly / gist:5873953
Last active December 19, 2015 01:09
Get Emscripten Running on OS X 10.8
# Based on https://github.com/kripken/emscripten/wiki/Tutorial
# prerequisites
cd ~/
brew install node
sudo ln -s /usr/bin/python2.7 /usr/bin/python2
curl http://llvm.org/releases/3.2/clang+llvm-3.2-x86_64-apple-darwin11.tar.gz > llvm.tgz
tar xzvf llvm.tgz
ln -s clang+llvm-3.2-x86_64-apple-darwin11 llvm
@dweekly
dweekly / gitsetup.sh
Created July 26, 2013 05:50
How to set up a new repository with GitHub
# This sounds a little ridiculous but reliably setting up a new repository on GitHub
# with some initial local source was a little more involved than I expected.
# Visit https://github.com/new and create your repo PROJECT name.
# Now cd to your project directory. You should be at the top level.
git init
git remote add origin git@github.com:USERNAME/PROJECT.git
git branch --set-upstream master origin/master
git pull
# at this point you might need to resolve any .gitignore or README.MD conflicts you might have.
@dweekly
dweekly / mp3acm.c
Created October 19, 2010 00:45
Windows Snippet To Use Built-in ACM MP3 Decoder
#include <windows.h>
#include <stdio.h>
#include <assert.h>
#include <mmreg.h>
#include <msacm.h>
#define MP3_BLOCK_SIZE 522
#define SOURCE_MP3 "C:\\audiograbber\\At The Club Last Night\\At_The_Club_Last_Night_-_Haven't_You_Heard.mp3"
#define OUTPUT_PCM_FILE "c:\\dump.pcm"
@dweekly
dweekly / gist:c12458128d541d9ba8c1c449fcf3c042
Created August 19, 2017 23:02
FB Sex Spam Rabbit Hole 3
https://www.facebook.com/profile.php?id=100021634270674&fref=jewel
Hello dear,
I will introduce my latest sex video ==> https://goo.gl/Qyiz1G
Feel the latest sensation 
<3 
<3
# https://www.facebook.com/profile.php?id=100021987032074&fref=jewel
# My link to see photos, vidio, that will make your eyes bulging [heart] https://goo.gl/j1XPuk
Last login: Tue Sep 5 09:00:45 on ttys001
dweekly-macbookpro3:~ dweekly$ curl -v -v "https://goo.gl/j1XPuk"
* Trying 2607:f8b0:4005:801::200e...
* TCP_NODELAY set
* Connected to goo.gl (2607:f8b0:4005:801::200e) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
* Server certificate: *.google.com
@dweekly
dweekly / comcast.html
Created July 17, 2017 00:45
Comcast Injected HTML
<!--
Page Loading starts on 2017/07/16 20:35:47, Total time elapsed to render is 0.14907363 seconds, Server: pub2w.slate.com
-->
<script language="JavaScript" type="text/javascript">
// Copyright (C) 2015 Comcast Cable Communications, LLC
// Contact Us: http://customer.xfinity.com/contact-us/
// Intended use of this message is to display critical and time sensitive notifications to customers.
/*
This program is free software; you can redistribute it and/or
@dweekly
dweekly / gist:e0fa533881aaf61a3c49ce9a4017060d
Created January 4, 2018 01:11
stupid blockstack thing
Verifying my Blockstack ID is secured with the address 1JRQ5TqtLkPb135YTUYEuDSi5fguQJhbB3 https://explorer.blockstack.org/address/1JRQ5TqtLkPb135YTUYEuDSi5fguQJhbB3
@dweekly
dweekly / gist:36bcb4282bb0070a9611bbe0af960e15
Created August 18, 2017 20:51
FB Sex Spam Rabbit Hole #2
# Source spam FB profile https://www.facebook.com/profile.php?id=100021530630872
# included profile pic caption:
# "Hello dear, I will introduce my latest sex video ==> https://goo.gl/pv9rZg Feel the latest sensation <3 <3"
dweekly-macbookpro3:~ dweekly$ curl -v -v https://goo.gl/pv9rZg
* Trying 2607:f8b0:4005:808::200e...
* TCP_NODELAY set
* Connected to goo.gl (2607:f8b0:4005:808::200e) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
* Server certificate: *.google.com