Skip to content

Instantly share code, notes, and snippets.

View elimisteve's full-sized avatar
💭
Be more ambitious. The future depends on it.

Steve Phillips elimisteve

💭
Be more ambitious. The future depends on it.
View GitHub Profile
@elimisteve
elimisteve / keybase.md
Created March 7, 2014 18:17
keybase prove github

Keybase proof

I hereby claim:

  • I am elimisteve on github.
  • I am elimisteve (https://keybase.io/elimisteve) on keybase.
  • I have a public key whose fingerprint is 8C26 6865 BB14 38C5 8012 F92C 7295 C51C 3F8A A1E2

To claim this, I am signing this object:

@elimisteve
elimisteve / keybase.md
Created March 8, 2014 18:23
keybase.md

Keybase proof

I hereby claim:

  • I am elimisteve on github.
  • I am elimisteve (https://keybase.io/elimisteve) on keybase.
  • I have a public key whose fingerprint is 8C26 6865 BB14 38C5 8012 F92C 7295 C51C 3F8A A1E2

To claim this, I am signing this object:

@elimisteve
elimisteve / Allow-SSLv2-ClientHello-go1.4.patch
Created January 14, 2015 05:59
Patch to add support for SSLv2 handshakes to Go 1.4's standard library
diff -rupN src/crypto/tls/conn.go src/crypto/tls/conn.go
--- src/crypto/tls/conn.go 2014-12-10 17:19:32.000000000 -0800
+++ src/crypto/tls/conn.go 2015-01-13 19:10:01.567729660 -0800
@@ -56,6 +56,8 @@ type Conn struct {
hand bytes.Buffer // handshake data waiting to be read
tmp [16]byte
+
+ sslv2data []byte
}
Failed to load resource: the server responded with a status of 503 (Service Unavailable)
swarm.fund/:1 XMLHttpRequest cannot load https://swarm-rome.herokuapp.com/newsletter/subscribers/add. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://swarm.fund' is therefore not allowed access. The response had HTTP status code 503.
vendor.js:5 TypeError: Cannot read property 'message' of null
at app.js:1
at vendor.js:5
at m.$eval (vendor.js:6)
at m.$digest (vendor.js:5)
at m.$apply (vendor.js:6)
at f (vendor.js:5)
at s (vendor.js:5)
ubuntu@ttba:~/cjdns$ ./contrib/python/peerStats
Traceback (most recent call last):
File "./contrib/python/peerStats", line 50, in <module>
main()
File "./contrib/python/peerStats", line 39, in main
at.peerStats(cjdns,verbose=True,human_readable=human_readable);
File "/home/ubuntu/cjdns/contrib/python/cjdnsadmin/adminTools.py", line 88, in peerStats
peers = ps['peers']
KeyError: 'peers'
@elimisteve
elimisteve / gist:3e6453da073a2d32ce6b
Created July 30, 2015 04:33
cjdns error: peerStats KeyError: 'version'
ubuntu@ttba:~/cjdns$ peerStats
Traceback (most recent call last):
File "/usr/local/bin/peerStats", line 73, in <module>
peer['version'],
KeyError: 'version'
@elimisteve
elimisteve / about.md
Created August 12, 2011 09:41 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
@elimisteve
elimisteve / schema.xml
Created January 27, 2012 00:59 — forked from hubgit/schema.xml
schema.xml for storing Wikipedia data in Solr
<?xml version="1.0" encoding="UTF-8" ?>
<schema name="wikipedia" version="1.2">
<types>
<fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/>
<fieldType name="int" class="solr.TrieIntField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
<fieldType name="text" class="solr.TextField" positionIncrementGap="100">
<analyzer type="index">
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="1" splitOnCaseChange="0" splitOnNumerics="0" stemEnglishPossessive="1"/>
@elimisteve
elimisteve / Makefile
Created February 8, 2012 17:01
Go WebSocket Example
run: clean example
./example
include $(GOROOT)/src/Make.inc
TARG=example
GOFILES=\
main.go\
hub.go\
conn.go
@elimisteve
elimisteve / Makefile
Created February 8, 2012 17:02
Go WebSocket Example
run: clean example
./example
include $(GOROOT)/src/Make.inc
TARG=example
GOFILES=\
main.go\
hub.go\
conn.go