View SudokuSolver.BAS
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
10 GRAPH:GOTO 1541 | |
20 CLS:LOCATE 2,4:PRINT "SUDOKU":LOCATE 2,13:PRINT "Solver" | |
30 LOCATE 3,1:PRINT "Copy":LOCATE 3,6:PRINT "by":LOCATE 3,9:PRINT "SNAIL" | |
40 LOCATE 3,15:PRINT "(2007)":LOCATE 5,10:PRINT "SNAIL";:LOCATE 5,16:PRINT "Soft"; | |
41 LOCATE 4,1:PRINT "[English]" | |
50 BOX 1,1,53,26,1,2 | |
60 BOX 107,1,159,26,1,2 | |
70 BOX 54,27,106,52,1,2 | |
80 BOX 1,53,53,78,1,2 | |
90 BOX 107,53,159,78,1,2 |
View AzureDevOpsEInk.user.js
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 Azure DevOps E-Ink | |
// @namespace https://lizhe.net/ | |
// @version 0.2 | |
// @description Review code on Azure DevOps in E-Ink mode | |
// @author Zhe Li | |
// @match https://dev.azure.com/* | |
// @match https://*.visualstudio.com/* | |
// @grant none | |
// ==/UserScript== |
View gist:6cfcddfcb1daec083031260002b50228
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 i,t,r=7,w=1,s=12,c=".~'O'~.*"; | |
Array(s).fill().map((_,k)=> { | |
for (i=0,t=""; i<w||(w+=2,0); i++) | |
t+=c[_=r,r=(r+1)%6,_]; | |
console.log(Array(s-k).join(" ")+t); | |
}); |
View public-pgp
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
-----BEGIN PGP PRIVATE KEY BLOCK----- | |
Version: ObjectivePGP | |
Comment: https://www.objectivepgp.com | |
Charset: UTF-8 | |
xsDNBF5IY3IBDAChXgVXy0gXjWC1QvxII94C6MuKO/aH7BR//hrAGvPco1/D1ewyFT7usYIbilr7 |
View azure-devops-wiki-search.user.js
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 Azure DevOps Wiki Search | |
// @namespace http://lizhe.net/ | |
// @version 0.1 | |
// @description Press to search entire Wiki | |
// @author Zhe Li | |
// @match https://*.visualstudio.com/*/_wiki/wikis/* | |
// @match https://dev.azure.com/*/*/_wiki/wikis/* | |
// @grant none | |
// ==/UserScript== |
View svg.txt
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
data:image/svg+xml;charset=utf-8,%3Csvg width='162.43' height='172.4' viewBox='0 0 162.43491 172.4019' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='-2558.1' x2='-2603.7' y1='-14.056' y2='-120.57' gradientTransform='matrix(.28084 0 0 .30274 990.72 715.86)' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23000083' offset='0'/%3E%3Cstop stop-color='%23000083' stop-opacity='0' offset='1'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='-2659.7' x2='-2627.9' y1='162.42' y2='74.029' gradientTransform='translate(1192.4 721.93) scale(.35934)' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='navy' offset='0'/%3E%3Cstop stop-color='navy' stop-opacity='0' offset='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(-153.46 -657.77)'%3E%3Cpath d='M233.23 710.51c.356-2.206 1.886-4.048 4.538-4.562 3.795-4.881 5.547-9.948 6.7-15.07l28.69 3.026c20.258 21.779 37.806 50.063 33.213 86.935l-119.42-58.623c12.796-8.152 28.94-12.814 46.28-11.706z' fill='red' stroke='%23500' st |
View LoggerBase.ts
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
abstract class LoggerBase { | |
constructrue(private _taskContext: TaskContext){} | |
abstract logInfo(message: string, sender?: string): void; | |
abstract logWarning(message: string, sender?: string): void; | |
abstract logError(message: string, sender?: string): void; | |
abstract logSuccess(message?: string, sender?: string): void; | |
} |
View vso-pr-filter.user.js
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 VSO PR Filter | |
// @namespace sneezry | |
// @version 0.1 | |
// @description Filter VSO PR list | |
// @author Zhe Li | |
// @match https://mseng.visualstudio.com/*/pullrequest/* | |
// @grant none | |
// ==/UserScript== |
View history.json
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
[ | |
{ | |
"list": [ | |
{ | |
"name": "Aspirin", | |
"times": [ | |
{ | |
"timeSpan": 25200, | |
"status": 1 | |
}, |
View function-proxies.js
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
const fs = require('fs'); | |
const proxyConfig = require('d:\\home\\site\\wwwroot\\proxies.json'); | |
module.exports = function (context, req) { | |
proxyConfig.proxies.medium = { | |
matchCondition: { | |
route: '/medium/{user}' | |
}, | |
backendUri: 'https://medium.com/feed/@{user}' | |
}; |
NewerOlder