git clone clone the repository specified by ; this is similar to "checkout" in some other version control systems such as Subversion and CVS
Add colors to your ~/.gitconfig file:
[color]
| window.parseHash = function() { | |
| var parsed = {}; | |
| var pairs = window.location.hash.replace('#', '').split('&'); | |
| pairs.forEach(function(pair) { | |
| parsed[pair.split('=')[0]] = (parseInt(pair.split('=')[1], 10) || pair.split('=')[1]); | |
| }); | |
| return parsed; | |
| }; |
| <template> | |
| <div></div> | |
| </template> | |
| <script> | |
| import Vue from 'vue'; | |
| export default { | |
| props: [ | |
| ], |
| # Install | |
| yum -y install doxygen | |
| yum -y install graphviz | |
| yum -y install texlive texlive-utils | |
| # Make default config for doxygen | |
| cd {c_source_dir} | |
| doxygen -g my.doxy |
| (async\s+)?(\w+)(\s*\(.*?\)\s*)(\s*\/\/.*?)? | |
| \{ | |
| // NOTE: $2 | |
| $1$2$3$4 | |
| { |
| #!/usr/bin/env bash | |
| # reflog: Pretty format `git reflog show` with optional flag options for refining reflog output | |
| reflog () { | |
| if [[ ! "$(git rev-parse --is-inside-work-tree)" ]] 2>/dev/null; then | |
| echo "fatal: Not a git repository (or any of the parent directories): .git" | |
| return 1 | |
| fi | |
| # decorated `git reflog show` graph format style |
| sudo su - | |
| cd / | |
| #tar -cpzf backup.tar.gz --exclude=/backup.tar.gz --exclude=/proc --exclude=/tmp --exclude=/mnt --exclude=/dev --exclude=/sys / | |
| #scp user@server-uri:path_to_file/backup.tar.gz . | |
| tar zcvf --exclude=/proc --exclude=/tmp --exclude=/mnt --exclude=/dev --exclude=/sys --exclude=/srv - / | ssh $1@$2 "cat > /home/$1/frontdev.tar.gz" | |
| echo 'cat /home/$1/frontdev.tar.gz | docker import - frontdev:v1.0' | |
| echo 'docker run -t -i frontdev:v1.0 /bin/bash' |
| <q-btn v-if="$q.platform.is.desktop" dense @click="fnMinimizeWindow" icon="expand_more" /> | |
| <q-btn v-if="$q.platform.is.desktop" dense @click="fnMaximizeWindow" :icon="m_bWindowIsMaximized ? 'unfold_more' : 'expand_less'" /> | |
| <q-btn v-if="$q.platform.is.desktop" dense @click="fnCloseWindow" icon="close" /> | |
| /* ... */ | |
| computed: { | |
| bWindowIsMaximized: { | |
| set(bValue) { | |
| if (process.env.MODE === 'electron') { |
| <?php | |
| if (defined('DA_FLAG')) { | |
| return 'defined DA_FLAG'; | |
| } | |
| // [!] Все пути должны быть без / на конце | |
| define('DA_ROOT_DIR', __DIR__); | |
| define('DA_LOGS_DIR', DA_ROOT_DIR."/logs"); | |
| define('DA_FLAG_FILE', DA_LOGS_DIR."/dws_debugger.flag"); |
| PORT=8000 | |
| PID_FILE=/etc/httpd/run/httpd1.pid |