Skip to content

Instantly share code, notes, and snippets.

View SirNeural's full-sized avatar

Michael Xu SirNeural

View GitHub Profile
@SirNeural
SirNeural / generator.ipynb
Last active March 23, 2020 01:52
CSE365 S20 Lookalike Key Generator
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@SirNeural
SirNeural / Package Control.sublime-settings
Created September 16, 2016 23:56
SublimeText3 Packages
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"AdvancedNewFile",
"Alignment",
"BracketHighlighter",
#!/usr/bin/env bash
# Check if using bash
if [ ! "$BASH_VERSION" ] ; then
echo "Please do not use sh to run this script ($0), just execute it directly with bash" 1>&2
exit 1
fi
# Set variables
read -p "Username: " USERNAME
#!/usr/bin/env bash
# Check if using bash
if [ ! "$BASH_VERSION" ] ; then
echo "Please do not use sh to run this script ($0), just execute it directly with bash" 1>&2
exit 1
fi
# Set variables
read -p "Username: " USERNAME
@SirNeural
SirNeural / setup-7.sh
Last active August 28, 2016 23:53
Automated setup of a ubuntu server for PHP 7.
#!/usr/bin/env bash
# Check if using bash
if [ ! "$BASH_VERSION" ] ; then
echo "Please do not use sh to run this script ($0), just execute it directly with bash" 1>&2
exit 1
fi
# Set variables
read -p "Username: " USERNAME

Keybase proof

I hereby claim:

  • I am sirneural on github.
  • I am neural (https://keybase.io/neural) on keybase.
  • I have a public key whose fingerprint is 9CC4 88F1 0654 444B C381 F0C3 5FE4 D0CD 205B 7539

To claim this, I am signing this object:

@SirNeural
SirNeural / setup.sh
Last active July 7, 2017 08:27
Automated setup of a ubuntu server.
#!/usr/bin/env bash
# Check if using bash
if [ ! "$BASH_VERSION" ] ; then
echo "Please do not use sh to run this script ($0), just execute it directly with bash" 1>&2
exit 1
fi
# Set variables
read -p "Username: " USERNAME
@SirNeural
SirNeural / Photon-NRF24L01-Mapping.txt
Last active September 30, 2015 05:07
Mapping for the NRF24L01(+) to the Particle Photon
Particle Photon NRF24L01+
GND 1 (GND)
3V3 (3.3V) 2 (3V3)
D6 (CSN) 3 (CE)
A2 (SS) 4 (CSN)
A3 (SCK) 5 (SCK)
A5 (MOSI) 6 (MOSI)
A4 (MISO) 7 (MISO)
@SirNeural
SirNeural / PingPong.cpp
Created September 30, 2015 04:55 — forked from rlogiacco/PingPong.cpp
PingPong nRF24L01+ example for Spark Core using pins 5 CE and 6 CSN
#ifndef Binary_h
#define Binary_h
#define B0 0
#define B00 0
#define B000 0
#define B0000 0
#define B00000 0
#define B000000 0
#define B0000000 0