/**
* XXXXX的文件
*
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
[ | |
{ "code": "aa", "name": "Afar" }, | |
{ "code": "ab", "name": "Abkhazian" }, | |
{ "code": "ae", "name": "Avestan" }, | |
{ "code": "af", "name": "Afrikaans" }, | |
{ "code": "ak", "name": "Akan" }, | |
{ "code": "am", "name": "Amharic" }, | |
{ "code": "an", "name": "Aragonese" }, | |
{ "code": "ar", "name": "Arabic" }, | |
{ "code": "as", "name": "Assamese" }, |
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
[ | |
{ | |
"zone": "Pacific/Midway", | |
"gmt": "(GMT-11:00)", | |
"name": "Midway Island" | |
}, | |
{ | |
"zone": "US/Samoa", | |
"gmt": "(GMT-11:00)", | |
"name": "Samoa" |
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 node | |
// ecrp.js - Easy CORS/Reverse Proxy | |
// SPDX-License-Identifier: MIT (https://ncurl.xyz/s/o_o6DVqIR) | |
// https://gist.github.com/supersonictw/cf01a30ed886c8763bdd8329c1115f8c | |
"use strict"; | |
const cookieEncoder = (data) => { | |
const cookies = []; | |
for (const key in data) { | |
const value = encodeURIComponent(data[key]); |
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
<?php | |
/** | |
* Given a URL, normalize that URL. | |
* @param String URL | |
* @return String Normalized URL | |
*/ | |
function normalizeUrl($input_url) | |
{ | |
$newUrl = ""; | |
$url = parse_url($input_url); |
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
{ | |
"Afghanistan": { | |
"zh_TW": "阿富汗", | |
"location": [ | |
33, | |
65 | |
] | |
}, | |
"Albania": { | |
"zh_TW": "阿爾巴尼亞", |