- Install Oh My Zsh
- Add the theme file
martinbuberl.zsh-theme
to~/.oh-my-zsh/themes
- Open the configuration file
~/.zshrc
(via Terminal$ ls -al
and$ subl .zshrc
)- Set theme to
ZSH_THEME=martinbuberl
- Set plugins to
plugins=(bower brew git npm nyan sublime)
- Set theme to
- Add the theme file
- Import/Use with Terminal profile
martinbuberl.terminal
- Type
upgrade_oh_my_zsh
to update Oh My Zsh - Type
touch .hushlogin
to remove the "Last login" message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name View Image | |
// @namespace https://github.com/bijij/ViewImage | |
// @version 2.0.1.1 | |
// @description This userscript re-implements the "View Image" and "Search by image" buttons into google images. | |
// @author Bae Junehyeon | |
// @run-at document-end | |
// @include http*://*.google.tld/search*tbm=isch* | |
// @include http*://*.google.tld/imgres* | |
// @updateURL https://gist.githubusercontent.com/bijij/58cc8cfc859331e4cf80210528a7b255/raw/viewimage.user.js |
Sublime Text includes a command line tool, subl
, to work with files on the command line. This can be used to open files and projects in Sublime Text, as well working as an EDITOR for unix tools, such as git and subversion.
- Sublime text 2 or 3 installed in your system within
Applications
folder
Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Install and compile Caffe on NVIDIA Jetson TK1 Development Kit | |
sudo add-apt-repository universe | |
sudo apt-get update | |
sudo apt-get install libprotobuf-dev protobuf-compiler gfortran \ | |
libboost-dev cmake libleveldb-dev libsnappy-dev \ | |
libboost-thread-dev libboost-system-dev \ | |
libboost-filesystem-dev \ | |
libatlas-base-dev libhdf5-serial-dev libgflags-dev \ | |
libgoogle-glog-dev liblmdb-dev -y |
For best results, you should read through the official NVIDIA documentation found on:
https://developer.nvidia.com/linux-tegra-rel-21
In particular, the Quick Start Guide.
For this process you will need:
- A host desktop or laptop computer running Ubuntu Linux 12.04 is officially recommended. In practice, this may be a virtual machine, I have used VirtualBox in the past. Also, I've successfully flashed from Ubuntu Linux 14.04. Your mileage may vary.
- Micro USB cable provided with the Jetson TK1 kit
- Jetson TK1 and power supply
name | description | version | |
---|---|---|---|
change case | change the case of selected text | ||
dynaclip | basic web clipper for dynalist.io | ||
file properties | open properties for the selected file | 1.1 | |
google time range | 🔎 | switch between the various time ranges (hour, day, week, month, year) | |
goto open folder | 📂 | show a list of open folders when youre at a "save as" or "open" dialog | 1.3 |
lightshot+ | various improvements for the lightshot screenshot app | 0.4.3 | |
[linker](h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init # 初始化本地git仓库(创建新仓库) | |
git config --global user.name "xxx" # 配置用户名 | |
git config --global user.email "xxx@xxx.com" # 配置邮件 | |
git config --global color.ui true # git status等命令自动着色 | |
git config --global color.status auto | |
git config --global color.diff auto | |
git config --global color.branch auto | |
git config --global color.interactive auto | |
git config --global --unset http.proxy # remove proxy configuration on git | |
git clone git+ssh://git@192.168.53.168/VT.git # clone远程仓库 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(TSP) | |
library(tspmeta) | |
coords.df <- data.frame(long=runif(40, min=0, max=100), lat=runif(40, min=0, max=100)) | |
coords.mx <- as.matrix(coords.df) | |
# Compute distance matrix | |
dist.mx <- dist(coords.mx) | |
# Construct a TSP object |