To setup your computer to work with *.dev domains, e.g. project.dev, awesome.dev and so on, without having to add to your hosts file each time.
- Homebrew
- Mountain Lion -> High Sierra
| ios() { | |
| # Try if an argument is provided, else, launch an iPhone 8 simulator | |
| if [ -z "$1" ]; then | |
| SIMULATOR_NAME="iPhone 8" | |
| else | |
| SIMULATOR_NAME=$1 | |
| fi | |
| xcrun simctl boot SIMULATOR_NAME | |
| open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app |
| set ai " auto indenting | |
| set ruler " show the cursor position | |
| syntax on " syntax highlighting | |
| set hlsearch " highlight the last searched term | |
| filetype plugin on " use the file type plugins | |
| " When editing a file, always jump to the last cursor position | |
| autocmd BufReadPost * | |
| \ if ! exists("g:leave_my_cursor_position_alone") | | |
| \ if line("'\"") > 0 && line ("'\"") <= line("$") | |
To setup your computer to work with *.dev domains, e.g. project.dev, awesome.dev and so on, without having to add to your hosts file each time.
| /* Cloned from https://cdn.rawgit.com/laCour/slack-night-mode/master/css/raw/black.css | |
| https://github.com/laCour/slack-night-mode/ | |
| */ | |
| body { background: #313A40; color: #e6e6e6; } | |
| a { color: #949494; } | |
| a:link, a:visited { color: #949494; } | |
| a:hover, a:active, a:focus { color: #c7c7c7; } |
Create alias on .zshrc
alias dfl="g --git-dir=$HOME/.dotfiles/ --work-tree=$HOME"Create the folder to store the actual files and push them to github
mkdir ~/.dotfiles # Install deps
npm install -g commitizen cz-conventional-changelog
# Init project
commitizen init cz-conventional-changelog --save-dev --save-exact
# Commit
g cz -a
| #!/bin/bash | |
| if [[ ! -z "$(which gnome-weather)" ]]; then | |
| system=1 | |
| fi | |
| if [[ ! -z "$(flatpak list | grep org.gnome.Weather)" ]]; then | |
| flatpak=1 | |
| fi |
Last Updated: Patch 6.51
| -480p - Run tenfoot in 480p rather than 1080p | |
| -720p - Run tenfoot in 720p rather than 1080p | |
| -accesscode - | |
| -all_languages - show longest loc string from any language | |
| -batterytestmode - rapidly cycle battery percentages for testing | |
| -bigpicture - Start in Steam Big Picture mode | |
| -blefw - | |
| -cafeapplaunch - Launch apps in a cyber cafe context | |
| -candidates - Show libjingle candidates for local connection as they are processed | |
| -ccsyntax - Spew details about the localized strings we load |
This guide will show you how to install Arch Linux on an OVH VPS.
As you may have noticed, OVH does not have an Arch image, which is a problem. Follow these instructions to install Arch using recovery mode.
Assume anything reffered to as low ram vps in the guide to be a VPS with <8gb ram
This guide assumes the following: