Skip to content

Instantly share code, notes, and snippets.

View bingeboy's full-sized avatar
🏠
Working from home

JP McGarrity bingeboy

🏠
Working from home
View GitHub Profile
@bingeboy
bingeboy / Mac OSX Key Strokes
Last active June 3, 2022 21:06
List of Mac OSX Key Strokes, shortcut symbol meanings.
⌘ Command
⌥ Option
⇧ Shift
⌃ Control
⌫ Backward Delete
⌦ Forward Delete
⎋ Escape
 Eject
fn Fn Key
F1 Function
@bingeboy
bingeboy / Geolocation Javascript
Last active August 6, 2021 11:07
Geolocation Detection in browser with Javascript snippet.
var success = function(locationData){
console.log("locationData object", locationData);
},
error = function(err){
console.log(err);
};
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(success, error, 10000);
} else {
@bingeboy
bingeboy / app.js
Last active April 29, 2021 15:52
Upload and display image with NodeJS and Express.
/*
* Module dependencies.
*/
var express = require('express')
, routes = require('./routes')
, user = require('./routes/user')
, common = require('./routes/common')
, fs = require('fs')
, http = require('http')
, util = require('util')
@bingeboy
bingeboy / CB CODES.txt
Created March 14, 2017 22:05
CB Codes
10-1 Receiving Poorly
10-2 Receiving Well
10-3 Stop Transmitting
10-4 Ok, Message Received
10-5 Relay Message
10-6 Busy, Stand By
10-7 Out of Service, Leaving Air
10-8 In Service, subject to call
10-9 Repeat Message
10-10 Transmission Completed, Standing By
@bingeboy
bingeboy / arma3setup.md
Last active September 22, 2017 02:28
arma3 setup
Spent 2002-2008 creating marketing channels for acne for farmers. Prior to my current job I was working with fried chicken on the black market. Prior to my current job I was short selling pond scum in Cuba. Spent high school summers writing about cannibalism for fun and profit. Spent the better part of the 90's building bagpipes in Miami, FL. Spent the better part of the 90's working with gravy for the underprivileged
<?xml version="1.0" encoding="UTF-8" ?>
<GraphicsConfig>
<GUIColour>
<Default>
<LocalisationName>Standard</LocalisationName>
<MatrixRed> 1, 1, 1 </MatrixRed>
<MatrixGreen> 0.34, 0.52, 0.4 </MatrixGreen>
<MatrixBlue> 0.21, 0.54, 1 </MatrixBlue>
</Default>
</GUIColour>
var React = require('react');
var Foo = React.createClass({
/**
* PropTypes
*/
propTypes: {
className: React.PropTypes.string,
@bingeboy
bingeboy / streetFighterVhoriRap4.cfg
Created March 10, 2016 23:05
Street fighter V Hori Rap 4 config for joyToKey
[General]
FileVersion=57
NumberOfJoysticks=2
NumberOfButtons=32
DisplayMode=2
UseDiagonalInput=0
UsePOV8Way=0
Threshold=20
Threshold2=20
KeySendMode=0