Skip to content

Instantly share code, notes, and snippets.

View cyysky's full-sized avatar

CHONG YOE YAT cyysky

View GitHub Profile
@mschoebel
mschoebel / main.go
Created March 6, 2014 20:02
Snippet: login/logout (Golang)
package main
import (
"fmt"
"github.com/gorilla/mux"
"github.com/gorilla/securecookie"
"net/http"
)
// cookie handling
@bsdnoobz
bsdnoobz / read-camera.py
Last active July 10, 2026 17:12
Displaying webcam feed using OpenCV and Python+PySide.
#!/usr/bin/env python
from PySide.QtCore import *
from PySide.QtGui import *
import cv2
import sys
class MainApp(QWidget):
def __init__(self):