Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View unforgiven512's full-sized avatar

Gerad Munsch unforgiven512

View GitHub Profile
@2N2222A
2N2222A / THPrev4aextendedwvoltage.pde
Created June 26, 2012 19:33
Arduino Temperature/Humidity/Pressure Monitor
/* Arduino Temperature/Humidity/Pressure monitor Rev. 2.2A by JS106351
Originally based from an all analog design, but code was rewritten for digital use.
Example code for the sensors was found online, and modified for this project. */
//This code is for Arduino 0023 or less only.
// Read temperature/humidity/pressure from sensors and display on 16x2 Character LCD screen
#include <LiquidCrystal.h>
#include <Sensirion.h>
@zeha
zeha / gist:5999375
Created July 15, 2013 11:49
gitignore for MPLAB X projects
*.d
*.pre
*.p1
*.lst
*.sym
*.obj
*.o
*.sdb
*.obj.dmp
html/
@2xyo
2xyo / Readme.md
Created October 7, 2013 12:40
Kernel sysctl configuration file for Linux dedicated server systems at high-speed networks with loads of RAM and bandwidth available.

Sysctl-IP-Tunning

Kernel sysctl configuration file for Linux dedicated server systems at high-speed networks with loads of RAM and bandwidth available.

Installation

This file should be saved as /etc/sysctl.d/sysctl.local.conf and can be activated using the command: sysctl -e -p /etc/sysctl.d/*

@oscarmorrison
oscarmorrison / IFTTTDate.md
Last active December 3, 2023 21:44
Make IFTTT Date Format play nice with Google Spreadsheets

##Date and Time

=TIMEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " ")) + DATEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " "))

##Date

=DATEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " "))

##Time

@kennwhite
kennwhite / 1944_OSS_Simple_Sabotage_Field_Manual.md
Last active April 5, 2024 02:51
1944 OSS Simple Sabotage Field Manual
@vietlq
vietlq / howto-forward-x11-to-win10-via-putty-vcxsrv.md
Last active August 22, 2023 19:53
Code2Pro: How to Forward X11 to Windows 10 via PuTTY & vcxsrv

Code2Pro: How to Forward X11 to Windows 10 via PuTTY & vcxsrv

Scope

Tested on Windows 10 & Ubuntu 16.

Steps

  1. Check that sshd on Ubuntu is properly configured
@unforgiven512
unforgiven512 / README.md
Last active February 7, 2023 06:20
UCF file for Digilent Xilinx CoolRunner-II CPLD Starter Board

User Constraints File for Digilent CoolRunner-II CPLD Starter Board

This is intended to be a complete and ready-to-use user constraints file for the [Digilent CoolRunner-II CPLD Starter Board][1] to ease the creation of projects within the Xilinx ISE software.

Hardware Interface Overview

Below is a list of the high-level I/O components featured on the board:

  • LEDs - 4
@BenWoodford
BenWoodford / LeafAPI.md
Last active November 22, 2023 21:51
New Nissan Connect EV API

Late 2018 Update

I am no longer working on this as the new API is US-only as I'm in the UK, so cannot even use it or the new app. Please don't ask me questions about it as I honestly can't remember anything.

Nissan Connect EV 2018 API

This is a work in progress, just jotting down my findings from the APK decompile so far. As I can only read the decompiled Java and not MITM the app due it not working in the UK, getting the payload info may take a while. There's loads of API calls so this may not be thorough for a while.

Base URL: https://icm.infinitiusa.com/NissanLeafProd/rest

@darconeous
darconeous / eagle-200-curl.md
Last active August 10, 2022 03:34
Eagle-200 Local Usage via CURL

Eagle-200 Local Usage via CURL

You can locally pull data from your Rainforest Eagle-200 using cURL.

Rainforest has published a local API document which explains the details of the protocol. But this particular document is about quickly getting to the point and giving you some cURL commands you can use to immediately start pulling out data.

Prerequisites

First, I'll assume that you have the following environment variables set:

@bryan-hunt
bryan-hunt / cal_gg_pkcs11.md
Last active April 1, 2023 16:27
Setting up ATECC608A, Cryptoauthlib PKCS11 for Greengrass HSI

Demo Setup for Cryptoauthlib PKCS11 and Greengrass on Raspberry Pi

  • Setup the Raspberry Pi for greengrass following the AWS tutorials for the Raspberry Pi. Modules 1 & 2 need to be completed before moving forward with the pkcs11 credentials.
  • Perform the steps detailed in the pkcs11 readme and stop at the "testing" section as the tests will not succeed without an initialize device.

Probing the device

An uninitialized device with the defaults provided in the readme will display the following: