Skip to content

Instantly share code, notes, and snippets.

@garrows
garrows / SetupBluetooth.ino
Last active Feb 2, 2021
Configure HC-06 bluetooth chip to work with the Johnny-Five javascript robotics library
View SetupBluetooth.ino
/*
This is for configuring the hc-06 bluetooth chip to work with Johnny-Five javascript robotics library.
Might also work with the hc-05.
Author: Glen Arrowsmith (@garrows)
*/
#define ROBOT_NAME "RandomBot"
@garrows
garrows / frontend.md
Last active Mar 7, 2018
FrontEnd Web Developer (React), Fortitude Valley, $80-$110k+Super
View frontend.md

FrontEnd Web Developer (React), Fortitude Valley, $80-$110k+Super

FunCaptcha Logo

About us

At FunCaptcha we fight an epic battle against cyber crime, spammers, scalpers and trolls. Our internationally praised Brisbane based company replaces the much-disliked method that makes users "prove their humanity" by deciphering blurry letters and photos. Instead, FunCaptcha poses a clever 3D visual puzzle that is highly usable for humans, but very hard for abusive programs that crawl the internet, imitating legitimate users. FunCaptcha protects thousands of websites and apps worldwide, gaining testimonials by globally recognised companies. See more by searching for "FunCaptcha" on the web.

To support more high value clients, we are building our software development team. We will be adding features and maintaining our existing service, building tooling for our analysts/producers and building an awesome customer portal.

@garrows
garrows / Sumo.ino
Created Jul 16, 2014
Sumo Bot Code
View Sumo.ino
#include <ZumoBuzzer.h>
#include <ZumoMotors.h>
#include <Pushbutton.h>
#include <QTRSensors.h>
#include <ZumoReflectanceSensorArray.h>
#define LED 13
#define DISTANCE_SENSOR A1
// this might need to be tuned for different lighting conditions, surfaces, etc.
@garrows
garrows / backend.md
Last active Jan 9, 2018
Backend/API Developer (Node.js, Lambda/Serverless), Fortitude Valley, $80-$110k+Super
View backend.md

Backend/API Developer (Node.js, Lambda/Serverless), Fortitude Valley, $80-$110k+Super

FunCaptcha Logo

About us

At FunCaptcha we fight an epic battle against cyber crime, spammers, scalpers and trolls. Our internationally praised Brisbane based company replaces the much-disliked method that makes users "prove their humanity" by deciphering blurry letters and photos. Instead, FunCaptcha poses a clever 3D visual puzzle that is highly usable for humans, but very hard for abusive programs that crawl the internet, imitating legitimate users. FunCaptcha protects thousands of websites and apps worldwide, gaining testimonials by globally recognised companies. See more by searching for "FunCaptcha" on the web.

To support more high value clients, we are building our software development team. We will be adding features and maintaining our existing service, building tooling for our analysts/producers and building an awesome customer portal.

@garrows
garrows / devops.md
Last active Jan 9, 2018
Systems & DevOps Engineer (AWS), Fortitude Valley, $80-$110k+Super
View devops.md

Systems & DevOps Engineer (AWS), Fortitude Valley, $80-$110k+Super

FunCaptcha Logo

About us

At FunCaptcha we fight an epic battle against cyber crime, spammers, scalpers and trolls. Our internationally praised Brisbane based company replaces the much-disliked method that makes users "prove their humanity" by deciphering blurry letters and photos. Instead, FunCaptcha poses a clever 3D visual puzzle that is highly usable for humans, but very hard for abusive programs that crawl the internet, imitating legitimate users. FunCaptcha protects thousands of websites and apps worldwide, gaining testimonials by globally recognised companies. See more by searching for "FunCaptcha" on the web.

To support more high value clients, we are building our software development team. We will be adding features and maintaining our existing service, building tooling for our analysts/producers and building an awesome customer portal.

@garrows
garrows / styles.less
Created Nov 11, 2015
Atom Custom Background
View styles.less
.panes::after {
content: "";
position: fixed;
top: 0;
right: 0;
left: 0;
bottom: 0;
pointer-events: none;
background: url("https://source.unsplash.com/random");
// background: url("https://source.unsplash.com/category/nature"); //Nature category
@garrows
garrows / .git-hooks-pre-commit.sh
Created Jul 10, 2015
Js-Beautify recursively git hook
View .git-hooks-pre-commit.sh
#!/bin/sh
type js-beautify >/dev/null 2>&1 || { echo >&2 "js-beautify command missing. Installing now."; sudo npm install -g js-beautify; }
find . -type f -name "*.js" -not -path "*node_modules*" -exec js-beautify -r {} \;
View Installed Modules.txt
Community Packages (15) /Users/glen/.atom/packages
├── api-blueprint-preview@0.7.0
├── atom-beautify@0.29.22
├── busy-signal@1.3.0
├── editorconfig@2.2.2
├── git-diff-details@1.4.0
├── git-plus@7.5.0
├── intentions@1.1.2
├── language-api-blueprint@1.0.2
├── lcov-info@0.12.0
@garrows
garrows / .jsbeautifyrc
Last active Jan 22, 2016
JS Hint & Beautify
View .jsbeautifyrc
{
"indent_size": 4,
"indent_char": " ",
"indent_level": 0,
"indent_with_tabs": true,
"preserve_newlines": true,
"max_preserve_newlines": 10,
"jslint_happy": true,
"brace_style": "collapse",
"keep_array_indentation": false,
@garrows
garrows / ProxyEventer.js
Last active Dec 24, 2015
Simple proxy and event listener
View ProxyEventer.js
MyObject.prototype.on = function (eventName, callback) {
if (this.eventListeners[eventName] == undefined) {
this.eventListeners[eventName] = [];
}
if (typeof callback == "function") {
this.eventListeners[eventName].push(callback);
} else {
throw "can not subscribe with a non function callback";
}
}