变量名 | 模块 |
---|---|
_fs | fs |
_pa | path |
_qs | querystring |
_ul | url |
_os | os |
This file contains hidden or 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
/** | |
* @file @nuogz/web-app-unocss-config | |
* @author DanoR | |
* @version 1.1.0+25101118 | |
* @requires unocss | |
* @requires @unocss/preset-mini | |
* @link https://gist.github.com/zheung/809a08169bbf9fb9956dcb184d7dee88 | |
*/ | |
import { defineConfig, presetWind3 as getPresetWind3 } from 'unocss'; |
This file contains hidden or 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
def command_rst_dump(parser, args): | |
from .rstfile import hashfile_rst_xxh3, RstFile, key_to_hash as key_to_rsthash | |
from .tools import write_file_or_remove | |
hashes = {} | |
rstfile = RstFile(args.rst, 9999) | |
hashes = {key_to_rsthash(hash, rstfile.hash_bits): value for hash, value in hashes.items()} | |
rst_json = {"entries": {}, "version": rstfile.version} |
This file contains hidden or 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
/** | |
* @file @nuogz/dynamic-eslint-config | |
* @author DanoR | |
* @version 5.5.1+25090510 | |
* @requires globals | |
* @requires @eslint/js | |
* @requires @stylistic/eslint-plugin | |
* @requires eslint-plugin-vue@^10 (optional) | |
* @link https://gist.github.com/zheung/60a57c1bd87a82296fdf22dd9c277dec | |
*/ |
This file contains hidden or 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> | |
<meta charset="UTF-8"> | |
<link rel="shortcut icon" type="image/ico" href="https://yz.lol.qq.com/favicon.ico" /> | |
<style> | |
html { | |
height: 100%; | |
margin: 0px; |
This file contains hidden or 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 http = require('http'), fs = require('fs'); | |
var conf = { | |
file: './test.jpg', | |
cookie: 'SUB=_2A256tuCKDeTxGedI7lAT8CbPyDuIHXVZwlVCrDV8PUNbmtBeLRbtkW997byBiVvLOWKxqzGSrT0KJ_9wOw..;' | |
}; | |
var req = http.request({ | |
method: 'POST', | |
host: 'picupload.service.weibo.com', |
This file contains hidden or 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
package danor.experiment.HouseTour; | |
import java.io.File; | |
import java.io.FileOutputStream; | |
import java.io.OutputStream; | |
import java.util.List; | |
public class Board | |
{ | |
private StringBuilder sb; |
This file contains hidden or 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
pulic class DanoR_Gist001 | |
public static String HexConvert(double number, int ary, int accuracy) | |
{ | |
int z = (int)number; | |
double x = number - z; | |
String r = ""; | |
for(;z>0;z/=ary) | |
r = (char)(z%ary>9?z%ary+55:z%ary+48)+r; |