Skip to content

Instantly share code, notes, and snippets.

View nalakawula's full-sized avatar
👨‍💼
Working

sumarsono nalakawula

👨‍💼
Working
View GitHub Profile
@nalakawula
nalakawula / ngrokService.sh
Last active June 10, 2019 13:15 — forked from mendesbarreto/ngrokService.sh
Script to start Ngrok at raspberry every boot
#! /bin/sh
# /etc/init.d/ngrok
case "$1" in
start)
echo "Ngrok service is starting"
screen -d m /etc/init.d/ngrok start -all -config /home/pi/.ngrok2/ngrok.yml
echo "Ngrok service was started"
;;
stop)
@nalakawula
nalakawula / RPi_I2C_driver.py
Created January 4, 2017 10:13 — forked from DenisFromHR/RPi_I2C_driver.py
RaspberryPi I2C LCD Python stuff
# -*- coding: utf-8 -*-
"""
Compiled, mashed and generally mutilated 2014-2015 by Denis Pleic
Made available under GNU GENERAL PUBLIC LICENSE
# Modified Python I2C library for Raspberry Pi
# as found on http://www.recantha.co.uk/blog/?p=4849
# Joined existing 'i2c_lib.py' and 'lcddriver.py' into a single library
# added bits and pieces from various sources
# By DenisFromHR (Denis Pleic)