Skip to content

Instantly share code, notes, and snippets.

View crowell's full-sized avatar
🐢
I may be slow to respond.

Jeffrey Crowell crowell

🐢
I may be slow to respond.
  • Boston, MA
View GitHub Profile
/*
Hello World example made by Aurelio Mannara for ctrulib
This code was modified for the last time on: 12/12/2014 21:00 UTC+1
This wouldn't be possible without the amazing work done by:
-Smealum
-fincs
-WinterMute
-yellows8
-plutoo
Braintree|red|6
Oak Grove|orange|9
Quincy Adams|red|9
Wonderland|blue|10
Harvard Square|red|16
JFK/UMass|red|17
Sullivan Square|orange|21
Quincy Center|red|24
Broadway|red|26
Community College|orange|27
# Some very simple 'encryption' operations.
# Just for some dumb obsfucation.
class Cipher
def initialize(shuffled)
normal = ('a'..'z').to_a + ('A'..'Z').to_a + ('0'..'9').to_a + [' ']
@map = normal.zip(shuffled).inject(:encrypt => {} , :decrypt => {}) do |hash,(a,b)|
hash[:encrypt][a] = b
hash[:decrypt][b] = a
hash
end
392 ssp = sep;
393 }
394 if (sep == NULL) {
395 /* last successful match */
396 sep = ssp;
397 ssp = oldssp;
398 }
399 assert(sep == rest); /* must exhaust substring */
400 assert(slow(m, ssp, sep, ssub, esub) == rest);
CID 935: Unused value (UNUSED_VALUE) [select issue]
@crowell
crowell / keybase.md
Created April 1, 2015 21:09
keybase proof

Keybase proof

I hereby claim:

  • I am crowell on github.
  • I am crowell (https://keybase.io/crowell) on keybase.
  • I have a public key whose fingerprint is FD0C A91D 0978 D1B4 6E88 91E2 289C A007 436B 590B

To claim this, I am signing this object:

Thanks for writing back in, Jeff.
Uber is a strictly on-demand service, so you can order at any time.
We work hard to make sure that drivers are always available on the system. The app will show you approximately how far away the closest driver is, and then you can request the car so that it arrives to fit your needs.
As a reference, here's how you request a ride.
Let the Uber app find your location via GPS or type in your address or venue manually
Select “Set Pickup Location”
Gmail Jeff Crowell <jeff.crowell@gmail.com>
trip from Boston to Las Vegas
9 messages
Jeff Crowell <crowell@bu.edu> Tue, Jun 30, 2015 at 4:10 PM
To: support@uber.com
Morn,
I'm interested in taking an uber from Boston to Las Vegas next month,
but I'm a bit concerned about the time issues and was wondering if you
could clear up a few things for me!
--- src/third_party/serf/select_openssl.gyp 2015-06-15 18:13:43.000000000 +0000
+++ select_openssl.gyp 2015-07-31 21:12:19.200364892 +0000
@@ -42,15 +42,15 @@
'type': 'none',
'direct_dependent_settings': {
'cflags': [
- '<!@(pkg-config --cflags libssl)',
+ '<!@(pkg-config --cflags openssl)',
],
},
./out/Debug/css_minify_main test.css
[0x000442b1]> izz~bin/sh
vaddr=0x0018c3dd paddr=0x0018c3dd ordinal=17671 sz=8 len=7 section=.rodata type=ascii string=/bin/sh
[0x000442b1]> axt 0x0018c3dd
d 0x442b1 lea rdi, [rip + 0x148125]
d 0xcb945 lea rsi, [rip + 0xc0a91]
d 0xcb6f1 lea rax, [rip + 0xc0ce5]
d 0xcb9c0 lea rdi, [rip + 0xc0a16]
d 0xff97e lea rax, [rip + 0x8ca58]
d 0x70953 lea rdi, [rip + 0x11ba83]
d 0xcbaa0 lea rdi, [rip + 0xc0936]