What do you think about that ? Is tricky or bad ?
It can be usefull to edit multiple css properties in javascript with just change a variable.
| https://www.avoiderrors.com/install-owncloud-on-raspberry-pi-4-2/ | |
| sudo apt install apache2 sqlite -y | |
| sudo service apache2 restart | |
| sudo apt-get install php php-gd php-sqlite3 php-curl libapache2-mod-php -y | |
| sudo apt-get install smbclient | |
| # sudo apt-get install php-mysql php-mbstring php-gettext php-intl php-redis php-imagick php-igbinary php-gmp php-curl php-gd php-zip php-imap php-ldap php-bz2 php-phpseclib php-xml | |
| sudo apt-get install php-mysql php-mbstring php-intl php-redis php-imagick php-igbinary php-gmp php-curl php-gd php-zip php-imap php-ldap php-bz2 php-phpseclib php-xml | |
| wget -nv https://download.owncloud.org/download/repositories/production/Debian_9.0/Release.key -O Release.key | |
| sudo apt-key add - < Release.key |
What do you think about that ? Is tricky or bad ?
It can be usefull to edit multiple css properties in javascript with just change a variable.
| from random import randint | |
| count = 0 | |
| win = {"player": 0, "bot": 0} | |
| WIN = 0 | |
| LOSE = 1 | |
| TIE = 2 | |
| playable = [{"play": "pierre", "ciseaux": WIN, "pierre": TIE, "feuille": LOSE}, | |
| {"play": "feuille", "pierre": WIN, "feuille": TIE, "ciseaux": LOSE}, | |
| {"play": "ciseaux", "feuille": WIN, "ciseaux": TIE, "pierre": LOSE}] |
| for x in range(1, 101): | |
| if x % 3 == 0 and x % 5 == 0: | |
| print("FizzBuzz") | |
| elif x % 5 == 0: | |
| print("Buzz") | |
| elif x % 3 == 0: | |
| print("Fizz") | |
| else: | |
| print(x) |