Simple and safe random getters to copy-paste
string randomBytes( int $length )
int randomInt ( int $min , int $max )
string randomUuid ( void )| #!/bin/bash | |
| # README | |
| # -------------------- | |
| # chmod u+x django_init.sh | |
| # ./django_init.sh my-super-project.com main | |
| # -------------------- | |
| SETTINGS_APP="core" |
| // Источник - http://thelucid.com/2008/12/02/git-setting-up-a-remote-repository-and-doing-an-initial-push/ | |
| // Добавить в конец ~/.bash_profile на удаленном сервере следующий код: | |
| # Reset | |
| Color_Off="\[\033[0m\]" # Text Reset | |
| # Regular Colors | |
| Black="\[\033[0;30m\]" # Black | |
| Red="\[\033[0;31m\]" # Red | |
| Green="\[\033[0;32m\]" # Green |
| %YAML 1.2 | |
| --- | |
| name: 'GoHTML' | |
| file_extensions: | |
| - gohtml | |
| - html.go | |
| scope: text.html.gohtml | |
| contexts: | |
| main: | |
| - match: '' |
#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync