Skip to main content

8 posts tagged with "工具"

View All Tags

· One min read
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{1c4de342-38b7-51cf-b940-2309a097f589}",
"copyOnSelect": false,
"copyFormatting": false,
"profiles": {
"defaults": {},
"list": [
{
"acrylicOpacity": 0,
"closeOnExit": true,
"colorScheme": "Campbell",
"commandline": "C:\\Program Files\\Git\\bin\\bash.exe",
"cursorColor": "#FFFFFF",
"cursorShape": "bar",
"fontFace": "YaHei Consolas Hybrid",
"fontSize": 13,
"guid": "{1c4de342-38b7-51cf-b940-2309a097f589}",
"historySize": 200,
"icon": "C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico",
"name": "git-bash",
"padding": "0, 0, 0, 0",
"snapOnInput": true,
"startingDirectory": "%USERPROFILE%/Desktop",
"useAcrylic": false
},
{
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"hidden": false
},
{
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "Command Prompt",
"commandline": "cmd.exe",
"hidden": false
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
}
]
},
"schemes": [],
"actions": [
{
"command": {
"action": "copy",
"singleLine": false
},
"keys": "ctrl+c"
},
{
"command": "paste",
"keys": "ctrl+v"
},
{
"command": "find",
"keys": "ctrl+f"
},
{
"command": {
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
},
"keys": "alt+shift+d"
}
]
}

· One min read
docker stop lubuntu
docker rm lubuntu

docker run -d --hostname lubuntu --name lubuntu --restart always --privileged -p 9092:5901 -e TZ=Asia/Jakarta vncserver/lubuntu

docker cp /www/navicate lubuntu:/home/developer/navicate
docker cp lubuntu:/home/developer/navicate navicate

docker run -d --hostname lubuntu --name lubuntu --restart always --privileged -p 9092:5901 -e TZ=Asia/Jakarta \
-v /www/navicate/app:/home/developer/app -v /www/navicate/config:/home/developer/.config/navicat \
vncserver/lubuntu

docker exec -u developer -it lubuntu bash

过期删 MySQL rm -rf preferences.json*

vnc

docker run -d --hostname lubuntu --name lubuntu --restart always --privileged -p 9092:5901 -e TZ=Asia/Jakarta vncserver/lubuntu

· One min read

beautify

config.cson

"*":
"atom-beautify":
bash: {}
php: {}
nginx:
indent_size: 4
brace_style: "expand"

keymap.cson

'.platform-darwin':
'cmd-e': 'fuzzy-finder:toggle-file-finder'
'cmd-t': 'tree-view:reveal-active-file'
'cmd-b': 'script:run'

· One min read

UI

工作台 > 外观 > Monikai Dimmed

插件

  • Atom One Dark Theme
  • JetBrains Icon Theme
  • IntelliJ IDEA Key Bindings

· One min read
need java8

cd bin
./jmeter

./jmeter -n -t cdemo.jmx -l cdemo.jtl

Sampler -> HTTP请求
监听器 -> 察看结果树
断言 -> 响应断言
监听器 -> Aggregate Graph
监听器 -> 生成概要结果
监听器 -> 聚合报告

· One min read

http://www.360doc.com/content/15/1026/10/36628_508421823.shtml

vi /etc/shadowsocks.json
{
"server": "0.0.0.0",
"server_port": 8388,
"local_address": "127.0.0.1",
"local_port": 1080,
"password": "",
"timeout": 300,
"method": "aes-256-cfb",
"fast_open": false,
"workers": 1
}

ssserver -c /etc/shadowsocks.json

vi /etc/rc.local
/usr/local/bin/ssserver -c /etc/shadowsocks/config.json

client 本地

gui 下载

https://github.com/shadowsocks/shadowsocks-windows

go build

go get -v github.com/shadowsocks/shadowsocks-go/cmd/shadowsocks-local

config

{
"server": "116.246.13.86",
"server_port": 40121,
"password": "Py72*N%tNa8!",
"method": "aes-256-cfb",
"remarks": "test",
"timeout": 5
}
{
"server": "101.1.5.39",
"server_port": 5838,
"local_address": "192.168.199.201",
"local_port": 2580,
"password": "3fgOk2&J5H",
"timeout": 300,
"method": "rc4-md5",
"fast_open": false,
"workers": 1
}
20152
n64UKqLA4nGCqaP
chacha20-ietf-poly1305
au1-sta11.3a281.site

gee 极路由

ssh -p 1022 root@192.168.199.1

https://github.com/qiwihui/hiwifi-ss

· One min read

color mariana "color_scheme": "Packages/Color Scheme - Default/Mariana.tmTheme",

setting

"ignored_packages": ["Vintage", "vendor"],

Tools > Build System > New

{
"cmd": ["php", "$file"],
"file_regex": "php$"
}

run it cmd + b

激活码

ZYNGA INC.
50 User License
EA7E-811825
927BA117 84C9300F 4A0CCBC4 34A56B44
985E4562 59F2B63B CCCFF92F 0E646B83
0FD6487D 1507AE29 9CC4F9F5 0A6F32E3
0343D868 C18E2CD5 27641A71 25475648
309705B3 E468DDC4 1B766A18 7952D28C
E627DDBA 960A2153 69A2D98A C87C0607
45DC6049 8C04EC29 D18DFA40 442C680B

1342224D 44D90641 33A3B9F2 46AADB8F