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 / safe-alexa500.txt
Created May 27, 2016 01:07
The Alexa Top 500 sites using HTTPS
google.com
youtube.com
yahoo.com
wikipedia.org
amazon.com
twitter.com
google.co.in
taobao.com
bing.com
google.co.jp
@elimisteve
elimisteve / goroutines2.go
Last active February 18, 2024 01:52
Programming Challenge: Launch 4 threads, goroutines, coroutines, or whatever your language uses for concurrency, in addition to the main thread. In the first 3, add numbers together (see sample code below) and pass the results to the 4th thread. That 4th thread should receive the 3 results, add the numbers together, format the results as a strin…
// Steve Phillips / elimisteve
// 2013.01.03
// Programming Challenge: Launch 4 threads, goroutines, coroutines, or whatever your language uses for concurrency,
// in addition to the main thread. In the first 3, add numbers together (see sample code below) and pass the results
// to the 4th thread. That 4th thread should receive the 3 results, add the numbers together, format the results as
// a string (see sample code), and pass the result back to `main` to be printed.
//
// Do this as succinctly and readably as possible. _Go!_ #golang #programming #concurrency #challenge
package main
@elimisteve
elimisteve / jobs.md
Created November 7, 2017 08:05
Awesome engineers jobs at world-changing companies
@elimisteve
elimisteve / ncat.md
Last active August 31, 2021 14:58
ncat tricks/examples

ncat trick #1

Run these in 2 terminals, after ncat is installed:

$ ncat -l -p 9999

And on the other one:

@elimisteve
elimisteve / v2wasm.md
Created April 16, 2021 06:11
Compile custom V code to WASM

Compile V Code to WASM

As of 2021.02.11 --

If you don't already have V installed, do so by running

git clone https://github.com/vlang/v
cd v
make
@elimisteve
elimisteve / alexa500-bad-python.txt
Created May 27, 2016 02:07
Alexa Top 500 sites that do NOT use SSL (as detected by a Python script I wrote)
qq.com
360.cn
blogspot.com
aliexpress.com
diply.com
gmw.cn
kat.cr
outbrain.com
go.com
360.com
@elimisteve
elimisteve / json.go
Created December 1, 2018 04:29
Go JSON handlers
package main
import (
"fmt"
"net/http"
log "github.com/Sirupsen/logrus"
"github.com/gorilla/websocket"
)
@elimisteve
elimisteve / now_api.go
Created November 9, 2018 23:54
Trivial Go server
package main
import (
"encoding/json"
"net/http"
"time"
"github.com/gorilla/mux"
)
@elimisteve
elimisteve / 01-code_example.md
Last active September 8, 2018 22:20
Go 2 error handling
@elimisteve
elimisteve / pursuance_pitch.md
Last active November 9, 2017 10:03
Pursuance: elevator pitch

What is Pursuance?

Pursuance is a software tool for effectively organizing individuals to achieve a shared mission.

Our free, open source, and secure Pursuance System software enables participants to: create action-oriented groups called "pursuances", discuss how best to achieve their mission, rapidly record exciting strategies and ideas in an actionable form (namely as tasks), divvy up those tasks among one other, share files and documents, get summoned when relevant events occur (e.g., when they are assigned a task, or when mentioned), request help from others, receive social recognition for their contributions, and to delegate tasks to other pursuances in this ecosystem in order to harness its collective intelligence, passion, and expertise.

Pursuance can be used for a great many things. But we, its creators, have certain interests. Specifically, we are focused on organizing activists, journalists, and non-profits in order to solve serious problems we face as a society -- the surveillance state, th