CCCPaste

Setup Arduino project for Shell Compiling

#!/bin/bash
######################################################################
#Copyright (C) 2020 Kris Occhipinti
#https://filmsbykris.com

Arduino Serial PIN control for Relay

/*
Arduino Code for relay
Turns given PIN (exmaple 12) on for a third of a second when receiving any input through serial connection
Recommend not using PIN13 due to signals being sent to it durning startup

Shell colors

#shell foreground colors
for i in `seq 30 37`;do echo -e "\033[${i}mForeground - ${i}";done

#shell background colors
for i in `seq 40 49`;do echo -e "\033[${i}mBackground - ${i}";done

make_phaser

#!/bin/bash

browser="google-chrome"

if [ "$1" != "" ]

jQuery Mobile Phone List

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">

Thinkpad led/light controls

#run as root
#to get commands for each device 'cat' the device
#example:
cat beep
status: supported

GE link/wink hub and wireless lights - notes

https://winkhubroot.wordpress.com/
http://www.rootwink.com/viewtopic.php?f=8&t=8
http://hackaday.com/2015/01/05/a-better-way-to-hack-the-wink/

http://www.homedepot.com/p/GE-LINK-Starter-Pack-Link-Hub-2-GE-Link-A19-Light-Bulb-PLINK-SKIT/205311040

Setup aboriginal cross compiler mipsel

#!/bin/sh

arch="mipsel" #armv6l
arch_static="mipsel" #arm
static="/usr/bin/qemu-${arch_static}-static"

Set Desktop Background Wallpaper

<#
Check Deskop Wallpaper
PowerShell -ExecutionPolicy Bypass .\wallpaper.ps1
#>

Callback functions

preloader("There has been a fatal error! Login out!");
setTimeout(function(){removePreloader();},3000);