Skip to content

Instantly share code, notes, and snippets.

View guiscaranse's full-sized avatar

Guilherme Scaranse guiscaranse

  • São Paulo, Brazil
View GitHub Profile
@guiscaranse
guiscaranse / install.sh
Created December 12, 2018 22:46
Termux install for Codiad (PHP 7.2)
#installs the browser-based editor Codiad
DEST=~/codiad
pkg install php
if [ ! -e $DEST ]
then
git clone https://github.com/guiscaranse/Codiad $DEST
fi
@guiscaranse
guiscaranse / .hyper.cmd.js
Last active September 15, 2019 15:14
Hyper.js Cmder-cmd and Cmder-powershell (Please read the README.MD)
/*
CMD Hyper-Cmder
*/
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
Encoding iso = Encoding.GetEncoding("ISO-8859-1");
Encoding utf8 = Encoding.UTF8;
byte[] utfBytes = utf8.GetBytes(Message);
byte[] isoBytes = Encoding.Convert(utf8, iso, utfBytes);
string msg = iso.GetString(isoBytes);