This file contains hidden or 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
log: | |
level: INFO | |
entryPoints: | |
web: | |
address: ":80" | |
flower: | |
address: ":5555" |
This file contains hidden or 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
#!/bin/bash | |
cd ~/.config/JetBrains/PyCharm2020.2 | |
rm eval/PyCharm202.evaluation.key | |
sed -i '/evlsprt/d' options/other.xml | |
cd ~/.java/.userPrefs/jetbrains | |
rm -rf pycharm |
This file contains hidden or 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
cd ~/Library/Preferences/ | |
ls | grep 'jetbrains' | xargs rm | |
cd ~/Library/Application\ Support/JetBrains/PyCharm2020.2/ | |
rm eval/*.key | |
rm options/other.xml | |
cd ~/Library/Preferences | |
plutil -convert xml1 com.apple.java.util.prefs.plist | |
sed -i'' -e '/evlsprt/d' com.apple.java.util.prefs.plist | |
plutil -convert binary1 com.apple.java.util.prefs.plist |
This file contains hidden or 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
""" | |
Модели | |
""" | |
from django.db import models | |
from django.contrib.auth import get_user_model | |
class RecordManager(models.Manager): | |
def get_queryset(self): | |
return super().get_queryset().filter(deleted=False) |