This file contains 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
#!/bin/bash | |
#---------------------------------------- | |
# OPTIONS | |
#---------------------------------------- | |
USER='' # MySQL User | |
PASSWORD='' # MySQL Password | |
DAYS_TO_KEEP=60 # 0 to keep forever | |
GZIP=1 # 1 = Compress | |
BACKUP_PATH='/var/backup-sites/databases' | |
#---------------------------------------- |
This file contains 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
include: all_lint_rules.yaml | |
analyzer: | |
exclude: | |
- "lib/core/model/g/*.g.dart" | |
strong-mode: | |
implicit-casts: false | |
implicit-dynamic: false | |
errors: | |
# Otherwise cause the import of all_lint_rules to warn because of some rules conflicts. | |
# We explicitly enabled even conflicting rules and are fixing the conflict |
This file contains 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
POWERLEVEL9K_MODE="nerdfont-complete" | |
POWERLEVEL9K_DISABLE_RPROMPT=false | |
POWERLEVEL9K_PROMPT_ON_NEWLINE=true | |
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="↳ " | |
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="" | |
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(custom_elementary_icon dir vcs) | |
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(host time os_icon) |
This file contains 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
alias art="php artisan" | |
alias saman="tmux att -t Saman" | |
alias reap="sudo systemctl restart apache2" |
This file contains 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
[ | |
{ | |
"province": "اردبیل", | |
"cities": [ | |
"اردبیل", | |
"اصلاندوز", | |
"آبی بیگلو", | |
"بیله سوار", | |
"پارس آباد", | |
"تازه کند", |
This file contains 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
void main() { | |
var num = 1.6176; | |
print((num*1000).ceil()/1000); | |
} |
This file contains 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
void main() { | |
var num = 1.6176; | |
print((num*1000).ceil()/1000); | |
} |
This file contains 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
class MyClass{ | |
String str = ''; | |
MyClass(this.str); | |
} | |
void main() { | |
MyClass obj1 = MyClass('obj1 initial'); | |
print(obj1.str); |