Skip to content

Instantly share code, notes, and snippets.

View HeatfanJohn's full-sized avatar

John P Masseria HeatfanJohn

View GitHub Profile
wget http://www.noip.com/client/linux/noip-duc-linux.tar.gz
tar xf noip-duc-linux.tar.gz
rm noip-duc-linux.tar.gz
cd noip-2.1.9-1/
make
# Use sed to add the following after #! /bin/sh in debian.noip2.sh
sed -i -f - debian.noip2.sh <<EOF
2 i\\
@HeatfanJohn
HeatfanJohn / profile
Created June 9, 2016 18:49
My NexthingCo CHIP /etc/profile
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"
fi
export PATH
@HeatfanJohn
HeatfanJohn / rd.md
Created November 10, 2015 22:22 — forked from diego898/rd.md
Enable Concurrent Remote Desktop Users in Windows 8.1 x64

thanks to @neurodyne and this link for updated instructions

This works with the following versions of termsrv.dll

x64 - termsrv.dll - 6.3.9600.17095

Find Replace
39813C0600000F849E310500 B80001000089813806000090
090085C07F078BD8 090085C090908BD8
/* lifted from http://storage.pardot.com/10212/69581/text_to_columns_script.txt */
/**
* Retrieves all the rows in the active spreadsheet that contain data and logs the
* values for each row.
* For more information on using the Spreadsheet API, see
* https://developers.google.com/apps-script/service_spreadsheet
*/
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();