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
package goddrinksjava; | |
/** | |
* The program GodDrinksJava implements an application that | |
* creates an empty simulated world with no meaning or purpose. | |
* | |
* @author momocashew | |
*/ | |
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
curl -L https://gist.githubusercontent.com/qcoumes/631aafe1951910c623dde57bede4f7b4/raw/7021c5daf3a06a24d9f2fc4da554af84a1719cda/bash_git > ~/.bash_git | |
source ~/.bash_git | |
echo "source ~/.bash_git" >> ~/.bashrc | |
echo "export PS1='\[\033[0;35m\]\h \[\033[0;33m\]\t \[\033[0;36m\]\w\[\033[0;1;91m\]\$(__git_ps1)\[\033[0;32m\] \$\[\033[0;0m\] '" >> ~/.bashrc | |
source ~/.bashrc |
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
@pytest.fixture(autouse=True) | |
def mute_signals(request): | |
# Skip applying, if marked with `enabled_signals` | |
if 'enable_signals' in request.keywords: | |
return | |
signals = [pre_save, post_save, pre_delete, post_delete, m2m_changed] | |
restore = {} | |
for signal in signals: | |
restore[signal] = signal.receivers |