Skip to content

Instantly share code, notes, and snippets.

Avatar

Gareth Pulham AbstractBeliefs

View GitHub Profile
View gist:92084cb4be44ee31f8ff3133cc3d425f
Cyph — Next-gen Keybase alternative — Special invite
Ryan Lester <ryan@cyph.com>
Attachments
Sat, 8 Aug, 04:12 (5 days ago)
to Gareth
Hey Gareth,
You've probably heard by now that Keybase was acquired by Zoom.
View gist:cc766d37cc4397cbadc9df400f30f2dd
<< PRIVMSG nickserv :taxonomy kline
>> :NickServ!NickServ@services. NOTICE kline :Taxonomy for kline:
>> :NickServ!NickServ@services. NOTICE kline :abc : def
>> :NickServ!NickServ@services. NOTICE kline :foo : bar:baz
View gist:f777756506e0089fcf2936dbd43a9114
What the fuck did you just fucking say about me, you little bitch? I'll have you know I graduated top of my class in
freenode oper school, and I've been involved in numerous secret raids on efnet, and I have over 300 confirmed klines. I
am trained in github warfare and I'm the top antispammer in the entirety of freenode-dungeon. You are nothing to me but
just another luser. I will wipe you the fuck out with precision the likes of which has never been seen before on this
network, mark my fucking words. You think you can get away with saying that shit to me over the Internet? Think again,
fucker. As we speak I am contacting my secret network of chanops across the network and your IP is being traced right
now so you better prepare for the storm, maggot. The storm that wipes out the pathetic little thing you call your znc.
You're fucking dead, kid. I can be anywhere, anytime, and I can kill you in over seven hundred ways, and that's just
with the base irc rfc. Not only am I extensively trained in hardchat combat
View .vimrc
set title " Title enabled in terminal bar
set ls=2 " always show status
set hlsearch " highlight search results
set tags=tags; " Recursively find tagfiles
nnoremap <F5> :tabedit
nnoremap <F6> :tabp<CR>
nnoremap <F7> :tabn<CR>
nnoremap <F8> :tabclose<CR>
View E-7.txt
Aircraft: E-7 Wedgetail
RAF Numbers: 0 (5 on order)
Location: Will be at RAF Waddington, 8 Sqn to transition to it
Ideal Speed: 455 kts
Ideal Height: 39,000-41,000 ft
Range: 3,500 nm
Roles: Airborne Early Warning
Sensors/Weapons: Northrop Grumman Multirole Electronic Scanned Array Radar (MESA)
Electronic Support Measures (ESM) package
Electronic Warfare Self-Protection (EWSP) Package
View sum.py
def sum(sequence):
accumulator = 0
for element in sequence:
accumulator += element
return accumulator
View centresnapp.patch
diff --git a/screenlayout/snap.py b/screenlayout/snap.py
index 4ae3d25..c596b59 100644
--- a/screenlayout/snap.py
+++ b/screenlayout/snap.py
@@ -34,6 +34,9 @@ class Snap(object):
self.horizontal.add(i[0].top-size.height)
self.horizontal.add(i[0].top+i[1].height-size.height)
+ self.vertical.add((i[0].left + i[1].width/2)-size.width/2)
+ self.horizontal.add((i[0].top + i[1].height/2)-size.height/2)
View centresnap.py
diff --git a/screenlayout/snap.py b/screenlayout/snap.py
index 4ae3d25..c596b59 100644
--- a/screenlayout/snap.py
+++ b/screenlayout/snap.py
@@ -34,6 +34,9 @@ class Snap(object):
self.horizontal.add(i[0].top-size.height)
self.horizontal.add(i[0].top+i[1].height-size.height)
+ self.vertical.add((i[0].left + i[1].width/2)-size.width/2)
+ self.horizontal.add((i[0].top + i[1].height/2)-size.height/2)
View test_random.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.