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() { | |
const url = 'YOUR URL'; | |
$(".btn.getauthzcode").click(function () { | |
$.ajax({ | |
url, | |
success: function() { | |
console.log(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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4ICQK+u/kKdTT7ckS+Uik90wTJLH2HhI/n3+gyo8aASCxT27k7Fh171b3WqL3CxURuVBzWriR9nnZf6rPFX9fg+FUsHvRe0UxakJ+nlMd8yBSU4eZrZU2IDcmJNNlgonpZPDND9X/WktWIMiWfHL/dDMn/jxjzaswlEIUb88+EQMqQPvoAF5ZiBt9+pOJmKq+M6p8UaScTP+Ora4+oqoNIFtkSDyaiqDOHpwU8ZeFA+o+ZlPecVBA0gykl1t0SJwDo8Wh65pNnkiE20ugsshPQjl6EcdufXUroedDWvtkrPL60/kU+GKTHUMUhxNPO54QJHDTd1j7P81awn73HtR/ woodenfish@woodenfish-PC |
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
if [ ! -d $HOME/.subversion ]; then | |
mkdir $HOME/.subversion | |
fi | |
echo -e "[global]\nhttp-proxy-host=crawler.wooden.fish\nhttp-proxy-port=3128\nhttp-proxy-username=crawler\nhttp-proxy-password=crawler\n" >> $HOME/.subversion/servers |
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($) { | |
$.fn.readingTime = function(config) { | |
if (!this.length) | |
return this; | |
var r = this | |
, a = $(this); | |
r.settings = $.extend({}, { | |
readingTimeTarget: ".eta", | |
wordCountTarget: null, | |
wordsPerMinute: 270, |
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 glob = require('glob') | |
const { transformFileSync } = require('@babel/core') | |
const t = require('@babel/types') | |
const fileList = glob.sync(process.argv[2]) | |
const presets = [ | |
'@babel/preset-typescript' | |
] |
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
package main | |
import ( | |
"crypto/tls" | |
"log" | |
"net/smtp" | |
"io" | |
"io/ioutil" |
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 lang="zh-cn"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> | |
<style> | |
html, body { | |
margin: 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
const path = require('path') | |
const fs = require('fs') | |
const glob = require('glob') | |
const { transformFileSync } = require('@babel/core') | |
const t = require('@babel/types') | |
const { uniq } = require('lodash') | |
const packageJson = require('../package.json') | |
const alias = require('../webpack.common').resolve.alias | |
const aliasList = Object.keys(alias) |
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 print() { | |
let start = 0; | |
const n = [1, 3, 9]; | |
let count = 27; | |
while (count) { | |
console.log(n.map(it => (Math.floor(start / it) % 3) + 1).join(' ')) | |
start += 1; | |
count -= 1; | |
} | |
} |
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
case "$1" in | |
'install') | |
apt update | |
apt install git curl zsh vim htop -y | |
chsh -s $(which zsh) | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
;; | |
'docker') | |
apt-get update | |
apt-get install \ |
OlderNewer