Host Kernel: rawhide 4.13.0-0.rc6.git4.2.fc28.x86_64 (on Fedora 24)
QEMU is mainline built from sources: QEMU emulator version 2.10.50 (v2.10.0-105-g223cd0e)
Guest: clear-17460-kvm.img (which has vsock support)
package logger | |
import ( | |
"fmt" | |
"path" | |
"runtime" | |
"github.com/sirupsen/logrus" | |
) |
host github.com | |
user git | |
hostname ssh.github.com | |
port 443 | |
proxycommand socat - PROXY:<hostname>:%h:%p,proxyport=<port> |
package main | |
import ( | |
"fmt" | |
"log" | |
"net" | |
"time" | |
"github.com/hashicorp/yamux" | |
) |
package main | |
import ( | |
"fmt" | |
"log" | |
"time" | |
"golang.org/x/sys/windows/registry" | |
) |
'use strict'; | |
exports.handler = (event, context, callback) => { | |
// Get request and request headers | |
const request = event.Records[0].cf.request; | |
const headers = request.headers; | |
// Configure authentication | |
const authUser = 'user'; | |
const authPass = 'pass'; |
curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz | |
tar -xzf libtool-2.4.2.tar.gz | |
cd libtool-2.4.2 | |
./configure && make && sudo make install | |
# brew install 'https://raw.github.com/simonair/homebrew-dupes/e5177ef4fc82ae5246842e5a544124722c9e975b/ab.rb' | |
# brew test ab | |
curl -O https://archive.apache.org/dist/httpd/httpd-2.4.2.tar.bz2 | |
tar zxvf httpd-2.4.2.tar.bz2 |
Install cask
that extends the brew
command :
brew install phinze/cask/brew-cask
Install calibre
using cask
:
brew cask install calibre
vbell off | |
autodetach on | |
startup_message off | |
shell -$SHELL | |
allpartial off | |
defc1 off | |
defencoding utf8 | |
bind b encoding big5 utf8 | |
bind u encoding utf8 utf8 |
#!/bin/bash | |
# env | |
github_api_token=$1 | |
owner=$2 | |
# clean | |
ls -d */ | xargs -i rm -rf {} | |
rm -rf repo.txt |