Skip to content

Instantly share code, notes, and snippets.

View rafaeldelboni's full-sized avatar
🎨

Rafael Delboni rafaeldelboni

🎨
View GitHub Profile
@rafaeldelboni
rafaeldelboni / how-to-unity-neovim.md
Last active June 17, 2023 16:06
How to setup Unity + Neovim LSP on Arch Linux

How to setup Unity + Neovim LSP on Arch Linux

Based on this post

Requirements

# Official repository
sudo pacman -S code dotnet-sdk mono mono-tools mono-msbuild mono-msbuild-sdkresolver mono-addins

# Aur repository
yay -Sy unityhub
@rafaeldelboni
rafaeldelboni / deps-deploy-heroku.yml
Last active July 5, 2021 17:42
Test, Build, Deploy Jar on Heroku using Clojure + Deps
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 April 11, 2019 18:08
Alacritty Windows Configuration File
shell:
program: bash
args:
- -c "zsh & tmux new-session -c /mnt/c/Users/rafael.delboni"
@rafaeldelboni
rafaeldelboni / .ideavimrc
Last active November 25, 2021 22:11
.ideavimrc
set clipboard+=unnamed
set ignorecase
set smartcase
set visualbell
set noerrorbells
" IdeaVim plugins
set NERDTree
set surround
set commentary
@rafaeldelboni
rafaeldelboni / macros.ahk
Last active March 12, 2019 12:58
AutoHotkey
; 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 October 29, 2018 16:44
Vim Emulator Plugin for Visual Studio
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 October 26, 2017 18:41
Query to check if my laptop is in stock
#!/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) {