_
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Generating a usable Ethereum wallet and its corresponding keys | |
#https://kobl.one/blog/create-full-ethereum-keypair-and-address/ | |
# Generate the private and public keys | |
openssl ecparam -name secp256k1 -genkey -noout | openssl ec -text -noout > Key | |
# Extract the public key and remove the EC prefix 0x04 | |
cat Key | grep pub -A 5 | tail -n +2 | tr -d '\n[:space:]:' | sed 's/^04//' > pub |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl enc -aes-256-cbc -in /etc/cryptocurrencies.txt -out services.dat | |
openssl aes-256-cbc -d -in services.dat -out services.teste | |
#erase files with wipe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#http://danielkummer.github.io/git-flow-cheatsheet/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# file: ~/.config/autostart/bittorrentsync.desktop | |
# https://developer.gnome.org/desktop-entry-spec/ | |
read -d '' desktop_entry_for_bittorrent_sync << EOF | |
[Desktop Entry] | |
Name=BitTorrent Sync | |
Terminal=true | |
Exec=/home/thiagosouza/BitTorrent-Sync_glibc23_x64/btsync --webui.listen 0.0.0.0:8888 | |
Type=Application | |
Icon=/home/thiagosouza/BitTorrent-Sync_glibc23_x64/btsync |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let url = 'localhost'; | |
let port = 3000; | |
let api_endpoint = `http://${url}:${port}/api/`; | |
let api_uri = `subtitles`; | |
function get_params(params){ | |
return Object.keys(params).map(key=>`${key}=${encodeURIComponent(params[key])}`).join('&'); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Atom | |
# https://atom.io | |
# Atom IDE | |
cd /tmp | |
wget https://atom.io/download/deb -O atom.deb | |
sudo dpkg -i atom.deb | |
sudo apt-get install -f | |
NewerOlder