Skip to content

Instantly share code, notes, and snippets.

View rafael-g-depaulo's full-sized avatar

Rafael G. de Paulo rafael-g-depaulo

  • CJR
  • Brasília, Brazil
View GitHub Profile
"use strict";
// // Future versions of Hyper may add additional config options,
// // which will not automatically be merged into this file.
// // See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// // choose either `'stable'` for receiving highly polished,
// // or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
// // default font size in pixels for all tabs
SCRIPT_FILENAME="setup-env.sh"
function get_script_url() {
curl -s https://api.github.com/users/$1/gists | # list all gists
grep "\"filename\": \"$2\"" -A 5 -B 1 | # get the file object
grep "raw_url" | # get raw_url line
sed 's/.*"raw_url": "\(.*\)",.*/\1/' # extract url
}
sudo -u $USER bash -c "$(curl -s $(get_script_url "rafael-g-depaulo" "setup-env.sh"))"
######### add to zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/$USER/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# setup link? https://medium.com/@gusflopes86/ambiente-de-desenvolvimento-react-e-react-native-no-windows-com-wsl-f505906d636c
# THIS FIXES IT????????
# https://askubuntu.com/questions/1142359/error-0x80080005-server-execution-failed-while-installing-ubuntu-on-windows
# use this to install WSL
# https://docs.microsoft.com/en-us/windows/wsl/install-win10#step-4---download-the-linux-kernel-update-package
# For GUI Apps like Cypress
# https://nickymeuleman.netlify.app/blog/gui-on-wsl2-cypress
@rafael-g-depaulo
rafael-g-depaulo / .vimrc
Created February 16, 2023 17:11
my simple .vimrc
" Disable compatibility with vi which can cause unexpected issues.
set nocompatible
" Enable type file detection. Vim will be able to try to detect the type of file in use.
filetype on
" Enable plugins and load plugin for the detected file type.
filetype plugin on
" Load an indent file for the detected file type.
@rafael-g-depaulo
rafael-g-depaulo / cloudSettings
Created June 24, 2020 02:23
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-06-24T02:23:54.183Z","extensionVersion":"v3.4.3"}