javascript:(function(){if(location.href.indexOf('http')!=0){input=prompt('URL:','http://');if(input!=null){location.href='http://web.archive.org/web/*/'+input}}else{location.href='http://web.archive.org/web/*/'+location.href;}})();)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useSyncExternalStore, useCallback } from 'react'; | |
import { noop } from 'foxact/noop'; | |
import { useLayoutEffect } from 'foxact/use-isomorphic-layout-effect'; | |
import { noSSRError } from 'foxact/no-ssr'; | |
import { DEFAULT_VALUE, type StoredValues } from '../../storage'; | |
type NotUndefined<T> = T extends undefined ? never : T; | |
// eslint-disable-next-line @typescript-eslint/naming-convention -- global GM API | |
declare function GM_addValueChangeListener<T, K extends keyof T>(key: K, cb: (key: K, oldValue: T[K], newValue: T[K], remote: boolean) => void): number; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Created by Sukka (https://skk.moe) | |
# wget --no-check-certificate -O snell.sh https://gist.githubusercontent.com/SukkaW/88a748fcd9faa93675789bdb24b95762/raw/snell.sh && chmod +x snell.sh && ./snell.sh && rm -rf snell.sh | |
CONF="/etc/snell/snell-server.conf" | |
SYSTEMD="/etc/systemd/system/snell.service" | |
PSK="o_sase_sd_wan_is_the_best_6666" | |
apt-get update -y | |
apt-get install unzip curl -y |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******/ (function() { // webpackBootstrap | |
/******/ var __webpack_modules__ = ({ | |
/***/ 1145: | |
/***/ (function(__unused_webpack_module, exports, __webpack_require__) { | |
"use strict"; | |
Object.defineProperty(exports, "__esModule", ({ value: true })); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```md | |
## Breaking Change | |
refactor(box): remove Bluebird.asCallback @SukkaW [#4379] | |
feat: bring up config.updated_option @SukkaW [#4278] | |
feat(open_graph): drop 'keywords' option from front-matter @curbengh [#4174] | |
fix(#3464): override permalink use the front-matter @SukkaW [#4359] | |
refactor: remove lodash from global variable @SukkaW [#4266] | |
chore/ci: drop Node.js 8 and add Node.js 14 @SukkaW [#4255] | |
refactor: remove site config from theme config @SukkaW [#4145] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name 远景资讯自动回复 | |
// @namespace http://tampermonkey.net/ | |
// @version 0.5 | |
// @description try to take over the world! | |
// @author Sukka | |
// @include http://www.pcbeta.com/viewnews*.html | |
// @include http://www.pcbeta.com/portal.php?mod=view&aid=* | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mycss=prompt('请输入你需要的CSS'); | |
formhash=document.querySelector('input[name=formhash]').value; | |
fetch("/home.php?mod=spacecp&ac=index", {"credentials":"include","headers":{"content-type":"application/x-www-form-urlencoded"},"body":"spacecss=" | |
+ encodeURIComponent(mycss) + "&formhash=" + formhash + "&style=t8&layoutdata=" + encodeURIComponent('<?xml version="1.0" encoding="ISO-8859-1"?><root><item id="diypage"><item id="frame`frame1"><item id="attr"><item id="name"><![CDATA[frame1]]></item><item id="moveable"><![CDATA[false]]></item><item id="className"><![CDATA[frame cl]]></item><item id="titles"></item></item><item id="column`frame1_left"><item id="attr"><item id="name"><![CDATA[frame1_left]]></item><item id="className"><![CDATA[z column]]></item></item><item id="block`profile"><item id="attr"><item id="name"><![CDATA[profile]]></item><item id="className"><![CDATA[block move-span]]></item><item id="titles"><item id="0"><item id="text"><![CDATA[头像]]></item><item id="href"><![CDATA[http://bbs.pcbeta.com/home.php?mo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Archive Today | |
130.0.234.124 archive.vn | |
51.38.113.224 archive.vn | |
134.119.220.26 archive.vn | |
89.163.224.67 archive.vn | |
91.121.82.32 archive.vn | |
130.0.234.124 archive.is | |
51.38.113.224 archive.is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $el = document.querySelectorAll('.component-inner-container .name'); | |
var $num = 0; | |
for (var i of $el) { | |
if (i.innerHTML.indexOf(' - (') > -1) $num++; | |
} | |
console.log($num); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function math() { | |
let x = parseInt(document.getElementById('task_x').innerHTML, 10); | |
let y = parseInt(document.getElementById('task_y').innerHTML, 10); | |
let op = document.getElementById('task_op').innerHTML; | |
let res = parseInt(document.getElementById('task_res').innerHTML, 10); | |
let choose = { | |
true: () => document.getElementById('button_correct').click(), | |
false: () => document.getElementById('button_wrong').click() | |
} |
NewerOlder