1. 安装proxychains
sudo apt-get update
sudo apt-get install proxychains
2. 修改配置
1. 安装proxychains
sudo apt-get update
sudo apt-get install proxychains
2. 修改配置
1. 无法打开文件浏览器
执行 killall nautilus
后,重新打开
2. apt-get和apt区别在哪?
apt是友好版的apt-get,最大特性就是有进度条了。
3. snap 软件包管理
目前只测试了Mac和Ubuntu
1.安装 privoxy
Mac
brew install privoxy
ubuntu
1.格式化JSON
安装 Beautify
插件后,按键 F1
调出命令面板然后输入beautify
,选择 Beautify selection
或者 Beautify file
.
Beautify 可以格式化 javascript, JSON, CSS, Sass, 和 HTML
查看文件的中间几行
# 查看文件的第100-200行
sed -n '100,200p' filename
nohup使用,后台运行
import com.intellij.database.model.ObjectKind | |
import com.intellij.database.util.DasUtil | |
FILES.chooseDirectoryAndSave("Choose directory", "Choose where to store generated files") { dir -> | |
def schemaMap = new LinkedHashMap<String, Map<String, String>>(); | |
SELECTION.filter { (it.getKind() == ObjectKind.TABLE || it.getKind() == ObjectKind.SCHEMA) }.each { | |
def schemaName = DasUtil.getSchema(it); | |
if (!schemaMap.containsKey(schemaName)) { | |
schemaMap.put(schemaName as String, new LinkedHashMap<String, String>()); |