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
#文件保存目录 | |
dir=/home/pi/Downloads | |
#因为垃圾运营商还没有ipv6,获取了也没有,关掉 | |
disable-ipv6=true | |
#打开rpc给等会的web管理界面用 | |
enable-rpc=true | |
rpc-allow-origin-all=true | |
rpc-listen-all=true | |
#rpc-listen-port=6800 | |
#允许断点续传 |
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
# | |
# Sample configuration file for the Samba suite for Debian GNU/Linux. | |
# | |
# | |
# This is the main Samba configuration file. You should read the | |
# smb.conf(5) manual page in order to understand the options listed | |
# here. Samba has a huge number of configurable options most of which | |
# are not shown in this example | |
# | |
# Some options that are often worth tuning have been included as |
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
;============================================================================= | |
; FileName: shadowsocksR.service | |
; Desc: LastChange | |
; Author: chemf | |
; Email: chemf01@163.com | |
; HomePage: | |
; Version: 0.0.1 | |
; LastChange: 2017-10-02 23:18:00 | |
; History: | |
;============================================================================= |
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
# vim /etc/grub.d/40_custom | |
menuentry "System shutdown" { | |
echo "System shutting down..." | |
halt | |
} | |
menuentry "System restart" { | |
echo "System rebooting..." | |
reboot |
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
#============================================================================== | |
# FileName: jupyter-notebook.service | |
# Desc: raspberry pi jupyter notebook service | |
# Author: chemf | |
# Email: eoyohe@gmail.com | |
# HomePage: | |
# Version: 0.0.1 | |
# LastChange: 2018-05-25 22:01:54 | |
# History: | |
#============================================================================== |
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
"============================================================================= | |
" FileName: .vimrc | |
" Desc: 一个vimer的配置 | |
" Author: chemf | |
" Email: eoyohe@gmail.com | |
" HomePage: eoyohe.cn | |
" Version: 0.0.1 | |
" LastChange: 2018-08-26 18:21:39 | |
" History: | |
"============================================================================= |
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 | |
rm -rf /Applications/Thunder.app/Contents/PlugIns/advertising.xlplugin | |
rm -rf /Applications/Thunder.app/Contents/PlugIns/featuredpage.xlplugin | |
rm -rf /Applications/Thunder.app/Contents/PlugIns/activitycenter.xlplugin | |
rm -rf /Applications/Thunder.app/Contents/PlugIns/iOSThunder.xlplugin | |
rm -rf /Applications/Thunder.app/Contents/PlugIns/livestream.xlplugin | |
rm -rf /Applications/Thunder.app/Contents/PlugIns/myvip.xlplugin | |
rm -rf /Applications/Thunder.app/Contents/PlugIns/softmanager.xlplugin | |
rm -rf /Applications/Thunder.app/Contents/PlugIns/xiazaibao.xlplugin |
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
class Graph: | |
def __init__(self): | |
self.nodes = set() | |
self.edges = defaultdict(list) | |
self.distances = {} | |
def add_node(self, value): | |
self.nodes.add(value) | |
def add_edge(self, from_node, to_node, distance): |