Add source
echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | sudo tee -a /etc/apt/sources.list.d/100-ubnt.list
Add keys
Add source
echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | sudo tee -a /etc/apt/sources.list.d/100-ubnt.list
Add keys
| import React from 'react'; | |
| class Section extends React.Component { | |
| render () { | |
| return ( | |
| <div className="section"> | |
| {React.Children.map(this.props.children, (child) => { | |
| return <div className="section__main">{child}</div>; | |
| })} |
| function git_prompt_info() { | |
| ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
| echo "$(parse_git_dirty)$ZSH_THEME_GIT_PROMPT_PREFIX$(current_branch)$ZSH_THEME_GIT_PROMPT_SUFFIX" | |
| } | |
| function get_pwd() { | |
| print -D $PWD | |
| } | |
| function battery_charge() { |
index.js.npm init --scope=<your-scope>.npm install --save <path-to-module>.Local module resides in lib/custom-module, the scope of the module should be marcuslilja.
| repo_destiny -> marcuslilja/deprecated | |
| repo_source -> marcuslilja/my-repository | |
| git clone [email protected]:${repo_source}.git | |
| git clean -fd | |
| git reset --hard | |
| git checkout master | |
| git pull -f origin master | |
| git checkout -B ${repo_source} | |
| git push -f [email protected]:${repo_destiny}.git ${repo_source} |
| <VirtualHost *:80> | |
| DocumentRoot "<path-to-project>" | |
| ServerName <site-name>.dev | |
| ServerAlias *.<site-name>.dev | |
| ErrorLog "/private/var/log/apache2/<site-name>.dev-error_log" | |
| CustomLog "/private/var/log/apache2/<site-name>.dev-access_log" common | |
| <Directory "<path-to-project>"> |
| #!/bin/sh | |
| # Store the git repository url | |
| REPOSITORY="[email protected]:marcuslilja/html5-boilerplate-grunt.git" | |
| # Fetch all arguments | |
| args=("$@") | |
| # Count the number of arguments | |
| number_of_arguments=${#args[@]} |