Skip to content

Instantly share code, notes, and snippets.

View ProtoJazz's full-sized avatar
🏎️

Jim MacKenize ProtoJazz

🏎️
View GitHub Profile
use esp_idf_hal::gpio::*;
use esp_idf_hal::peripheral::Peripheral;
use esp_idf_hal::spi::{SpiDeviceDriver, SpiDriver};
use std::thread::sleep;
use std::time::Duration;
const BOOSTER_SOFT_START: u8 = 0x06;
const POWER_ON: u8 = 0x04;
use std::borrow::Borrow;
use esp_idf_hal::gpio;
use esp_idf_hal::gpio::*;
use esp_idf_hal::peripheral::Peripheral;
use esp_idf_hal::peripheral::PeripheralRef;
use esp_idf_hal::spi::*;
use esp_idf_hal::prelude::*;
mod epaper_display;
fn main() {
using UnityEngine;
using System.Collections;
public class Enemy : MonoBehaviour
{
public MapCreator ourGenerator;
public Vector2 ourPos;
// Use this for initialization
void Start()
#!/bin/python3
import sys
n = int(input().strip())
arr = [int(arr_temp) for arr_temp in input().strip().split(' ')]
arr = arr[::-1]
print(*arr)

Keybase proof

I hereby claim:

  • I am ProtoJazz on github.
  • I am protojazz (https://keybase.io/protojazz) on keybase.
  • I have a public key whose fingerprint is 2AF9 5D7D FE42 359B 1EE5 08F9 BB73 EEAA 3103 B8D0

To claim this, I am signing this object:

list($SessionID, $UserID) = explode("|~|", $Enc->decrypt($LoginCookie));
$DB->query("
SELECT
SessionID,
Browser,
OperatingSystem,
IP,
LastUpdate,
i.AdminComment
@ProtoJazz
ProtoJazz / Autoforward if on mobile
Last active December 9, 2015 22:06
CEW OFITD addins
//Raw JS element goes on page
<script type="text/javascript">
if ((navigator.userAgent.indexOf('iPhone') != -1) ||
(navigator.userAgent.indexOf('iPod') != -1) ||
(navigator.userAgent.indexOf('iPad') != -1) ||
(screen.width <= 699)) {
window.location = "http://onefootinthedoor.org/branching-animation-embedded-test-mobile";
}
else {
# Use Xft?
use_xft yes
xftfont Open Sans Light:size=8
xftalpha 0.8
text_buffer_size 2048
uppercase yes
# Update interval in seconds
update_interval 1
@ProtoJazz
ProtoJazz / Terminal.cs
Created November 25, 2015 15:09
Unity Terminal
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.Collections.Generic;
public class Terminal : MonoBehaviour
{
List<string> commands = new List<string>();
List<string> found= new List<string>();
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript">
var alsoenlarge = true;
$(function(){
if(isScalePossible()){
$('body').css({overflow:'hidden'});
$('#scalecontainer').css({position: 'absolute', margin: 0});