1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-19 08:49:45 +00:00

Merge branch 'master' of github.com:LeCoupa/awesome-cheatsheets

This commit is contained in:
Julien Le Coupanec 2020-03-16 15:26:49 +01:00
commit 873782d90a
3 changed files with 10 additions and 10 deletions

View File

@ -99,12 +99,12 @@ django-admin version # display the current django version
# ***************************************************************************** # *****************************************************************************
# 1. $ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py; python3 get-pip.py # 1. $ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py; python3 get-pip.py
# 2. $ pip install django # 2. $ pip install virtualenv
# 3. $ pip install virtualenv # 3. $ mkdir django-projects
# 4. $ mkdir django-projects # 4. $ cd django-projects
# 5. $ cd django-projects # 5. $ virtualenv venv
# 6. $ virtualenv venv # 6. $ source venv/bin/activate
# 7. $ source venv/bin/activate # 7. $ pip install django
# 8. $ django-admin startproject myproject # 8. $ django-admin startproject myproject
# 9. $ python manage.py runserver # 9. $ python manage.py runserver

View File

@ -24,7 +24,7 @@ foreach($arr as $key => $value) {
} }
// For // For
for($i = 0; $i < count($arr) - 1; $i++) { for($i = 0; $i < count($arr); $i++) {
$key = $i; $key = $i;
$value = $arr[$i]; $value = $arr[$i];
} }
@ -338,4 +338,4 @@ class ClassWithLogger
* Use the LoggerAwareTrait in this class. * Use the LoggerAwareTrait in this class.
*/ */
use LoggerAwareTrait; use LoggerAwareTrait;
} }

View File

@ -4,7 +4,7 @@
### HTML & CSS ### HTML & CSS
- `CSScomb`: Codeing style formatter for CSS, Less, SCSS and Saas. - `CSScomb`: Coding style formatter for CSS, Less, SCSS and Saas.
- `Puglint`: Linter and style checker for pug. - `Puglint`: Linter and style checker for pug.