-
Notifications
You must be signed in to change notification settings - Fork 2
/
.bash_history
500 lines (499 loc) · 12.9 KB
/
.bash_history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
gettext > ~/gettext.log 2>&1
ll
exit
cd /Volumes/SEAGATE_BACKUP_5TG/
ll
ll -a
cd Backups.backupdb/
ll
sudo ll
sudo ll
sudo ls -l
sudo -s
cd $BLENDER_GITHUB
git status
git add *
git status | more
ll
git commit -m "Latest changes as of today"
git push
git push
git push
convman
convman
convman
findtext.py -p 'updating environment' -s
findtext.py --help
findtext.py -p 'updating environment' -y
findtext.py -p 'updating environment' -y
cd /Library/Python/3.7/site-packages
python3
reloadbashrc
findtext.py -p 'updating environment' -y
cd /usr/local/lib/python3.7/site-packages
pwd
ll
cd
vi .bashrc
reloadbashrc
findtext.py -p "def wraptext" -p
findtext.py -p "def wraptext" -y
cd /Volumes/SEAGATE_BACKUP_5TG/
ll
cd pbackup/
ll
cd home/
ll
cd ..
cd Users/
ls
cd hoangduytran/
ll
ls -altr
cd
which java
java --help
ll
cd
ll
cd blender-git
ll
cd blender
pwd
ll
ll
make update
ll
find . -type f -iname \*.c -o -iname \*.cpp -o -iname \*.h -o -name \*.py -exec grep -i 'filter volume' /dev/null {} \;
find . -type f -iname \*.c -o -iname \*.cpp -o -iname \*.h -o -name \*.py -exec grep -i 'filter' /dev/null {} \;
cd /Volumes/SEAGATE_BACKUP_5TG/
LL
ll
cd old_hdd/
ll
rsync -ar ~/ linux_home/
rsync -ar ~/ linux_home/
pwd
cd ..
cd pbackup/Users/hoangduytran/
ll
rsync -ar ~/Pictures/ ./Pictures/
cd
cd /Volumes/SEAGATE_BACKUP_5TG/
ll
cd old_hdd/
ll
cd ..
ll
cd pbackup/
ll
history
history | grep rsync
ll
rsync -at --delete /Volumes/Macintosh\ HD/ /Volumes/SEAGATE_BACKUP_5TG/pbackup/
sudo rsync -at --delete /Volumes/Macintosh\ HD/ /Volumes/SEAGATE_BACKUP_5TG/pbackup/
find ~/blender-git/blender -type f -iname \*.c -o -iname \*.cpp -o -iname \*.h -o -name \*.py -exec grep -i 'filter volume' /dev/null {} \;
find ~/blender-git/blender -type f -iname \*.c -o -iname \*.cpp -o -iname \*.h -o -name \*.py -exec grep -i 'edge automaking' /dev/null {} \;
cd
cd po
ll
svn ìno
svn info
cd po
svn info
find ~/blender-git/blender -type f -iname \*.c -o -iname \*.cpp -o -iname \*.h -o -name \*.py -exec grep -i 'edge automasking' /dev/null {} \;
g++
g++ --version
xcode-select
xcode-select -s /Applications/Xcode.app/Contents/Developer
xcode-select -p
xcode-select -s /Applications/Xcode.app/Contents/Developer
mkdir -p /Applications/Xcode.app/Contents/Developer
xcode-select -s /Applications/Xcode.app/Contents/Developer
xcode-select -s /Applications/Xcode.app
xcode-select -s /Applications/Xcode.app/Contents/
xcode-select -s /Applications/Xcode.app
exit
sudo -s
sudo xcode-select -s /Applications/Xcode.app
cd Downloads/
ll
chmod u+x eclipse-inst-mac64.dmg
sudo ./eclipse-inst-mac64.dmg
which java
java -version
ll
cd blender-git
ll
cd blender/
ll
make update
history
xcode-select -s /
xcode-select -p /
xcode-select -s '/'
sudo xcode-select -s /
make update
cd $BLENDER_GITHUB
ll
git pull
git pull
ll
ll
cd ..
ll
cd blender-manual
cd pwd
pwd
cd blender_manual/
ll
cd .git
ll
catindex
cat index
ll
cat config
git config --global user.name "Hoang Duy Tran"
git config --global user.email "hoangduytran1960@googlemail.com"
ll
mv blender_manual/ blender_manual_old
git clone https://github.com/hoangduytranuk/blender_manual.git
ll
cd blender_manual
ls
ll
cd gui/
ll
cd 2.80/
ll
cd po/
ll
vi vi.po
grep -A 4 ', fuzzy' vi.po > ~/fuzzy.log
grep -A 1 -B 2 'msgstr ""' vi.po >> ~/fuzzy.log
ll
cd
cd
ll
rm -fr blender_manual_old/
hítory
history
cd blender_manual/
cd ..
cd po
ll
cd po
ll
svn info
cd
ll
pwd
cd $BLENDER_GIT_EN
alias
updatepo
svn rm --force locale/vi/LC_MESSAGES/animation/armatures/bones/tool_settings.po
convertpo
cd
ll
cd $BLENDR_GITHUB
pwd
cd $BLENDER_GITHUB
pwd
ll
git status
git add *
git status
git commit -am 'Adding the latest translations as version r5245'
git push
git push
cd $BLENDER_MAN_VI
svn status
ll
cd ..
ll
cd ..
ll
cd locale/vi/
svn info
cd ../..
mv locale ../old_locale
svn checkout https://svn.blender.org/svnroot/bf-manual-translations/trunk/blender_docs/locale/vi locale/vi
cd $BLENDER_MAN_EN
svn update .
cd $BLENDER_GITHUB
git status
cd
ll
rm -fr old_locale/
ll
which python3
which pip3
pip3 search python-language-server
pip3 search python | grep server
pip3 search python-language-server | grep python
pwd
ll
cd blender_manual/
ll
updateVIPO.py --help
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r > ~/update_vipo.log
vi ~/update_vipo.log
vi ~/update_vipo.log
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r > ~/update_vipo.log
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r > ~/update_vipo.log 2>&1
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
which env
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r > ~/update_vipo.log 2>&1
grep 'IGNORED' ~/update_vipo.log > ~/ignored.log
vi ~/ignored.log
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r > ~/update_vipo.log 2>&1
grep 'IGNORED' ~/update_vipo.log > ~/ignored.log
vi ~/ignored.log
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r > ~/update_vipo.log 2>&1
grep 'IGNORED' ~/update_vipo.log > ~/ignored.log
vi ~/ignored.log
grep 'UPDATING' ~/update_vipo.log > ~/updated.log
vi ~/updated.log
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -D -r > ~/update_vipo.log 2>&1
grep 'IGNORED' ~/update_vipo.log > ~/ignored.log
vi ~/ignored.log
cd $BLENDER_GITHUB
ll
mv ref_dict_0001.json ref_dict_0001_old.json
cp ~/test_file.json ref_dict_0001.json
git status
git add *
git commit -am "Add changes to dictionary and updateVIPO.py"
git push
updateVIPO.py -f ~/blender_manual/gui/2.80/po/vi.po -t /Users/hoangduytran/blender_manual/ref_dict_0001_old.json -D -r > ~/update_vipo.log 2>&1
cp ~/test_file.json ref_dict_0001.json
git status
git commit -am "Add changes to dictionary"
git push
convman
pip3 search Leven
pip3 search Levenshtein
pip3 install python-Levenshtein
python
python3
python3
cd $BLENDER_MAN_VI
ll
svn status
ll
svn status
svn info
pwd
cd ../..
mv locale/ ../old_locale
svn checkout https://svn.blender.org/svnroot/bf-manual-translations/trunk/blender_docs/locale/vi locale/vi
pip3 install python-Levenshtein
cd $BLENDER_MAN_VI
ll
cd ..
ll
cd ..
ll
rm -fr locale/
svn checkout https://svn.blender.org/svnroot/bf-manual-translations/trunk/blender_docs/locale/vi locale/vi
pwd
cd locale/vi/
ll
svn status
pwd
cd ../..
rm -fr locale/
history
svn checkout https://svn.blender.org/svnroot/bf-manual-translations/trunk/blender_docs/locale/vi locale/vi
zip -r ~/locale_backup.zip ./locale/
ll ~/locale_backup.zip
cd $BLENDER_MAN_VI
status
svn status
pwd
pwd
svn status
svn status
cd $BLENDER_MAN_EN
alias
updatepo
l
man gettext
man msgcat
man msgcmp
findtext.py --help
findtext.py -o -X
findtext.py -o -X
findtext.py -o -X > clean.log
findtext.py -o -X > clean.log
findtext.py -o -X > clean.log
findtext.py -o -X > clean.log
findtext.py -o -X > clean.log
findtext.py -o -X 0.85
findtext.py -o -X 0.87 > ~/clean.log
findtext.py -o -X 0.88 > ~/clean.log
findtext.py -o -X 0.90 > ~/clean.log
findtext.py -o -D -X 0.88 > ~/clean.log
cp /Users/hoangduytran/blender_docs/locale/vi/LC_MESSAGES/advanced/app_templates.po ~/app_templates.po
cp /Users/hoangduytran/blender_docs/locale/vi/LC_MESSAGES/advanced/app_templates.po ~/app_templates_old.po
findtext.py -f ~/app_templates.po -D -X 0.88 > ~/clean.log
findtext.py -f ~/app_templates.po -D -X 0.88
findtext.py -o -D -X 0.88 > ~/clean.log
findtext.py -o -D -X 0.88 > ~/clean.log
cp /Users/hoangduytran/blender_docs/locale/vi/LC_MESSAGES/advanced/app_templates.po ~/app_templates.po
cp /Users/hoangduytran/blender_docs/locale/vi/LC_MESSAGES/advanced/app_templates.po ~/app_templates_old.po
findtext.py -f ~/app_templates.po -D -X 0.88
pwd
cd $BLENDER_MAN_VI
svn status
ll
cd ../..
ll
pwd
cd locale/vi/
svn info
pwd
cd ../..
rm -fr locale > /dev/null 2>&1
svn checkout https://svn.blender.org/svnroot/bf-manual-translations/trunk/blender_docs/locale/vi locale/vi
findtext.py -o -D -X 0.88
findtext.py -o -D -X 0.88
cp /Users/hoangduytran/blender_docs/locale/vi/LC_MESSAGES/video_editing/sequencer/strips/transitions/wipe.po ~/wipe.po
cp /Users/hoangduytran/blender_docs/locale/vi/LC_MESSAGES/video_editing/sequencer/strips/transitions/wipe.po ~/wipe_old.po
findtext.py --f ~/wipe.po -D -X 0.88
findtext.py --f ~/wipe.po -D -X 0.88
findtext.py --f ~/wipe.po -D -X 0.88
findtext.py --f ~/wipe.po -D -X 0.88
findtext.py -f ~/wipe.po -D -X 0.88
cp ~/wipe_old.po ~/wipe.po
findtext.py -f ~/wipe.po -t -X 0.88
findtext.py -f ~/wipe.po -t -X 0.88
findtext.py -f ~/wipe.po -X 0.88
cd
cp wipe_old.po wipe.po
findtext.py -f ~/wipe.po t -X 0.88
findtext.py -f ~/wipe.po -t -X 0.88
findtext.py -f ~/wipe.po -t -X 0.88
findtext.py -f ~/wipe.po -X 0.88
findtext.py -f ~/wipe.po -t -X 0.88
findtext.py -o -t -X 0.90 > ~/clean.log
findtext.py -o -X 0.90 > ~/clean.log
history
msgfmt --help
which mfgfmt
which msgfmt
cd /usr/local/opt/gettext/bin/
ll
pwd
python
python3
findtext.py -o -t -X 0.90 > ~/clean.log
findtext.py -o -t -X 0.90 > ~/clean.log
findtext.py -o -X 0.90 > ~/clean.log
pwd
findtext.py -o -X 0.90 > ~/clean.log
pwd
ll *.zip
zip --hrlp
zip --help
which unzip
unzip --help
cd $BLENDER_MAN_VI
pwd
cd ../..
pwd
unzip -t ~/locale_backup.zip
unzip -o ~/locale_backup.zip
unzip -o ~/locale_backup.zip
pwd
ll
pwd
svn update .
alias
updatepo
svn rm --force locale/vi/LC_MESSAGES/animation/armatures/bones/tool_settings.po
change_placeholders.py --help
change_placeholders.py -d locale/vi/LC_MESSAGES/ -m -t
change_placeholders.py -d locale/vi/LC_MESSAGES/ -m -r
cd locale/vi/LC_MESSAGES/
change_placeholders.py -d $PWD -m -r
change_placeholders.py -d $PWD -m
cd ..
pwd
ll
cd blender-git
make update
ll
cd blender
make update
alias
mygettext
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
man touch
vi ~/blender_manual/test_dic.json
cd
vi .vimrc
cp .vimrc ~/blender_manual/
vi ~/blender_manual/test_dic.json
/usr/local/opt/python/bin/python3.7 -m pip install -U pylint --user
env DEBUGPY_LAUNCHER_PORT=54097 /usr/local/opt/python/bin/python3.7 /Users/hoangduytran/.vscode/extensions/ms-python.python-2020.3.71659/pythonFiles/lib/python/debugpy/wheels/debugpy/launcher /Users/hoangduytran/blender_manual/helloworld.py
env DEBUGPY_LAUNCHER_PORT=54104 /usr/local/opt/python/bin/python3.7 /Users/hoangduytran/.vscode/extensions/ms-python.python-2020.3.71659/pythonFiles/lib/python/debugpy/wheels/debugpy/launcher /Users/hoangduytran/blender_manual/helloworld.py
env DEBUGPY_LAUNCHER_PORT=54109 /usr/local/opt/python/bin/python3.7 /Users/hoangduytran/.vscode/extensions/ms-python.python-2020.3.71659/pythonFiles/lib/python/debugpy/wheels/debugpy/launcher /Users/hoangduytran/blender_manual/helloworld.py
env DEBUGPY_LAUNCHER_PORT=54159 /usr/local/opt/python/bin/python3.7 /Users/hoangduytran/.vscode/extensions/ms-python.python-2020.3.71659/pythonFiles/lib/python/debugpy/wheels/debugpy/launcher /Users/hoangduytran/blender_manual/helloworld.py
env DEBUGPY_LAUNCHER_PORT=54333 /usr/local/opt/python/bin/python3.7 /Users/hoangduytran/.vscode/extensions/ms-python.python-2020.3.71659/pythonFiles/lib/python/debugpy/wheels/debugpy/launcher /Users/hoangduytran/blender_manual/potranslate/translate_po.py
cd blender_manual/
ll
vi test_dic.json
vi test_dic.json
mygettext > ~/gettext.log 2>&1
python3
which python3
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1
mygettext > ~/gettext.log 2>&1