aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Automator/BackupProxifierRules.workflow/Contents/Info.plist8
-rw-r--r--Automator/BackupProxifierRules.workflow/Contents/QuickLook/Thumbnail.pngbin0 -> 99121 bytes
-rw-r--r--Automator/BackupProxifierRules.workflow/Contents/document.wflow365
-rw-r--r--Proxifier/clarkzjw.ppx63
4 files changed, 436 insertions, 0 deletions
diff --git a/Automator/BackupProxifierRules.workflow/Contents/Info.plist b/Automator/BackupProxifierRules.workflow/Contents/Info.plist
new file mode 100644
index 0000000..6b53378
--- /dev/null
+++ b/Automator/BackupProxifierRules.workflow/Contents/Info.plist
@@ -0,0 +1,8 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3<plist version="1.0">
4<dict>
5 <key>CFBundleName</key>
6 <string>BackupProxifierRules</string>
7</dict>
8</plist>
diff --git a/Automator/BackupProxifierRules.workflow/Contents/QuickLook/Thumbnail.png b/Automator/BackupProxifierRules.workflow/Contents/QuickLook/Thumbnail.png
new file mode 100644
index 0000000..1c31355
--- /dev/null
+++ b/Automator/BackupProxifierRules.workflow/Contents/QuickLook/Thumbnail.png
Binary files differ
diff --git a/Automator/BackupProxifierRules.workflow/Contents/document.wflow b/Automator/BackupProxifierRules.workflow/Contents/document.wflow
new file mode 100644
index 0000000..0c5b866
--- /dev/null
+++ b/Automator/BackupProxifierRules.workflow/Contents/document.wflow
@@ -0,0 +1,365 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3<plist version="1.0">
4<dict>
5 <key>AMApplicationBuild</key>
6 <string>488</string>
7 <key>AMApplicationVersion</key>
8 <string>2.10</string>
9 <key>AMDocumentVersion</key>
10 <string>2</string>
11 <key>actions</key>
12 <array>
13 <dict>
14 <key>action</key>
15 <dict>
16 <key>AMAccepts</key>
17 <dict>
18 <key>Container</key>
19 <string>List</string>
20 <key>Optional</key>
21 <true/>
22 <key>Types</key>
23 <array>
24 <string>com.apple.cocoa.string</string>
25 </array>
26 </dict>
27 <key>AMActionVersion</key>
28 <string>2.0.3</string>
29 <key>AMApplication</key>
30 <array>
31 <string>Automator</string>
32 </array>
33 <key>AMParameterProperties</key>
34 <dict>
35 <key>COMMAND_STRING</key>
36 <dict/>
37 <key>CheckedForUserDefaultShell</key>
38 <dict/>
39 <key>inputMethod</key>
40 <dict/>
41 <key>shell</key>
42 <dict/>
43 <key>source</key>
44 <dict/>
45 </dict>
46 <key>AMProvides</key>
47 <dict>
48 <key>Container</key>
49 <string>List</string>
50 <key>Types</key>
51 <array>
52 <string>com.apple.cocoa.string</string>
53 </array>
54 </dict>
55 <key>ActionBundlePath</key>
56 <string>/System/Library/Automator/Run Shell Script.action</string>
57 <key>ActionName</key>
58 <string>Run Shell Script</string>
59 <key>ActionParameters</key>
60 <dict>
61 <key>COMMAND_STRING</key>
62 <string>cp /Users/clarkzjw/Library/Application\ Support/Proxifier/Profiles/clarkzjw.ppx /Users/clarkzjw/Documents/Dropbox/Code/conf.d/Proxifier/clarkzjw.ppx</string>
63 <key>CheckedForUserDefaultShell</key>
64 <true/>
65 <key>inputMethod</key>
66 <integer>1</integer>
67 <key>shell</key>
68 <string>/bin/zsh</string>
69 <key>source</key>
70 <string></string>
71 </dict>
72 <key>BundleIdentifier</key>
73 <string>com.apple.RunShellScript</string>
74 <key>CFBundleVersion</key>
75 <string>2.0.3</string>
76 <key>CanShowSelectedItemsWhenRun</key>
77 <false/>
78 <key>CanShowWhenRun</key>
79 <true/>
80 <key>Category</key>
81 <array>
82 <string>AMCategoryUtilities</string>
83 </array>
84 <key>Class Name</key>
85 <string>RunShellScriptAction</string>
86 <key>InputUUID</key>
87 <string>1520FBC4-9A6B-496D-81BB-369692E00956</string>
88 <key>Keywords</key>
89 <array>
90 <string>Shell</string>
91 <string>Script</string>
92 <string>Command</string>
93 <string>Run</string>
94 <string>Unix</string>
95 </array>
96 <key>OutputUUID</key>
97 <string>F4AE4D6A-1B1D-461E-AE60-7A891F9C4BE8</string>
98 <key>UUID</key>
99 <string>D7B85E57-D61A-4706-B3AD-96D62D2DCF3E</string>
100 <key>UnlocalizedApplications</key>
101 <array>
102 <string>Automator</string>
103 </array>
104 <key>arguments</key>
105 <dict>
106 <key>0</key>
107 <dict>
108 <key>default value</key>
109 <integer>0</integer>
110 <key>name</key>
111 <string>inputMethod</string>
112 <key>required</key>
113 <string>0</string>
114 <key>type</key>
115 <string>0</string>
116 <key>uuid</key>
117 <string>0</string>
118 </dict>
119 <key>1</key>
120 <dict>
121 <key>default value</key>
122 <false/>
123 <key>name</key>
124 <string>CheckedForUserDefaultShell</string>
125 <key>required</key>
126 <string>0</string>
127 <key>type</key>
128 <string>0</string>
129 <key>uuid</key>
130 <string>1</string>
131 </dict>
132 <key>2</key>
133 <dict>
134 <key>default value</key>
135 <string></string>
136 <key>name</key>
137 <string>source</string>
138 <key>required</key>
139 <string>0</string>
140 <key>type</key>
141 <string>0</string>
142 <key>uuid</key>
143 <string>2</string>
144 </dict>
145 <key>3</key>
146 <dict>
147 <key>default value</key>
148 <string></string>
149 <key>name</key>
150 <string>COMMAND_STRING</string>
151 <key>required</key>
152 <string>0</string>
153 <key>type</key>
154 <string>0</string>
155 <key>uuid</key>
156 <string>3</string>
157 </dict>
158 <key>4</key>
159 <dict>
160 <key>default value</key>
161 <string>/bin/sh</string>
162 <key>name</key>
163 <string>shell</string>
164 <key>required</key>
165 <string>0</string>
166 <key>type</key>
167 <string>0</string>
168 <key>uuid</key>
169 <string>4</string>
170 </dict>
171 </dict>
172 <key>conversionLabel</key>
173 <integer>0</integer>
174 <key>isViewVisible</key>
175 <true/>
176 <key>location</key>
177 <string>309.000000:184.000000</string>
178 <key>nibPath</key>
179 <string>/System/Library/Automator/Run Shell Script.action/Contents/Resources/Base.lproj/main.nib</string>
180 </dict>
181 <key>isViewVisible</key>
182 <true/>
183 </dict>
184 <dict>
185 <key>action</key>
186 <dict>
187 <key>AMAccepts</key>
188 <dict>
189 <key>Container</key>
190 <string>List</string>
191 <key>Optional</key>
192 <true/>
193 <key>Types</key>
194 <array/>
195 </dict>
196 <key>AMActionVersion</key>
197 <string>v.1.0</string>
198 <key>AMApplication</key>
199 <array>
200 <string>Automator</string>
201 </array>
202 <key>AMParameterProperties</key>
203 <dict>
204 <key>message</key>
205 <dict>
206 <key>tokenizedValue</key>
207 <array>
208 <string>Backup Proxifier profiles completed at </string>
209 <string>$(3706DE22-D7D5-46CD-B7DE-9E855096C2FF)</string>
210 <string> </string>
211 <string>$(79951669-842C-42EC-AC01-0A1BC3BA17DC)</string>
212 <string>.</string>
213 </array>
214 </dict>
215 <key>subtitle</key>
216 <dict/>
217 <key>title</key>
218 <dict>
219 <key>tokenizedValue</key>
220 <array>
221 <string>Backup</string>
222 </array>
223 </dict>
224 </dict>
225 <key>AMProvides</key>
226 <dict>
227 <key>Container</key>
228 <string>List</string>
229 <key>Types</key>
230 <array/>
231 </dict>
232 <key>ActionBundlePath</key>
233 <string>/System/Library/Automator/Display Notification.action</string>
234 <key>ActionName</key>
235 <string>Display Notification</string>
236 <key>ActionParameters</key>
237 <dict>
238 <key>message</key>
239 <string>Backup Proxifier profiles completed at $(3706DE22-D7D5-46CD-B7DE-9E855096C2FF) $(79951669-842C-42EC-AC01-0A1BC3BA17DC).</string>
240 <key>subtitle</key>
241 <string></string>
242 <key>title</key>
243 <string>Backup</string>
244 </dict>
245 <key>BundleIdentifier</key>
246 <string>com.apple.Automator.Display-Notification</string>
247 <key>CFBundleVersion</key>
248 <string>1.0</string>
249 <key>CanShowSelectedItemsWhenRun</key>
250 <true/>
251 <key>CanShowWhenRun</key>
252 <false/>
253 <key>Category</key>
254 <array>
255 <string>AMCategoryUtilities</string>
256 </array>
257 <key>Class Name</key>
258 <string>AMDisplayNotificationAction</string>
259 <key>InputUUID</key>
260 <string>BE20AFA8-6823-482C-B272-F45FE2F38430</string>
261 <key>Keywords</key>
262 <array/>
263 <key>OutputUUID</key>
264 <string>9BD2F462-57FA-4DB2-B320-ABA9984515EF</string>
265 <key>UUID</key>
266 <string>149F0306-584F-41DD-9840-80DF9A6B2CCC</string>
267 <key>UnlocalizedApplications</key>
268 <array>
269 <string>Automator</string>
270 </array>
271 <key>arguments</key>
272 <dict>
273 <key>0</key>
274 <dict>
275 <key>default value</key>
276 <string></string>
277 <key>name</key>
278 <string>message</string>
279 <key>required</key>
280 <string>0</string>
281 <key>type</key>
282 <string>0</string>
283 <key>uuid</key>
284 <string>0</string>
285 </dict>
286 <key>1</key>
287 <dict>
288 <key>default value</key>
289 <string></string>
290 <key>name</key>
291 <string>subtitle</string>
292 <key>required</key>
293 <string>0</string>
294 <key>type</key>
295 <string>0</string>
296 <key>uuid</key>
297 <string>1</string>
298 </dict>
299 <key>2</key>
300 <dict>
301 <key>default value</key>
302 <string></string>
303 <key>name</key>
304 <string>title</string>
305 <key>required</key>
306 <string>0</string>
307 <key>type</key>
308 <string>0</string>
309 <key>uuid</key>
310 <string>2</string>
311 </dict>
312 </dict>
313 <key>conversionLabel</key>
314 <integer>0</integer>
315 <key>isViewVisible</key>
316 <true/>
317 <key>location</key>
318 <string>309.000000:373.000000</string>
319 <key>nibPath</key>
320 <string>/System/Library/Automator/Display Notification.action/Contents/Resources/Base.lproj/main.nib</string>
321 </dict>
322 <key>isViewVisible</key>
323 <true/>
324 </dict>
325 </array>
326 <key>connectors</key>
327 <dict>
328 <key>A3B98D57-E5CE-47D2-B1E5-FD7AA7D33F7A</key>
329 <dict>
330 <key>from</key>
331 <string>D7B85E57-D61A-4706-B3AD-96D62D2DCF3E - D7B85E57-D61A-4706-B3AD-96D62D2DCF3E</string>
332 <key>to</key>
333 <string>149F0306-584F-41DD-9840-80DF9A6B2CCC - 149F0306-584F-41DD-9840-80DF9A6B2CCC</string>
334 </dict>
335 </dict>
336 <key>variables</key>
337 <array>
338 <dict>
339 <key>UUID</key>
340 <string>79951669-842C-42EC-AC01-0A1BC3BA17DC</string>
341 <key>identifier</key>
342 <string>com.apple.Automator.Variable.CurrentTime</string>
343 <key>name</key>
344 <string>Current time</string>
345 <key>value</key>
346 <string>HH:mm</string>
347 </dict>
348 <dict>
349 <key>UUID</key>
350 <string>3706DE22-D7D5-46CD-B7DE-9E855096C2FF</string>
351 <key>identifier</key>
352 <string>com.apple.Automator.Variable.CurrentDate</string>
353 <key>name</key>
354 <string>Todayʼs date</string>
355 <key>value</key>
356 <string>MMMM d, y</string>
357 </dict>
358 </array>
359 <key>workflowMetaData</key>
360 <dict>
361 <key>workflowTypeIdentifier</key>
362 <string>com.apple.Automator.workflow</string>
363 </dict>
364</dict>
365</plist>
diff --git a/Proxifier/clarkzjw.ppx b/Proxifier/clarkzjw.ppx
new file mode 100644
index 0000000..a44107b
--- /dev/null
+++ b/Proxifier/clarkzjw.ppx
@@ -0,0 +1,63 @@
1<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2<ProxifierProfile version="101" platform="MacOSX" product_id="2" product_minver="200">
3 <Options>
4 <Resolve>
5 <AutoModeDetection enabled="false"/>
6 <ViaProxy enabled="true">
7 <TryLocalDnsFirst enabled="false"/>
8 </ViaProxy>
9 <ExclusionList ExcludeSimpleHostnames="true" ExcludeLocalhost="true" ExcludeSelfHostname="true" ExcludeLocalDomain="true">localhost;%SimpleHostnames%;%ComputerName%;*.local;
10</ExclusionList>
11 </Resolve>
12 <Encryption mode="basic"/>
13 <HttpProxiesSupport enabled="false"/>
14 <HandleDirectConnections enabled="false"/>
15 <ConnectionLoopDetection enabled="true"/>
16 <ProcessServices enabled="true"/>
17 <ProcessOtherUsers enabled="true"/>
18 </Options>
19 <ProxyList>
20 <Proxy id="100" type="SOCKS5">
21 <Address>127.0.0.1</Address>
22 <Port>7891</Port>
23 <Options>0</Options>
24 </Proxy>
25 </ProxyList>
26 <ChainList/>
27 <RuleList>
28 <Rule enabled="true">
29 <Name>Direct by Address</Name>
30 <Targets>192.168.*.*; *.baidu.com; *.bdstatic.com; *.bdimg.com; 180.149.*.*; 180.97.*.*;106.14.156.187; 118.25.1.248; 80.209.229.196; 100.73.*.*; 100.66.*.*; *.dingcloud.com; localhost; 100.68.*.*; *.aliyun.com; 100.76.*.*; 1.65.64.20; *.126.net; *.163.com; *.163yun.com; *.126.net.wscdns.com; *.163jiasu.com; 1.65.1.24; *.github.com; *.netease.com; blj.jdb-dev.com; 1.1.1.1; 10.*.*.*;</Targets>
31 <Action type="Direct"/>
32 </Rule>
33 <Rule enabled="true">
34 <Name>Proxy By Address</Name>
35 <Targets>*.amazonaws.com; *.google.com; k8s.gcr.io; *.googleusercontent.com; *.rixcloud.io; 8.8.8.8</Targets>
36 <Action type="Proxy">100</Action>
37 </Rule>
38 <Rule enabled="true">
39 <Name>ClashX</Name>
40 <Applications>ClashX</Applications>
41 <Action type="Direct"/>
42 </Rule>
43 <Rule enabled="true">
44 <Name>Direct by App</Name>
45 <Applications>ss-local; ShadowsocksX-NG; "Google Chrome"; 企业微信; TimingHelper; WeChat; vncviewer ; "Microsoft Remote Desktop"; SVNClient; openvpn; Tunnelblick; ping; Hammerspoon; locationd; NeteaseMusic; wget; “Google Chrome Helper”; BestTrace; ssh; VirtualBoxVM; DingTalk</Applications>
46 <Action type="Direct"/>
47 </Rule>
48 <Rule enabled="true">
49 <Name>Localhost</Name>
50 <Targets>localhost; 127.0.0.1; ::1; %ComputerName%</Targets>
51 <Action type="Direct"/>
52 </Rule>
53 <Rule enabled="true">
54 <Name>Docker</Name>
55 <Applications>com.docker.*; docker; Docker; *vpnkit</Applications>
56 <Action type="Direct"/>
57 </Rule>
58 <Rule enabled="true">
59 <Name>Default</Name>
60 <Action type="Proxy">100</Action>
61 </Rule>
62 </RuleList>
63</ProxifierProfile> \ No newline at end of file
Powered by cgit v1.2.3 (git 2.41.0)