Skip to content

Instantly share code, notes, and snippets.

View roshanraj's full-sized avatar

Roshan Raj roshanraj

View GitHub Profile
@roshanraj
roshanraj / multipart_upload.go
Created January 20, 2017 13:02 — forked from mattetti/multipart_upload.go
Example of doing a multipart upload in Go (golang)
package main
import (
"bytes"
"fmt"
"io"
"log"
"mime/multipart"
"net/http"
"os"
@roshanraj
roshanraj / facepass.py
Created March 18, 2016 21:12 — forked from rishimukherjee/facepass.py
Example of use of SimpleCV. This creates a face recognized password.
#!/usr/bin/python
import time
from SimpleCV import Color, Image, np, Camera
cam = Camera() #initialize the camera
quality = 400
minMatch = 0.3
try:
password = Image("password.jpg")