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
import = [ | |
"~/.config/alacritty/themes/themes/tomorrow_night.toml" | |
] | |
[font] | |
size = 14.0 | |
[font.normal] | |
family = "JetBrainsMono Nerd Font" | |
style = "Regular" |
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
##set -sa terminal-overrides "*:Tc" | |
## remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
## split panes using | and - | |
bind | split-window -h | |
bind - split-window -v |
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
" =========================== PLUGINS ============================ | |
" Install vim-plug for vim and neovim | |
if empty(glob('~/.vim/autoload/plug.vim')) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | |
endif | |
" Plugins | |
call plug#begin('~/.vim/plugged') |
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
188.76 | R' F' U R2 U L' D2 R' F2 R U F' U' L2 D B2 R2 F2 R' F2 | 1585242370136 |
---|
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
rsync -av /local/path/ [email protected]:/remote/path/ |
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
Route::filter('allowOrigin', function($route, $request, $response) | |
{ | |
$response->header('access-control-allow-origin','*'); | |
}); |
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
$.getJSON('select.php', {customerId: $(this).val()}, function(data){ | |
var vehicle = $('#vehicle'); | |
for (var x = 0; x < data.length; x++) { | |
vehicle.append(new Option(data[x].reg, data[x].id)); | |
} | |
}); |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'" | |
config.vm.provision "shell", path: "https://gist.githubusercontent.com/arielcr/8845938/raw/b95e82166b24728df0d91b31dab9a65eed6cd01f/ror-provisioning.sh" |
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/bash | |
echo Provisioning Ruby on Rails... | |
echo ================================= | |
echo - Installing dependencies | |
sudo apt-get update -y -qq > /dev/null | |
sudo apt-get install curl -y -qq > /dev/null | |
echo - Installing mysql server | |
export DEBIAN_FRONTEND=noninteractive |
NewerOlder