$ sudo apt-get update
$ sudo apt-get upgrade
apt-get update
- 更新最新的套件資訊
apt-get upgrade
- 更新套件
/* | |
See https://gist.github.com/roxlu/6152fccfdd0446533e1b for the latest version. | |
Author: roxlu | |
Twitter: http://www.twitter.com/roxlu | |
*/ | |
/* ------------------------------------------------------------------------*/ |
#include <gfx/AsyncUpload.h> | |
namespace gfx { | |
AsyncUpload::AsyncUpload() | |
:width(0) | |
,height(0) | |
,dx(0) | |
,channels(0) | |
,n(0) |
#include <assert.h> | |
#include <GLFW/glfw3.h> | |
#include <swnt/GUI.h> | |
GUI::GUI() | |
:win_w(0) | |
,win_h(0) | |
{ | |
} |
#ifndef PHOTOBOOTH_SHADERS_H | |
#define PHOTOBOOTH_SHADERS_H | |
#include <opengl/Headers.h> | |
#include <math/Math.h> | |
// -------------------------------------------------- | |
static const char* P_VS = "" | |
"#version 150\n" | |
"uniform mat4 u_pm;" |
/* | |
-------------------------------------------------------------------------------- | |
oooo | |
`888 | |
oooo d8b .ooooo. oooo ooo 888 oooo oooo | |
`888""8P d88' `88b `88b..8P' 888 `888 `888 | |
888 888 888 Y888' 888 888 888 | |
888 888 888 .o8"'88b 888 888 888 |
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).
#!/usr/bin/python | |
''' | |
Author: Igor Maculan - n3wtron@gmail.com | |
A Simple mjpg stream http server | |
''' | |
import cv2 | |
import Image | |
import threading | |
from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer | |
from SocketServer import ThreadingMixIn |