Skip to content

Instantly share code, notes, and snippets.

View GroverChouT's full-sized avatar
🐱
What's on your mind?

Grover Chou GroverChouT

🐱
What's on your mind?
View GitHub Profile
@GroverChouT
GroverChouT / turret_car.ino
Last active April 12, 2017 16:26
The code of my Arduino project, Turret Car.
/*
* Author: Grover Chou <groverchout@gmail.com>
*
* TIPS:
* For enable debug, you can easily connect pin 2 to Vcc.
* For force enable debug, set DEBUG_FORCE to true.
* For debug bluetooth, connect the pin right the reset button to Vcc.
* The baud rate for debug bluetooth is 38400, normal mode is 9600.
*/
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <IRremote.h>
const int en[] = {10, 5};
const int in[] = {9, 8, 7, 6};
const int ir = 11;
const int beep = 4;
const int cannon = 12;
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDz/Irlp71WwSR3ScCApiysLAQncLbtDTrgtPpNraAivxxKM11zcHDBGUTbFHAcSrAwAjHFEiCVhAEJtTUGeT+1PSTM+RBw6Fu3HYmymhV6LrMt6yQxDCzhlptdWqH5GH4o3gZfQRGHHYQkyPGT2BeAkyZuLfXqapP4qIDaVkXmoNW/ypEjzMsx5rl8vNtfqYwVvByQejvpw+zOSEgpo0bX40CheOAY6o6cQqD36skYan8bIlOpSVGUGuB908YAQTCMYQgUDZFCkXRHIcKMP+RIIDF51ez+RaiJ/tnUFAbcjuk1y4NxepIQNxS7nNkMJX3SNa8KJmeA2oCoDgdRua9L GroverChouT

NMNET project

Join network

Execute following command at central node:

tinc -n nmlan invite <name>
#!ipxe
dhcp
menu Please choose an openSUSE release to boot
item tumbleweed64 openSUSE Tumbleweed (64-bit)
item tumbleweed32 openSUSE Tumbleweed (32-bit)
item leap150 openSUSE Leap 15.0 (beta)
item leap423 openSUSE Leap 42.3
item leap422 openSUSE Leap 42.2
curl -s -i https://www.netflix.com/ | grep location

Set target host

Notes:

  • Don't forget to issue a reboot after you change the settings
  • Remember your token and port for later use

Enable kernel debug

bcdedit /debug on

# AuthHost
CheckNetIsolation LoopbackExempt -a -p=S-1-15-2-2750798217-1343590035-1234819260-1030354384-3318145141-3720257911-3461195215
# Mail and Calendar (require AuthHost)
CheckNetIsolation LoopbackExempt -a -p=S-1-15-2-2551677095-2355568638-4209445997-2436930744-3692183382-387691378-1866284433
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 7 3700X 8-Core Processor
CPU Family: 0x17
// ==UserScript==
// @name Superstar Flash Disabler
// @namespace superstar-flash-disabler
// @version 0.1
// @description Disable Falsh Player on Superstar online course system by not using danmaku
// @author Grover Chou
// @match https://*.chaoxing.com/mycourse/studentstudy*
// @grant none
// ==/UserScript==