Skip to content

Instantly share code, notes, and snippets.

View resba's full-sized avatar
👀

Matt Sowden resba

👀
View GitHub Profile
@resba
resba / t.py
Created January 31, 2013 22:18
HowDoIPython
class TestClass:
def __init__(one,two,three):
self.one = one
self.two = two
self.three = three
def getOne():
return self.one
def getTwo():
@resba
resba / mavlink-a.py
Created April 2, 2013 16:33
MAVLink for Ardupilot
@resba
resba / keybase.md
Last active February 2, 2016 17:00
Keybase

Keybase proof

I hereby claim:

  • I am yuukari on github.
  • I am yuuki (https://keybase.io/yuuki) on keybase.
  • I have a public key whose fingerprint is 066B 88AA 9DC0 F289 5962 8D8D 07BB 3992 397C A1D8

To claim this, I am signing this object:

@resba
resba / zalgo.ja
Created November 19, 2018 18:17
zalgo from eeemo
<script type="text/javascript">
/* <![CDATA[ */
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-33315451-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
@resba
resba / yuuk.ino
Created March 17, 2019 00:32
silly
/*********************
Example code for the Adafruit RGB Character LCD Shield and Library
This code displays text on the shield, and also reads the buttons on the keypad.
When a button is pressed, the backlight changes color.
**********************/
// include the library code:
@resba
resba / key64gen.py
Created August 23, 2022 14:39
the best function
class StringKeyGenerator(object):
def __init__(self, len=64):
self.lenght = len
def __call__(self):
return ''.join(random.choice(string.ascii_letters + string.digits) for x in range(self.lenght))
def salt(self):
return ''.join(random.choice(string.ascii_uppercase) for x in range(self.lenght))
@resba
resba / profanity.txt
Created July 18, 2023 15:54
Check list for common profanity to ensure programmers arent leaving swears in production.
fuck
shit
damn
motherfucker
shitting
shitty
fucking
fucker
fucks
damnit