Skip to content

Instantly share code, notes, and snippets.

View TANJX's full-sized avatar
🎯
Focusing

Mars Tan TANJX

🎯
Focusing
View GitHub Profile
// ==UserScript==
// @name Bangumi Tag Rankings
// @namespace https://marstanjx.com
// @version 0.1
// @description Sort the Tag list
// @author You
// @match https://bangumi.tv/anime/list/*/collect*
// @grant none
// ==/UserScript==
import time
import requests
import json
import RPi.GPIO as GPIO
# Define GPIO to LCD mapping
LCD_RS = 7
LCD_E = 8
LCD_D4 = 25
LCD_D5 = 24
fHxlZHUuY24KfHxnb3YuY24KfHxhY2Z1bi5jbgp8fGFjZnVuLmNvbQp8fGFpeGlmYW4uY29tCnx8
MTYzLmNvbQp8fDEyNi5jb20KfHwxMjcubmV0Cnx8bmV0ZWFzZS5jb20KfHwxNjN5dW4uY29tCnx8
MTI2Lm5ldAp8fHFxLmNvbQp8fHNvc28uY29tCnx8cXBpYy5jbgp8fGd0aW1nLmNuCnx8d2VpeGlu
LmNvbQp8fHFsb2dvLmNuCnx8d2VpYm8uY29tCnx8c2luYWpzLmNuCnx8c2luYS5jb20KfHxzaW5h
LmNuCnx8c2luYS5jb20uY24KfHxzaW5haW1nLmNuCnx8c2luYWpzLmNuCnx8bWlhb3BhaS5jb20K
fHx4aWFva2EudHYKfHx0LmNuCnx8YWxpeXVuLmNvbQp8fHRhb2Jhby5jb20KfHxhbGljZG4uY29t
Cnx8dG1hbGwuY29tCnx8bW1zdGF0LmNvbQp8fHRiY2RuLmNvbQp8fGFsaWJhYmFjbG91ZC5jb20K
fHxhbGlwYXkuY29tCnx8aGljaGluYS5jb20KfHx4aWFtaS5jb20KfHx4aWFtaS5uZXQKfHxiYWlk
dS5jb20KfHxiZHN0YXRpYy5jb20KfHxiY2Vib3MuY29tCnx8YmFpZHVwY3MuY29tCnx8cWlhbnFp
YW4uY29tCnx8aGRzbGIuY29tCnx8YmlsaWJpbGkuY29tCnx8Z2VldGVzdC5jb20KfHxhY2d2aWRl
const int trigPin = 9;
const int echoPin = 10;
const int ledPin1 = 11;
const int ledPin2 = 12;
const int ledPin3 = 13;
const int buzzPin = 4;
// defines variables
long duration;
int distance;
@TANJX
TANJX / nav-bar.html
Last active January 31, 2019 21:52
Hamburger Nav-bar
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<style>
* {