start new:
tmux
start new with session name:
tmux new -s myname
<bean class="org.springframework.context.support.PropertySourcesPlaceholderConfigurer"> | |
<property name="locations"> | |
<list> | |
<value>classpath:foo.properties</value> | |
</list> | |
</property> | |
<property name="ignoreUnresolvablePlaceholders" value="true"/> | |
</bean> |
#!/usr/bin/env bash | |
# Written by William Ting for the following blog post: | |
# http://williamting.com/posts/2012/04/18/set-up-python-and-django-on-dreamhost/ | |
rcfile="${HOME}/.bashrc" | |
version="2.7.5" | |
setuptools_version="2.7" | |
tmp_dir="${HOME}/tmp-${RANDOM}" | |
if [[ ${#} == 0 ]]; then |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
wget http://chromedriver.storage.googleapis.com/2.14/chromedriver_linux64.zip | |
unzip chromedriver_linux64.zip | |
sudo cp chromedriver /usr/bin/chromedriver | |
sudo chown root /usr/bin/chromedriver | |
sudo chmod +x /usr/bin/chromedriver | |
sudo chmod 755 /usr/bin/chromedriver |
struct ModGuard { | |
val: u32, | |
display: &'static str | |
} | |
fn get_fizzbuzz_guards() -> Vec<ModGuard> { | |
vec![ | |
ModGuard{val: 3, display: "Fizz"}, | |
ModGuard{val: 5, display: "Buzz"}] |
o.......Open files, directories and bookmarks....................|NERDTree-o| | |
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go| | |
t.......Open selected node/bookmark in a new tab.................|NERDTree-t| | |
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T| | |
i.......Open selected file in a split window.....................|NERDTree-i| | |
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi| | |
s.......Open selected file in a new vsplit.......................|NERDTree-s| | |
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs| | |
O.......Recursively open the selected directory..................|NERDTree-O| | |
x.......Close the current nodes parent...........................|NERDTree-x| |
package main | |
import ( | |
"net/http" | |
"database/sql" | |
"fmt" | |
"log" | |
"os" | |
) |
#!/bin/bash | |
# install can-utils | |
git clone https://github.com/linux-can/can-utils.git | |
cd can-utils | |
./autogen.sh | |
./configure | |
make | |
sudo make install |