Skip to content

Instantly share code, notes, and snippets.

@howdydoody123
howdydoody123 / pir_wifi.ino
Created February 12, 2015 00:41
A sketch for connecting a PIR to wireless and sending an email when motion is detected.
/*
The MIT License (MIT)
Copyright (c) 2015 Sean M Beck
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
'''
Author: Sean Beck
A script for downloading a Twitter user's
entire tweet archive. Note that it is limited
to only grabbing up to 3200 of a user's tweets
per a Twitter limitation mentioned on their documentation
page: https://dev.twitter.com/rest/reference/get/statuses/user_timeline
'''
import csv
@howdydoody123
howdydoody123 / analyze.py
Last active November 4, 2019 13:20
Simple script for analyzing keywords about Ferguson protests. Requires tweepy 2.3.0. Note that you need an API key. store in file called 'config', each key on own line, in following order: API_KEY, API_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET
'''
A script for analyzing twitter stats on Ferguson
'''
import json
import re
import tweepy
def get_api():
'''
@howdydoody123
howdydoody123 / bad.py
Last active August 29, 2015 14:05
A pre-commit hook for checking PEP 8 compliance
import os
def some_function(a, b):
return a*b
if __name__ == '__main__':
print some_function(2,
3)

Bomb Lab necessities

The bomb lab is most easily completed if you understand the following tools and commands. Also, if I am describing a program, assume that you run it from command line.

Strings

In case you have never used strings before it basically just tells you all the strings in an executable. If I were to run it on the bomb I would simply run

@howdydoody123
howdydoody123 / catart
Created August 22, 2013 02:12
Cat ASCII art that I use on my inital login prompt
_.-| | |\__/,| (`\
{ | | |o o |__ _) )
"-.|___| _.( T ) ` /
.--'-`-. _((_ `^--' /_< \
.+|______|__.-||__)`-'(((/ (((/