Skip to content

Instantly share code, notes, and snippets.

@joaquinicolas
joaquinicolas / private_go_modules.md
Created February 10, 2022 21:51
Private go modules
git config --global url."[email protected]:".insteadOf "https://github.com/"
cat ~/.gitconfig
[url "[email protected]:"]
	insteadOf = https://github.com/
go get github.com/private/repo

Create Access token

@joaquinicolas
joaquinicolas / gist:b7d0a0869485bca5156d0d4be87820f4
Created December 15, 2021 02:59
Setup flutter environment in arch linux
pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
yay -S flutter
java -version
sudo pacman -S jre8-openjdk
@joaquinicolas
joaquinicolas / gist:7ae8efffd2555d2c7018c70de6dffb7a
Last active March 16, 2024 14:10
Things to do after installing Manjaro
sudo pacman -S base-devel
sudo pacman -S git go
git clone https://aur.archlinux.org/yay.git
cd yay && makepkg -si
cd .. && rm -rf yay/
yay -S terminator
yay -S visual-studio-code-bin
@joaquinicolas
joaquinicolas / react-native-arch.md
Last active October 11, 2023 14:31
Setup react native development environment on archlinux.

Install jdk 8

sudo pacman -S jdk8-openjd

Set jdk-8 as default

sudo archlinux-java set java-8-openjdk
@joaquinicolas
joaquinicolas / nginx-websocket-proxy.conf
Created January 12, 2018 03:21 — forked from uorat/nginx-websocket-proxy.conf
Nginx Reverse Proxy for WebSocket
upstream websocket {
server localhost:3000;
}
server {
listen 80;
server_name localhost;
access_log /var/log/nginx/websocket.access.log main;