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
sudo firewall-cmd --add-service=https --permanent | |
sudo firewall-cmd --reload |
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
# delete all state alter log out | |
const appReducer = combineReducers({ | |
todos, | |
visibilityFilter | |
}); | |
const rootReducer = ( state, action ) => { | |
if ( action.type === LOG_OUT ) { | |
state = undefined; | |
} |
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
# celery==4.1.0 | |
# django==1.11.x | |
# execute task synchronous | |
CELERY_TASK_ALWAYS_EAGER = True | |
# raise exception in task | |
CELERY_TASK_EAGER_PROPAGATES = True |