Skip to content

Instantly share code, notes, and snippets.

Chris ImTheDeveloper

Block or report user

Report or block ImTheDeveloper

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ImTheDeveloper
ImTheDeveloper / gist:2fffb92cb3b277585cd9
Created Jul 7, 2014
Javascript GSM with mass callbacks for Espruino
View gist:2fffb92cb3b277585cd9
var cmd="";
var global_response=0;
var answer="OK";
//Function handles data coming in from Serial.
Serial4.on('data',function (data) {
if(cmd.indexOf(answer) > 0){
@ImTheDeveloper
ImTheDeveloper / node-red
Created Oct 10, 2014 — forked from bigmonkeyboy/README.md
Node-Red Init.d Script - Updated
View node-red
#! /bin/sh
# Starts and stops Node-RED
# /etc/init.d/node-red
### BEGIN INIT INFO
# Provides: node-red
# Required-Start: $syslog
# Required-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Node-RED initialisation
@ImTheDeveloper
ImTheDeveloper / node-red
Last active Aug 29, 2015
update node path - use "which node" to find this path in ubuntu
View node-red
#!/bin/bash
### BEGIN INIT INFO
# Provides: node-red
# Required-Start: $local_fs $remote_fs $network
# Required-Stop: $local_fs $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start or stop the node-red server
### END INIT INFO
# Can be downloaded and installed in one go by using this command
View Node_Red Init
#! /bin/sh
# Starts and stops node-red
# /etc/init.d/node_red
### BEGIN INIT INFO
# Provides: node_red
# Required-Start: $syslog
# Required-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Node Red
@ImTheDeveloper
ImTheDeveloper / notify_event
Last active Jun 25, 2016
Event emitter for postgresql listen function
View notify_event
-- Function: notify_event()
-- DROP FUNCTION notify_event();
CREATE OR REPLACE FUNCTION notify_event()
RETURNS trigger AS
View p3ng.user.js
// ==UserScript==
// @name p3nguins User Scripts
// @namespace https://p3nguins.co.uk/
// @version 2.4
// @description We are Awesome
// @downloadUrl https://gist.github.com/ImTheDeveloper/cac48f202858e3667b20d1ce77651642/raw/p3ng.user.js
// @run-at document-start
// @exclude https://*/login*
// @exclude https://*/signup*
// @exclude https://*/register*
You can’t perform that action at this time.