This file contains hidden or 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
| <habracut /> | |
| Перекодировка всех файлов *.srt в папке из cp1251 в utf-8 | |
| <code>find *.srt | while read i; do iconv -c -f cp1251 -t utf-8 "$i" > "/tmp/$i"; mv "/tmp/$i" .; done</code> | |
| В папке в названиях всех файлов заменить пробелы на знак подчеркивания | |
| <code>for i in *; do | |
| mv "$i" "`echo $i | sed 's//_/'`" | |
| done </code> | |
| Ужмёт до 400 точек по ширине и пропорционально уменьшит высоту. Можно использовать x400 для фиксированной высоты и расчётной ширины. |
This file contains hidden or 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
| commit 7b8e6f413811c22a5291de74b478410f9d877706 | |
| Author: Uvarov Michael <freeakk@gmail.com> | |
| Date: Fri Apr 13 10:27:01 2012 +0400 | |
| Fix warnings. | |
| commit ca872e0c77d406fd63a6f516f2bf71d2a4491e7a | |
| Author: Uvarov Michael <freeakk@gmail.com> | |
| Date: Fri Apr 13 10:16:39 2012 +0400 |
This file contains hidden or 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
| DEBUG: Rebar location: "/usr/local/bin/rebar" | |
| DEBUG: Entering /home/user/erlang/eunit_twice | |
| DEBUG: Available deps: [] | |
| DEBUG: Missing deps : [] | |
| DEBUG: Predirs: [] | |
| ==> eunit_twice (eunit) | |
| DEBUG: Matched required ERTS version: 5.9 -> .* | |
| DEBUG: Matched required OTP release: R15B -> .* | |
| INFO: sh info: | |
| cwd: "/home/user/erlang/eunit_twice" |
This file contains hidden or 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
| DEBUG: Rebar location: "/home/user/erlang/i18n/rebar" | |
| DEBUG: Consult config file "/home/user/erlang/i18n/rebar.config" | |
| DEBUG: is_app_available, looking for App triq with Path "/home/user/erlang/i18n/deps/triq" | |
| DEBUG: vcs_vsn: Unknown VCS atom in vsn field: "0.1.0" | |
| INFO: Looking for triq-.* ; found triq-0.1.0 at /home/user/erlang/i18n/deps/triq | |
| DEBUG: is_app_available, looking for App rebar_i18n_plugin with Path "/home/user/erlang/i18n/deps/rebar_i18n_plugin" | |
| DEBUG: vcs_vsn: Unknown VCS atom in vsn field: "1" | |
| INFO: Looking for rebar_i18n_plugin-.* ; found rebar_i18n_plugin-1 at /home/user/erlang/i18n/deps/rebar_i18n_plugin | |
| DEBUG: is_app_available, looking for App edown with Path "/home/user/erlang/i18n/deps/edown" | |
| DEBUG: vcs_vsn: Primary vcs used for /home/user/erlang/i18n/deps/edown |
This file contains hidden or 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
| %% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*- | |
| %% ex: ft=erlang ts=4 sw=4 et | |
| %% == Port compiler == | |
| {port_env, [ | |
| {"CFLAGS", "$ICU_CFLAGS $CFLAGS $ICU_INC_PATH"}, | |
| {"CXXFLAGS", "$ICU_CXXFLAGS $CXXFLAGS $ICU_INC_PATH"}, | |
| {"LDFLAGS", "$ICU_LDFLAGS $LDFLAGS"} | |
| ]}. |
This file contains hidden or 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
| [22:00:58] user@delta i18n :) ./rebar --version | |
| rebar version: 2 date: 20110930_055606 vcs: git f51e3df | |
| [22:01:02] user@delta i18n :) ./rebar clean skip_deps=true | |
| ==> i18n (clean) | |
| [22:01:06] user@delta i18n :) cat rebar.config | |
| %% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*- |
This file contains hidden or 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
| DEBUG: Rebar location: "/home/user/erlang/i18n/rebar" | |
| DEBUG: Consult config file "/home/user/erlang/i18n/rebar.config" | |
| DEBUG: is_app_available, looking for App triq with Path "/home/user/erlang/i18n/deps/triq" | |
| DEBUG: vcs_vsn: Unknown VCS atom in vsn field: "0.1.0" | |
| INFO: Looking for triq-.* ; found triq-0.1.0 at /home/user/erlang/i18n/deps/triq | |
| DEBUG: is_app_available, looking for App rebar_i18n_plugin with Path "/home/user/erlang/i18n/deps/rebar_i18n_plugin" | |
| DEBUG: vcs_vsn: Unknown VCS atom in vsn field: "1" | |
| INFO: Looking for rebar_i18n_plugin-.* ; found rebar_i18n_plugin-1 at /home/user/erlang/i18n/deps/rebar_i18n_plugin | |
| DEBUG: is_app_available, looking for App edown with Path "/home/user/erlang/i18n/deps/edown" | |
| DEBUG: vcs_vsn: Primary vcs used for /home/user/erlang/i18n/deps/edown |
This file contains hidden or 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
| aptitude install libwxgtk2.8-dev libgl1-mesa-dev libglu1-mesa-dev libpng3 | |
| apt-get build-dep erlang |
This file contains hidden or 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
| bjoin([H|T], Delim) -> | |
| BinT = << <<Delim/binary, X/binary>> || X <- T>>, | |
| <<H/binary, BinT/binary>>. | |
| bjoin([], _Delim) -> | |
| <<>>. |
This file contains hidden or 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
| sys:trace(ccd3_event, true). |