Skip to content

Instantly share code, notes, and snippets.

Avatar
🐙
PLING

Felipe Kautzmann felipekm

🐙
PLING
View GitHub Profile
@felipekm
felipekm / vaga.md
Created Sep 22, 2020
vaga backend 100% remoto
View vaga.md

VAGA DESENVOLVEDOR(A) BACK-END

Responsabilidades e atribuições:

Aqui no hub 4all nossos desenvolvedore(a)s back-end precisam ter no mínimo os conhecimentos abaixo:

  • Node.js (Javascript);
  • Git;
  • HTTP/REST;
@felipekm
felipekm / install-go.sh
Last active Sep 19, 2020
Installing Go MacOSX
View install-go.sh
#/bin/sh
# download gvm
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
# include in path (.bashrc, .zshrc)
export PATH=$PATH:$HOME/.gvm/bin
[[ -s "$HOME/.gvm/scripts/gvm" ]] && source "$HOME/.gvm/scripts/gvm"
export GOPATH=$HOME/Go
@felipekm
felipekm / update_nginx.sh
Created Jul 31, 2020
how to update nginx
View update_nginx.sh
#!/bin/shell
sudo mkdir /etc/nginx-backup/
sudo cp -r /etc/nginx/* /etc/nginx-backup/
sudo add-apt-repository ppa:nginx/stable
sudo apt-get update
sudo apt-get full-upgrade
sudo nginx -v
@felipekm
felipekm / clear-memory-cache-buffer-swap.sh
Created Jul 27, 2020
Linux Clear Cache Shell Script
View clear-memory-cache-buffer-swap.sh
#!/bin/bash
# Clear PageCache only
sync; echo 1 > /proc/sys/vm/drop_caches
# Clear dentries and inodes
sync; echo 2 > /proc/sys/vm/drop_caches
# Clear PageCache, dentries and inodes
sync; echo 3 > /proc/sys/vm/drop_caches
View gist:a7b6df8b65f0fdb0414c0ca605f71f4a
sudo apt install gdebi-core wget
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo gdebi google-chrome-stable_current_amd64.deb
@felipekm
felipekm / ubuntu.sh
Last active Jul 22, 2020
Install discord ubuntu terminal
View ubuntu.sh
#!/bin/sh
wget -O discord.deb "https://discordapp.com/api/download?platform=linux&format=deb"
sudo dpkg -i discord.deb
@felipekm
felipekm / install_gtk_module.sh
Created Jul 22, 2020
Failed to load module “canberra-gtk-module”
View install_gtk_module.sh
#!/bin/sh
sudo apt-get install libcanberra-gtk-module
@felipekm
felipekm / steps.md
Created Jul 22, 2020
Github set ssh keys steps Linux
View steps.md

Generating a new SSH key and adding it to the ssh-agent

ssh-keygen -t rsa -b 4096 -C "your_email@example.com" eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_rsa

Adding a new SSH key to your GitHub account

sudo apt-get install xclip xclip -sel clip < ~/.ssh/id_rsa.pub

@felipekm
felipekm / vscode_install.sh
Created Jul 22, 2020
Ubuntu Install VSCode
View vscode_install.sh
#!/bin/sh
sudo snap install --classic code
@felipekm
felipekm / extract.sh
Created Jul 22, 2020
Extracts a TAR/GZ file in ubuntu
View extract.sh
#!/bin/sh
# extract
tar xvzf file.tar.gz
# executes
./file.sh
You can’t perform that action at this time.