-
Install any of the Mongo add-ons available at http://addons.heroku.com
-
Vendor the Mongo driver with your application. You can download it here:
https://github.com/wuputah/heroku-libraries/raw/master/php/mongo/mongo.so
Add it to a folder like "ext".
(The command examples assume OS X).
Just about everything that happens when you enter scons
is for Android. So anything you can do to speed up the Android part of our build will be useful.
-
Android NDK r7 can use ccache. We get huge improvements in build time with it. So install it (if you have HomeBrew,
brew install ccache
) then set a shell variableNDK_CCACHE
to point to it. I.e., for me, having installed it withbrew
, it would beexport NDK_CCACHE=/usr/local/bin/ccache
. -
NDK can also parallelize while compiling. Set a shell variable
NUM_CPUS
to (according to Opie) 2x the number of cores in your machine. A quick way to get the # cores on your machine in OS X issystem_profiler | grep "Number Of Cores"
in terminal. I have 2 cores, so my shell var setting isexport NUM_CPUS=4
.
Original transcript: http://allisonrandal.com/2012/04/15/open-source-enlightenment/
這幾年來,我慢慢覺得,我們參與開源社群,就像是在一條道路上並肩而行:這不僅讓我們成為更好的程式設計者,也讓我們通過與人合作,而成為更好的人。
您可以將它想成一條修行之道,讓身而為人的我們能夠不斷成長。接下來,我想談談我對開源世界的個人觀點,希望能與您分享。
首先,人是一切開源專案的核心。程式碼是很重要,但最核心的永遠是人。
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
type Foo struct { | |
FirstName string `tag_name:"tag 1"` | |
LastName string `tag_name:"tag 2"` |
# --------------------------------------------------------------- | |
# Aotoki Theme for oh-my-zsh theme by Aotoki ([email protected]) | |
# Home Page : http://frost.tw/ | |
# -------------------------------------------------------------- | |
# LS Color | |
LSCOLORS=xxbxcxxxxxdxBxxxxxCxExBhCh | |
#Color Shortcuts | |
R=$fg[red] |
uniform mat4 mvp; | |
uniform float t; | |
varying vec2 tc; | |
varying vec3 col; | |
varying vec3 p; | |
void main() | |
{ | |
//gl_Position = mvp * gl_Vertex; |
@版本 2.0.0
譯注:此翻譯版,主要給不能流利的讀英文的人看,相關專有名詞還是保留原文。翻譯不好地方請協助pull request.
此repository包含了一些前端開發的面試問題,來審查一個有潛力的面試者。這並不是建議你對同一個面試者問上所有的問 (那會花費好幾小時)。從列表中挑幾個題目,應該就夠幫助你審查面試者是否擁有你需要的技能。
Rebecca Murphey 的 Baseline For Front-End Developers 也是一篇很棒且值得讀的文章在你開始面試之前。
cask_args appdir: '/Applications' | |
tap 'caskroom/cask' | |
tap "homebrew/cask-fonts" | |
tap 'caskroom/versions' | |
tap "homebrew/bundle" | |
tap "homebrew/core" | |
tap "homebrew/services" | |
tap "hsatac/toybox" | |
brew "coreutils" | |
brew "gnu-sed" |