Skip to content

Instantly share code, notes, and snippets.

View thomazfelipe's full-sized avatar
🙂

Thomaz Felipe da Silva thomazfelipe

🙂
View GitHub Profile
@taterbase
taterbase / bin2string.js
Created May 24, 2012 23:38
Convert bytes to string Javascript
function bin2string(array){
var result = "";
for(var i = 0; i < array.length; ++i){
result+= (String.fromCharCode(array[i]));
}
return result;
}
@btbytes
btbytes / openvpn_install.txt
Created June 2, 2012 00:51
OpenVPN install using homebrew
brew install openvpn
==> Installing openvpn dependency: lzo
==> Downloading http://www.oberhumer.com/opensource/lzo/download/lzo-2.06.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/lzo/2.06 --enable-shared
==> make
==> make check
==> make install
/usr/local/Cellar/lzo/2.06: 27 files, 544K, built in 42 seconds
==> Installing openvpn
@leocomelli
leocomelli / git.md
Last active November 18, 2024 19:43
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@yagop
yagop / insomnia.sh
Created April 21, 2017 11:21
Insomnia REST Client Arch installer
#! /bin/bash
cd $(mktemp -d)
wget https://aur.archlinux.org/cgit/aur.git/snapshot/insomnia.tar.gz
tar xzf insomnia.tar.gz
cd insomnia
makepkg -s
sudo pacman -U insomnia-*-x86_64.pkg.tar