As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
source: http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/
| // List available formats for ffmpeg | |
| ffmpeg -pix_fmts | |
| // Convert a 720x480 nv12 (yuv 420 semi-planar) image to png | |
| ffmpeg -s 720x480 -pix_fmt nv12 -i captdump-nv12.yuv -f image2 -pix_fmt rgb24 captdump.png | |
| // Convert a 640x480 uyvy422 image to png | |
| ffmpeg -s 640x480 -pix_fmt uyvy422 -i frame-000003.yuv -f image2 -pix_fmt rgb24 captdump.png | |
| // Display a 640x480 grayscale raw rgb file |
| import time | |
| import struct | |
| import socket | |
| import hashlib | |
| import base64 | |
| import sys | |
| from select import select | |
| import re | |
| import logging | |
| from threading import Thread |
| // Arrow functions | |
| // spec: http://bit.ly/KN3z1c | |
| // with lexical this | |
| var square = function(x) { return x * x } | |
| var square = x => { return x * x } |
@版本 2.0.0
譯注:此翻譯版,主要給不能流利的讀英文的人看,相關專有名詞還是保留原文。翻譯不好地方請協助pull request.
此repository包含了一些前端開發的面試問題,來審查一個有潛力的面試者。這並不是建議你對同一個面試者問上所有的問 (那會花費好幾小時)。從列表中挑幾個題目,應該就夠幫助你審查面試者是否擁有你需要的技能。
Rebecca Murphey 的 Baseline For Front-End Developers 也是一篇很棒且值得讀的文章在你開始面試之前。
| #Mounting the share is a 2 stage process: | |
| # 1. Create a directory that will be the mount point | |
| # 2. Mount the share to that directory | |
| #Create the mount point: | |
| mkdir share_name | |
| #Mount the share: | |
| mount_smbfs //username:password@server.name/share_name share_name/ |