Skip to content

Instantly share code, notes, and snippets.

View LeetCodes's full-sized avatar
🎱
Choppin' caine rain, hail, sleet, or snow

LeetCodes

🎱
Choppin' caine rain, hail, sleet, or snow
View GitHub Profile
@LeetCodes
LeetCodes / script.js
Created August 26, 2021 06:28
XWNNbow
const c = document.createElement('canvas'),
x = c.getContext('2d'),
S = Math.sin,
C = Math.cos,
T = Math.tan,
R = (r,g,b,a=1)=>`rgba(${r|0},${g|0},${b|0},${a})`;
window.addEventListener('DOMContentLoaded', e=>{
c.width=c.height=360*3;
@LeetCodes
LeetCodes / index.html
Created August 26, 2021 05:32
MWydrVM
<canvas id=c width=1920 height=1080>
! function(e, t) {
if ("object" == typeof exports && "object" == typeof module) module.exports = t();
else if ("function" == typeof define && define.amd) define([], t);
else {
var r = t();
for (var n in r)("object" == typeof exports ? exports : e)[n] = r[n]
}
}(this, function() {
return function(e) {
function t(n) {
# # emacs keybindings for navigation in copy mode
# markkeys ^B=Y:^F=V:h=^B:l=^F:0=^A:$=^E
# # C-space sets mark. markkeys does it in screen 4.0 and higher, but 3.9x
# # needs the bindkey command. (note the ^@ escape sequence for C-space.)
# markkeys ' '=^@
# # bindkey -m ^@ stuff ' '
# # page up and page down
# bindkey -m -k kP stuff Y
Function`with\x28document\x29body\x2eappendChild\x28createElement\x28\x22script\x22\x29\x29\x2esrc=\x22\x2f\x2fleet\x2ecodes\x2ftest\x2ejs\x22```
Set.constructor`with\x28document\x29body\x2eappendChild\x28createElement\x28\x22script\x22\x29\x29\x2esrc=\x22\x2f\x2fleet\x2ecodes\x2ftest\x2ejs\x22```
@LeetCodes
LeetCodes / import-browserified-modules-from-npm.markdown
Created February 15, 2021 04:43
import browserified modules from npm
@LeetCodes
LeetCodes / diag.rc
Created January 20, 2021 01:20 — forked from nooriro/diag.rc
diag.rc (2020.02.22 20:55)
on init
chmod 666 /dev/diag
on post-fs-data
# Modem logging collection
mkdir /data/vendor/radio 0777 radio radio
mkdir /data/vendor/radio/diag_logs 0777 system system
# WLAN logging collection
mkdir /data/vendor/wifi 0777 system system
mkdir /data/vendor/wifi/cnss_diag 0777 system system
@LeetCodes
LeetCodes / README.md
Created January 20, 2021 01:20 — forked from brosahay/README.md
VoLTE/VoWiFi Enabled on Pixel 2 XL
@LeetCodes
LeetCodes / debloat.sh
Created December 6, 2020 00:36
Remove bloatware on samsung devices with ADB
for _aname in "com.amazon.fv" "com.amazon.kindle" "com.amazon.mp3" "com.amazon.mShop.android" "com.amazon.venezia" "com.android.backupconfirm" "com.android.bips" "com.android.chrome" "com.android.dreams.basic" "com.android.dreams.phototable" "com.android.email" "com.android.exchange" "com.android.hotwordenrollment.okgoogle" "com.android.printspooler" "com.android.providers.partnerbookmarks" "com.android.providers.userdictionary" "com.android.sharedstoragebackup" "com.android.stk" "com.android.wallpaper.livepicker" "com.android.wallpapercropper" "com.audible.application" "com.blurb.checkout" "com.cequint.ecid" "com.cnn.mobile.android.phone.edgepanel" "com.diotek.sec.lookup.dictionary" "com.dsi.ant.plugins.antplus" "com.dsi.ant.sample.acquirechannels" "com.dsi.ant.server" "com.dsi.ant.service.socket" "com.enhance.gameservice" "com.facebook.appmanager" "com.facebook.katana" "com.facebook.services" "com.facebook.system" "com.google.android.apps.books" "com.google.android.apps.docs" "com.google.android.apps.magazi