sudo apt install openjdk-8-jdk-headless
This file contains hidden or 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
# CLI | |
sudo apt update -y | |
sudo apt install -y \ | |
git curl docker.io \ | |
build-essential pkg-config autoconf bison rustc cargo clang \ | |
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \ | |
libvips imagemagick libmagickwand-dev \ | |
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \ | |
rbenv apache2-utils |
This file contains hidden or 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
#/usr/bin/env bash | |
install_on_ubuntu() { | |
sudo apt update | |
sudo apt install -y ansible | |
} | |
OS="$(uname -s)" | |
# Install Ansible by platform |
This file contains hidden or 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
// Globally register all base components for convenience, because they | |
// will be used very frequently. Components are registered using the | |
// PascalCased version of their file name. | |
import upperFirst from 'lodash/upperFirst' | |
import camelCase from 'lodash/camelCase' | |
export default async ({ Vue }) => { | |
console.log('loading components') | |
// https://webpack.js.org/guides/dependency-management/#require-context |
This file contains hidden or 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
.grid | |
display: grid | |
// Grid template columns | |
.grid-cols-1 | |
grid-template-columns: repeat(1, minmax(0, 1fr)) | |
.grid-cols-2 | |
grid-template-columns: repeat(2, minmax(0, 1fr)) |
This file contains hidden or 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
#asdf_bin_root=$(dirname $RUBY_VERSION_MANAGER_PATH) | |
#source "${asdf_bin_root}/../asdf.sh" | |
#asdf shell ruby $RUBY_VERSION_MANAGER_DISTRIBUTION_ID | |
# https://youtrack.jetbrains.com/issue/RUBY-27899/Terminal-fails-to-source-chruby.sh-when-using-fish | |
# https://youtrack.jetbrains.com/issue/RUBY-27517/Terminal-fish-shell-prints-an-error-for-ASDF-startup-script | |
set asdf_bin_root $(dirname $RUBY_VERSION_MANAGER_PATH) | |
source $asdf_bin_root/../asdf.fish | |
asdf shell ruby $RUBY_VERSION_MANAGER_DISTRIBUTION_ID |
This file contains hidden or 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
" https://gist.github.com/steveclarke/ba73c6b2e198f14f1b729ad6825c04ca | |
" Leader is <space> | |
let mapleader = ' ' | |
nnoremap <Space> <Nop> | |
" nobody wants that bell! | |
set visualbell | |
set incsearch |
Setup remote repository:
ssh git@example.com
mkdir my_project.git
cd my_project.git
git init --bare
On local machine:
cd my_project
NewerOlder