Install HomeBrew first
brew update
brew tap caskroom/cask
brew install brew-caskIf you get the error "already installed", follow the instructions to unlink it, then install again:
| #!/bin/bash | |
| apt-get install software-properties-common | |
| dpkg -S add-apt-repository | |
| add-apt-repository ppa:webcamstudio/webcamstudio-dailybuilds | |
| apt-get update | |
| apt-get install webcamstudio | |
| modprobe webcamstudio | 
| From e66b64c1ec0bcc496d3d9212d66959351a5af551 Mon Sep 17 00:00:00 2001 | |
| From: Andrey Semashev <[email protected]> | |
| Date: Thu, 20 Apr 2017 22:59:55 +0300 | |
| Subject: [PATCH] Fix compilation with gcc 4.9. | |
| The compiler apparently has problems with template ordering, so: | |
| - Remove callcc overloads that have no arguments for the function. These | |
| overloads are ambiguous with the overloads taking variadic args. The | |
| no-args case is covered by the variadic iverloads anyway. | 
| http://www.sunrayimage.com/examples.html | |
| http://trace.eas.asu.edu/yuv/ 都是yuv420p的 | |
| Example Images Download: | |
| You can download the example images of all the suppoted formats in version 2. | 
| # http://wiki.ros.org/docker/Tutorials/GUI | |
| # mount /etc/group and /etc/passwd read only | |
| # set user from $USER | |
| docker run -ti --rm -v $(pwd):/tmp/hx -w /tmp/hx -v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro —user=$USER debian:jessie | 
| # REPLACED BY: https://github.com/eruffaldi/cmakego | |
| # assuming to ave the correct find_package above ... | |
| # requires CMakew 3.0 for supporting INTERFACE library type | |
| if(ZeroMQ_FOUND) | |
| add_library(p::zeromq INTERFACE IMPORTED) | |
| set_property(TARGET p::zeromq PROPERTY INTERFACE_LINK_LIBRARIES ${ZeroMQ_LIBRARY}) | |
| set_property(TARGET p::zeromq PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${ZeroMQ_INCLUDE_DIR}") | |
| endif() | 
Install HomeBrew first
brew update
brew tap caskroom/cask
brew install brew-caskIf you get the error "already installed", follow the instructions to unlink it, then install again:
Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.
Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
xcode-select --install will prompt up a dialog)Install Homebrew:
#前言 由于大家都懂的, 国内使用go get的时候, 经常会各种失败, 如果有vpn的话, 打开vpn, 问题就解决了, 但vpn其实挺不灵活的.
相对来说shadowsock则灵活得多.
#解决方案 shadowsock + Privoxy
思路就是, 使用shadowsock建立一个本地sock5代理, 但因为go get 需要http代理, 所以需要使用privoxy把sock5代理转为http代理.
| OVERVIEW: LLVM 'Clang' Compiler: http://clang.llvm.org | |
| USAGE: clang -cc1 [options] <inputs> | |
| OPTIONS: | |
| -### Print the commands to run for this compilation | |
| --analyze Run the static analyzer | |
| --migrate Run the migrator | |
| --relocatable-pch Build a relocatable precompiled header | |
| --serialize-diagnostics <value> |