Skip to content

Instantly share code, notes, and snippets.

View naikrovek's full-sized avatar

Jeremiah Johnson naikrovek

View GitHub Profile
@harrisonhjones
harrisonhjones / application.cpp
Last active October 9, 2015 07:22
Spark Community - kokoro - Web Browser Issue
// Original Spark Community Thread: http://community.spark.io/t/how-to-access-the-core-via-we-browser/9711
// Code adapted from: http://arduino.cc/en/Tutorial/WebServer
/* Includes ------------------------------------------------------------------*/
#include "application.h"
SYSTEM_MODE(AUTOMATIC);
TCPServer server = TCPServer(80);
#include "application.h"
SYSTEM_MODE(MANUAL);
Serial1DebugOutput dbg(57600, ALL_LEVEL);
void setup() {
Serial.begin(9600);
USBSerial1.begin(9600);
Mouse.begin();
package computer;
// Referenced classes of package computer:
// KeyMapping
public class AWTKeyMapping extends KeyMapping
{
public AWTKeyMapping()
@jakejscott
jakejscott / Default (Windows).sublime-keymap
Last active January 28, 2017 18:14
Handmade hero Sublime Text 3 settings
[
{ "keys": ["ctrl+up"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false} },
{ "keys": ["ctrl+down"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true} }
]
@ma11hew28
ma11hew28 / Create Icons.jsx
Created November 23, 2010 03:50
Photoshop Script to Create iPhone Icons from iTunesArtwork
// Photoshop Script to Create iPhone Icons from iTunesArtwork
//
// WARNING!!! In the rare case that there are name collisions, this script will
// overwrite (delete perminently) files in the same folder in which the selected
// iTunesArtwork file is located. Therefore, to be safe, before running the
// script, it's best to make sure the selected iTuensArtwork file is the only
// file in its containing folder.
//
// Copyright (c) 2010 Matt Di Pasquale
//
@abevoelker
abevoelker / PS3.plist
Created May 27, 2012 14:37
HandBrake Xbox 360 / PS3 preset from version 0.93
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>AudioList</key>
<array>
<dict>
<key>AudioBitrate</key>
<string>160</string>
SYSTEM_MODE(SEMI_AUTOMATIC);
#include "scheduler.h";
#include "lgger.h";
#include "tmp36.h";
#include "udp_client.h";
#include "aggregator.h";
// Duration
typedef unsigned int Duration;
@kennygoff
kennygoff / pair-programming-bunny.js
Last active May 3, 2018 22:46
Bunny with sign ascii art meme with "this is your spot" for sharing code tasks with developers
//
// | ̄ ̄ ̄ ̄ ̄ ̄|
// | this is |
// | your |
// | spot |
// |__________|
// (\__/) ||
// (•ㅅ•) ||
// / づ
//
@keijiro
keijiro / 00_FlipCheck.shader.md
Last active July 5, 2018 11:02
A Unity shader that detects flipped polygons.

screenshot

@adrenalinehit
adrenalinehit / mqtt-publisher.cs
Last active May 2, 2019 01:42
MQTT Publisher sample console application to demonstrate connecting to AWS IoT
using System;
using System.Text;
using System.Security.Cryptography.X509Certificates;
using uPLibrary.Networking.M2Mqtt;
namespace MQTT.Sample
{
public class Program