python3 setup.py build
Output: build/lib.macosx-10.11-x86_64-3.5/hello.cpython-35m-darwin.so
#include <roxlu/experimental/Image.h> | |
namespace roxlu { | |
Image::Image() | |
:width(0) | |
,height(0) | |
,pixels(NULL) | |
{ | |
} |
from flask import Flask | |
from flask import request | |
import json | |
import requests | |
import hashlib as hasher | |
import datetime as date | |
node = Flask(__name__) | |
# Define what a Snakecoin block is | |
class Block: |
documentclass{ctexart} | |
\usepackage{listings} | |
\usepackage{xcolor} | |
% 定义可能使用到的颜色 | |
\definecolor{CPPLight} {HTML} {686868} | |
\definecolor{CPPSteel} {HTML} {888888} | |
\definecolor{CPPDark} {HTML} {262626} | |
\definecolor{CPPBlue} {HTML} {4172A3} | |
\definecolor{CPPGreen} {HTML} {487818} | |
\definecolor{CPPBrown} {HTML} {A07040} |
.PHONY: test install pep8 release clean | |
test: pep8 | |
py.test --cov -l --tb=short --maxfail=1 program/ | |
install: | |
python setup.py develop | |
pep8: | |
@flake8 program --ignore=F403 --exclude=junk |
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
cmake_minimum_required(VERSION 2.8.4) | |
project(so29595222) | |
find_package(PythonLibs REQUIRED) | |
include_directories(${PYTHON_INCLUDE_DIRS}) | |
ADD_DEFINITIONS( -std=c++11 ) | |
set(SOURCE_FILES python_threading_example_so29595222.cpp) |
# -*- coding: utf-8 -*- | |
import math | |
import collections | |
import pyglet | |
class FirstPersonCamera(object): | |
"""First person camera implementation |
Metadata-Version: 1.0 | |
Name: fred_emcee_swig | |
Version: 1.0 | |
Summary: UNKNOWN | |
Home-page: UNKNOWN | |
Author: UNKNOWN | |
Author-email: UNKNOWN | |
License: UNKNOWN | |
Description: UNKNOWN | |
Platform: UNKNOWN |
If you're like me you have a dir like ~/Workspace/Github
where all your git repos live. I often find myself making a change in a repo, getting side tracked and ending up in another repo, or off doing something else all together. After a while I end up with several repos with modifications. This script helps me pick up where I left off by checking the status of all my repos, instead of having to check each one individually.
Usage:
git-status [directory]
This will run git status
on each repo under the directory specified. If called with no directory provided it will default to the current directory.