Rails - shortcut
rails g mailer UserMailer welcome
rails g mailer UserMailer welcome
Filter on Routes with name
Get API data > Save it as a JSON file
To upload photo
link to with Bootstrap
Routes
form_for
1. Create Rails
Rememberable Method
javascript syntax is harder than Ruby, Python. Need to get used to do it.
1.Start setting of Style CSS
Basic div is important, everything is in website contain of blocks. button is in line tag, so if you wnant to make it as a block tag, put...
CRUE
Theory
Array = use
String Sentence » Array
To make followed_postsfunction
Turn on Debug mode (venv) (base) ➜ microblog git:(master) ✗ export FLASK_DEBUG=1 (venv) (base) ➜ microblog git:(master) ✗ flask run
The @before_request decorator from Flask register the decorated function to be executed right before the view function. This is extremely useful because now ...
Change default directory of migration.
1. password hashing
1. Flask Shell
###1.install install flask-SQLAlchemy and flask_migrate
1. __init__py
To access an Index page, User should login first.
In the typical React dataflow, props are the only way that parent components interact with their children. To modify a child, you re-render it with new props.
Basic - Map
this
bug
In case of Event listener, need to use onClickonSubmitonChange But when you call event listener with this, it means window not a class we want. So we ...
How to pass data from child component to its parent in ReactJS?
OLD FASHION: onChange- Javascript way
```js const SeasonDisplay = props => { const season = getSeason(props.lat, new Date().getMonth()); const text = season === ‘winter’ ? ‘Burr, it is...
```python def solution(skill, skill_trees): answer = 0
When Create Child class, send the parent class as a parameter when creating the child class Child class will get __init__ and functions of Parent’s
isdigit()
f string
Maketrans
Basic Loop with text
CRUD of List of Python
Simple
Click button - Change innerHTML
Found impressive code
Increment
Sum of Array
Create Git repo and connect to Git git remote add origin (url from github) git remote -v git push origin master