Skip to content

Instantly share code, notes, and snippets.

Avatar
🎮

Rafael Delboni rafaeldelboni

🎮
View GitHub Profile
@rafaeldelboni
rafaeldelboni / deps-deploy-heroku.yml
Last active Jul 5, 2021
Test, Build, Deploy Jar on Heroku using Clojure + Deps
View deps-deploy-heroku.yml
name: Deploy
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@rafaeldelboni
rafaeldelboni / alacritty.yml
Created Apr 11, 2019
Alacritty Windows Configuration File
View alacritty.yml
shell:
program: bash
args:
- -c "zsh & tmux new-session -c /mnt/c/Users/rafael.delboni"
View .ideavimrc
set clipboard+=unnamed
set ignorecase
set smartcase
set visualbell
set noerrorbells
" IdeaVim plugins
set NERDTree
set surround
set commentary
View macros.ahk
; Add a shortcut of this file here:
; %appdata%\Microsoft\Windows\Start Menu\Programs\Startup
; Ctrl+Win+h, go to left virtual desktop
^#h::
Send ^#{left}
Return
; Ctrl+Win+l, go to right virtual desktop
^#l::
Send ^#{right}
@rafaeldelboni
rafaeldelboni / .vsvimrc
Last active Oct 29, 2018
Vim Emulator Plugin for Visual Studio
View .vsvimrc
set clipboard=unnamed
set multiple-cursors
set ignorecase
set smartcase
" easy window navigation
nnoremap <c-l> <c-w>l
nnoremap <c-j> <c-w>j
nnoremap <c-h> <c-w>h
nnoremap <c-k> <c-w>k
@rafaeldelboni
rafaeldelboni / canIBuyMyShit.js
Last active Oct 26, 2017
Query to check if my laptop is in stock
View canIBuyMyShit.js
#!/usr/bin/env node
const requestPromise = require('request-promise-native')
const notifier = require('node-notifier')
const path = require('path')
async function searchStockLaptop ({name, url, search, shouldFind = true}) {
const pageBody = await requestPromise(url)
const isSearchFound = pageBody.indexOf(search) !== -1
if (isSearchFound === shouldFind) {