Skip to content

Instantly share code, notes, and snippets.

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 / youtube api video category id list
Created March 24, 2017 07:29 — forked from dgp/youtube api video category id list
youtube api video category id list
View youtube api video category id list
2 - Autos & Vehicles
1 - Film & Animation
10 - Music
15 - Pets & Animals
17 - Sports
18 - Short Movies
19 - Travel & Events
20 - Gaming
21 - Videoblogging
22 - People & Blogs
@elimisteve
elimisteve / youtube api video category id list
Created March 24, 2017 07:29 — forked from dgp/youtube api video category id list
youtube api video category id list
View youtube api video category id list
2 - Autos & Vehicles
1 - Film & Animation
10 - Music
15 - Pets & Animals
17 - Sports
18 - Short Movies
19 - Travel & Events
20 - Gaming
21 - Videoblogging
22 - People & Blogs
View SignUp.js
import React, { Component } from 'react'
import { Link } from 'react-router'
import SignUpForm from '../components/SignUpForm'
class SignUp extends Component {
constructor(props) {
super(props)
this.state = {
View PowerNotParanoia.md

#Power Not Paranoia ##Digital Security Skill Share ###Prepared for the Stop LAPD Spying Coalition

=== ##Assessing Risk ####Who/what are we protecting?
####From who are we protecting? ####What are we going to do to protect?

View inefficient-save.js
function completedChallenge(req, res, next) {
const { user, body } = req;
// mutates user object
const { alreadyCompleted } = updateUserProgress(user, body);
// sends entire user object to database
return saveUser(req.user)
.subscribe(
() => {},
next,
function() {
@elimisteve
elimisteve / chrome-bookmarks
Created December 20, 2015 15:39 — forked from selvan/chrome-bookmarks
Chrome extension to export all bookmarks
View chrome-bookmarks
//manifest.json
{
"name": "bookmark-search-export",
"version": "1.0",
"manifest_version": 2,
"description": "This extention will dump all bookmarks",
"browser_action": {
"default_icon": "icon.png"
},
"background": {
@elimisteve
elimisteve / hello_world.go
Last active December 29, 2015 22:59 — forked from jsgoecke/gist:7738466
Async "Hello, world" in Go. A bit more tidy IMO :-)
View hello_world.go
go run hello_world.go
Hello world!
View proxy.go
package main
import (
"bytes"
"encoding/hex"
"flag"
"fmt"
"io"
"log"
"net"
View proxy.go
package main
import (
"bytes"
"encoding/hex"
"flag"
"fmt"
"io"
"log"
"net"
View webserver.go
/* Tiny web server in Golang for sharing a folder
Copyright (c) 2010 Alexis ROBERT <alexis.robert@gmail.com>
Contains some code from Golang's http.ServeFile method, and
uses lighttpd's directory listing HTML template. */
package main
import (
"compress/gzip"