Skip to content

Instantly share code, notes, and snippets.

View JordenLCH's full-sized avatar
💭
Hello World

Jorden Liu Chin Hao JordenLCH

💭
Hello World
View GitHub Profile
@JordenLCH
JordenLCH / yasu.js
Created October 9, 2023 14:45 — forked from NestorHuang/yasu.js
耶穌保佑圖
// |~~~~~~~|
// | |
// | |
// | |
// | |
// | |
// |~.\\\_\~~~~~~~~~~~~~~xx~~~ ~~~~~~~~~~~~~~~~~~~~~/_//;~|
// | \ o \_ ,XXXXX), _..-~ o / |
// | ~~\ ~-. XXXXX`)))), _.--~~ .-~~~ |
// ~~~~~~~`\ ~\~~~XXX' _/ ';)) |~~~~~~..-~ _.-~ ~~~~~~~
@JordenLCH
JordenLCH / Popcat click bot.js
Last active August 16, 2021 14:35 — forked from DaWe35/Popcat click bot.js
tweak the code to make it support popdog
/*
1) Open https://popdog.click
2) Open console (F12)
3) Insert code & run
*/
let cps = 10;
let event = new Event('mousedown');
setInterval(() => {
// click the dog
@JordenLCH
JordenLCH / gist:adbf815330af2c0386726c1022d4d3a4
Created October 30, 2017 15:19 — forked from prime31/gist:5675017
Simple PHP script showing how to send an Android push notification. Be sure to replace the API_ACCESS_KEY with a proper one from the Google API's Console page. To use the script, just call scriptName.php?id=THE_DEVICE_REGISTRATION_ID
<?php
// API access key from Google API's Console
define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' );
$registrationIds = array( $_GET['id'] );
// prep the bundle
$msg = array
@JordenLCH
JordenLCH / gist:cd09ef64c9e3ee1a86f8b15787469f21
Created October 30, 2017 15:19 — forked from rolinger/gist:d6500d65128db95f004041c2b636753a
PHP => FCM Push notification tutorial for Android and iOS
Below is a full tutorial on how to setup and use Googles Firebase push notification API for both Android and iOS. It is based on this
earlier implementation of Googles GCM method: https://gist.github.com/prime31/5675017 - FCM is the new method and GCM will eventually be
retired.
## THE BELOW METHOD IS THE NEWER FCM METHOD:
Register your app in the FCM Console: https://console.firebase.google.com (add project)
1. Click on the newly added project, in the upper left menu is the "Overview" and Gear Settings.
2. Click on the GEAR settings icon, and then on "Project Settings"
3. In the main screen, click on "Cloud Messaging"
@JordenLCH
JordenLCH / Output
Created October 29, 2017 05:59
508 Quiz
8115! : 28202
8^11511 : 10396
Factorial Output Success
Power of Output Success
@JordenLCH
JordenLCH / index.js
Last active March 8, 2022 09:09 — forked from edokeh/index.js
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \