## init
$ sudo mkdir /mount_point_absolute_path
$ sudo chown local_user /mount_point_absolute_path
## before
$ sshfs remote@remote_hostname:remote_absolute_path /mount_point_absolute_path
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
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
! | |
! xeCJK error: "key-unknown" | |
! | |
! Sorry, but xeCJK/options does not have a key called 'CJKtextspaces'. | |
! | |
! The key 'CJKtextspaces' is being ignored. | |
! | |
! See the xeCJK documentation for further information. | |
! |
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/sh | |
chmod 0000 "/Applications/QQ.app/Contents/Library/LoginItems/QQ jietu plugin.app/Contents/MacOS/QQ jietu plugin" |
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/sh | |
ag -0 -l $1 | xargs -0 perl -pi -e "s/$1/$2/g" |
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
; 肖星 - 《财务分析与决策课程》 | |
; <https://open.163.com/newview/movie/free?pid=MDPKDHH4O&mid=MDR7K8231> | |
; 3.1企业设立、筹建中的经济活动与财务报表 | |
; ~ | |
; 3.6所得税、利润、利润分配与财务报表 | |
option "title" "模拟公司" | |
option "operating_currency" "CNY" |
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
# coding: utf-8 | |
# code snippet from http://www.johnvinyard.com/blog/?p=268 | |
import numpy as np | |
from numpy.lib.stride_tricks import as_strided as ast | |
def norm_shape(shape): | |
''' | |
Normalize numpy array shapes so they're always expressed as a tuple, | |
even for one-dimensional shapes. |
Open | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
E | F | F#/Gb | G | G#/Ab | A | A#/Bb | B | C | C#/Db | D | D#/Eb | E | F | F#/Gb | G | G#/Ab | A | A#/Bb | B | C | C#/Db | D | D#/Eb | E |
B | C | C#/Db | D | D#/Eb | E | F | F#/Gb | G | G#/Ab | A | A#/Bb | B | C | C#/Db | D | D#/Eb | E | F | F#/Gb | G | G#/Ab | A | A#/Bb | B |
G | G#/Ab | A | A#/Bb | B | C | C#/Db | D | D#/Eb | E | F | F#/Gb | G | G#/Ab | A | A#/Bb | B | C | C#/Db | D | D#/Eb | E | F | F#/Gb | G |
D | D#/Eb | E | F | F#/Gb | G | G#/Ab | A | A#/Bb | B | C | C#/Db | D | D#/Eb | E | F |
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
# *.google.com 笛卡尔集 | |
203.208.45.193 | |
203.208.45.195 | |
203.208.45.196 | |
203.208.45.200 | |
203.208.45.192 | |
203.208.45.201 | |
203.208.45.202 | |
203.208.45.197 | |
203.208.45.203 |
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
[Rule] | |
DOMAIN-KEYWORD,google,Proxy,force-remote-dns | |
DOMAIN-KEYWORD,facebook,Proxy,force-remote-dns | |
DOMAIN-KEYWORD,youtube,Proxy,force-remote-dns | |
DOMAIN-KEYWORD,twitter,Proxy,force-remote-dns | |
DOMAIN-KEYWORD,instagram,Proxy,force-remote-dns | |
DOMAIN-KEYWORD,gmail,Proxy,force-remote-dns | |
DOMAIN-KEYWORD,blogspot,Proxy | |
DOMAIN-SUFFIX,twimg.com,Proxy,force-remote-dns | |
DOMAIN-SUFFIX,ls.apple.com,DIRECT |
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 python3 | |
import os | |
from flask import Flask, request, redirect, url_for | |
from werkzeug.utils import secure_filename | |
app = Flask(__name__) | |
@app.route('/') | |
def home(): | |
return """ |
NewerOlder