Skip to content

Instantly share code, notes, and snippets.

View nagahshi's full-sized avatar
🤠
Yeah, I'm gonna take my horse to the old town road

Willian C. Klein nagahshi

🤠
Yeah, I'm gonna take my horse to the old town road
  • Brasil
  • Maringá-PR
View GitHub Profile
@nagahshi
nagahshi / 0-go-os-arch.md
Created June 23, 2024 00:44 — forked from asukakenji/0-go-os-arch.md
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.17.1 darwin/amd64.

GOOS Values

GOOS Out of the Box
aix
android
@nagahshi
nagahshi / gist:19fab2aacdf460e609b3c7b18f6f0b06
Last active May 11, 2022 20:44
configure git connect from ssh
# to list SSH keys
ls -al ~/.ssh
# generate u key pair, substituing by ur Email account (github, bitbucket)
ssh-keygen -t rsa -b 4096 -C "[email protected]"
# initialize ssh agent
eval "$(ssh-agent -s)"
# add ssh agent in key
ssh-add ~/.ssh/id_rsa
# append ur public key in access key github||bitbucket
~/.ssh/id_rsa.pub
# ~/.bashrc
nf () { git checkout develop && git pull --all && git checkout -b feature/"$@" && git push origin feature/"$@" && git commit --allow-empty -m " ${@} #in-progress " && git push --all;}
gc () { git add . && git commit -m " ${@} " && git push --all; }
cf () { git checkout develop && git merge feature/"$@" && git push origin develop && git commit --allow-empty -m " ${@} #test " && git push --all; }
composer global require phpunit/phpunit
composer global require phpunit/dbunit
composer global require phing/phing
composer global require phpdocumentor/phpdocumentor
composer global require sebastian/phpcpd
composer global require phploc/phploc
composer global require phpmd/phpmd
composer global require squizlabs/php_codesniffer
@nagahshi
nagahshi / 00.howto_install_phantomjs.md
Created November 19, 2017 16:46 — forked from julionc/00.howto_install_phantomjs.md
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev