% Title % Name % Date
List
license: gpl-3.0 |
#!/usr/bin/python | |
''' | |
Author: Igor Maculan - [email protected] | |
A Simple mjpg stream http server | |
''' | |
import cv2 | |
import Image | |
import threading | |
from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer | |
from SocketServer import ThreadingMixIn |
#! /bin/bash | |
### BEGIN INIT INFO | |
# Provides: yourapp | |
# Required-Start: nginx | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: The main django process | |
# Description: The gunicorn process that receives HTTP requests | |
# from nginx |
//+++++++++++++++++++++++++++++++++++++++++++++++++++ | |
// THE QUEUE CLASS | |
// | |
// | |
//+++++++++++++++++++++++++++++++++++++++++++++++++++ | |
# include <cstring> | |
# include <iostream> | |
# include "queue.h" |
This is a guide to setting up a Windows command line environment which supports many of the commonly used features available in a GNU\Linux environment. It is most useful to people whom work in mixed environments and would like a more seamless experience when switching back and forth but is also useful to those who've never used the GNU tools before.
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<color name="material_red50">#ffffebee</color> | |
<color name="material_red100">#ffffcdd2</color> | |
<color name="material_red200">#ffef9a9a</color> | |
<color name="material_red300">#ffe57373</color> | |
<color name="material_red400">#ffef5350</color> | |
<color name="material_red500">#fff44336</color> | |
<color name="material_red600">#ffe53935</color> | |
<color name="material_red700">#ffd32f2f</color> |
This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.
Install Raspbian Jessie (2016-05-27-raspbian-jessie.img
) to your Pi's sdcard.
Use the Raspberry Pi Configuration tool or sudo raspi-config
to:
What is Pocketchip? | |
PocketChip is a portable, battery-powered Linux computer with a 480 x 272 resistive touchscreen and a QWERTY keyboard. It's about as powerful as a Raspberry Pi, but it comes with a custom touch-friendly version of Linux that eschews a traditional desktop UI. | |
Why did i create this Gist? | |
Because i am a new Pocketchip user, and i ran into so many issues when i wanted to flash my Pocketchip since the company selling this wonderfull device is already defunct. | |
How to get started? | |
1. | |
First download the three software included onto a USB Stick and drag and drop into the pocketchip. |