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
Level ██████████░░░░░░░░░░░Lv.20/48% | |
Coding ░░░░░░░░░░░░░░░░░░░░░5000/0 | |
---------------------------------------- | |
https://codestats.net/users/Anc |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>vue</title> | |
<script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script> | |
</head> | |
<body> | |
<div id="app"> | |
<p>{{ message }}</p> |
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
#steam 入库 | |
jQuery.post( | |
'//store.steampowered.com/checkout/addfreelicense', | |
{ | |
action: 'add_to_cart', | |
sessionid: g_sessionID, | |
subid:439194 | |
}) |
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
let items = ['']; | |
let options = { | |
method: 'POST', | |
headers:{ | |
'Origin': 'https://mine.cubejoy.com', | |
'Referer': 'https://mine.cubejoy.com/JSJ/TaskList' | |
} | |
} |
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
//自我数 (Self number) | |
//不能由任何一个整数加上这个整数的各位数字和生成的数,称之为自我数。例如:21不是自我数,因为21可以由整数15和15的各位数字1,5生成,即21=15+1+5。 | |
function selfNumber(num){ | |
for(let i=0;i<=1000;i++){ | |
if(calc(i) == num) | |
return false; | |
} | |
return true; | |
} | |
function calc(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
let that; | |
class Tab{ | |
constructor(el){ | |
that = this; | |
this.main = document.querySelector(el); | |
this.button = document.querySelector("button"); | |
this.ul = document.querySelector("ul"); | |
this.lis = document.querySelectorAll("li"); | |
this.init(); | |
} |
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
url='socks5://127.0.0.1:7890' | |
alias ssoff='unset http_proxy;unset https_proxy' | |
alias sson='export http_proxy=$url; export https_proxy=$url' | |
alias clipsend='_a(){ curl server:port/"$1"/"$1" -d "content=$2" }; _a' | |
alias clipget='_a(){ curl server:port/"$1"/"$1" }; _a' | |
alias copy='_a(){ echo "$1" > temp && clip.exe < temp && rm temp }; _a' | |
alias cht='_a(){ curl cheat.sh/"$1" }; _a' | |
alias qrcode='_a(){ curl qrenco.de/"$1" }; _a' | |
alias weather='curl "http://wttr.in/杭州?m&lang=zh"' |
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
javascript: (function () { | |
const d = document.documentElement; | |
const stepTime = 5000; | |
const overlap = 80; | |
const scroll = {}; | |
const stopScroll = ()=>{ | |
scroll.state = false; | |
scroll.time = null; | |
}; | |
stopScroll(); |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
CoordMode, Mouse,Screen | |
SysGet, Mon1, Monitor, 1 | |
SysGet, Mon2, Monitor, 2 | |
isLeft := StrSplit(A_ScriptName, ".")[1] == "mouse_left" ? 1 : 0 |
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
@echo off | |
powershell.exe -ExecutionPolicy Bypass -File "C:\Users\anc\Desktop\soft\script\dark.ps1" |
OlderNewer