sudo apt install -y build-essential libssl-dev zlib1g-dev
wget "http://mirrors.evowise.com/pub/OpenBSD/OpenSSH/portable/openssh-7.4p1.tar.gz"
tar xfz openssh-7.4p1.tar.gz
cd openssh-7.4p1
./configure
make
sudo make install
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
git config --global https.proxy http://127.0.0.1:1080 | |
git config --global https.proxy https://127.0.0.1:1080 | |
git config --global --unset http.proxy | |
git config --global --unset https.proxy | |
npm config delete proxy |
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
#!/bin/bash | |
# This script will automatically set up a single node Flynn Cluster on your linux box | |
# Fresh Flynn install with domain provided by the xip.io service | |
# Tested with Base Image: Ubuntu 14.04 x64 @ DigitalOcean droplet | |
# @date 16 Nov 2015 | |
# @author Edu Wass (eduwass at gmail com) | |
echo '---- START SETUP ----' |
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
// +build windows | |
package screen | |
import ( | |
"fmt" | |
"image" | |
"reflect" | |
"syscall" | |
"unsafe" |
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 ( | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"golang.org/x/net/webdav" |
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
module.exports = { | |
h5: { | |
miniCssExtractPluginOption: { | |
filename: 'css/[name].[hash].css', | |
chunkFilename: 'css/[id].[chunkhash].css' | |
}, | |
enableDll: false, | |
webpackChain(chain, webpack) { | |
const hashRule = (type) => { | |
chain.module.rules.get(type).uses.get("urlLoader").get("options").name = |
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
全本下载 | |
http://dl.wenku8.com/down.php?type=utf8&id=书号&fname=书名 | |
type: txt/utf8/big5 | |
分卷下载 | |
http://dl.wenku8.com/packtxt.php?aid=书号&vid=卷号&aname=书名&vname=卷名&charset=utf-8 | |
aid: 本书编号 | |
vid: 本卷第1章编号-1 | |
aname: 书名 | |
vname: 卷名 |
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
import { preprocess } from 'svelte/compiler' | |
/** | |
* @typedef {import("svelte/types/compiler/preprocess").PreprocessorGroup} PreprocessorGroup | |
* @param {PreprocessorGroup[]} preprocessors | |
* @returns {PreprocessorGroup[]} | |
*/ | |
export function sequence(preprocessors) { | |
return preprocessors.map((preprocessor) => ({ | |
markup({ content, filename }) { |