Skip to content

Instantly share code, notes, and snippets.

View cartolari's full-sized avatar

Bruno Cartolari Esteves cartolari

View GitHub Profile
@cartolari
cartolari / Vagrantfile
Last active July 5, 2024 14:46
Windows workstation setup
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "generic/arch"
config.vm.provider "hyperv" do |hv|
hv.cpus = 6
hv.maxmemory = 8192
hv.memory = 1024
@cartolari
cartolari / start-webstorm.sh
Last active May 22, 2020 21:15
Starts WebStorm in a TigerVNC session
#!/bin/bash
# Requirements
# - TigerVNC (Client and Server)
# - OpenBox
# - WebStorm
export DISPLAY=:10 # Change if display :10 is already in use
Xvnc -SecurityTypes=None +extension RANDR +extension GLX +extension COMPOSITE -SetPrimary=0 -SendPrimary=0 -depth 24 "$DISPLAY" &
@cartolari
cartolari / .bashrc
Last active May 23, 2016 18:29
Colored prompts for Rails App
#!/bin/bash
## $HOME/.bashrc
DEFAULT='\e[39m'
LIGHT_RED='\e[91m'
LIGHT_GREEN='\e[92m'
LIGHT_YELLOW='\e[93m'
_color() {