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
ffmpeg -hwaccel cuvid -y -i giris.mp4 -c:v hevc_nvenc output2.mp4 |
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
Restore fresh database | |
When you backup whole database by using dumpdata command, it will backup all the database tables | |
If you use this database dump to load the fresh database(in another django project), it can be causes IntegrityError (If you loaddata in same database it works fine) | |
To fix this problem, make sure to backup the database by excluding contenttypes and auth.permissions tables | |
python manage.py dumpdata --exclude auth.permission --exclude contenttypes > db.json |
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
sudo awk '{print "export " $0}' /opt/elasticbeanstalk/deployment/env | |
sudo su | |
export $(cat /opt/elasticbeanstalk/deployment/env | xargs) | |
source /var/app/venv/*/bin/activate && python3 /var/app/current/manage.py migrate | |
source /var/app/venv/*/bin/activate && python3 /var/app/current/manage.py collectstatic | |
source /var/app/venv/*/bin/activate && cd /var/app/current/ | |
echo $YOU_ENV_NAME_FORM_EB |
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
domains = ["oz4abh.nel","mbohal.cz","easypage.fi","smoro.fr","nickelfreesolutions.com", "radlofff.com","scheepvaarttelefoongids.nl","tursan.net","plannersanonymous.com","doing.fr","saltstack.com","deconsquad.com","migom.com","tjprc.org","worklife.dk","inno-make.com","food-hub.org","bikemastertool.com","betenbewegen.de","vk.me","twotigersports.com","517mrt.com","siel.nl","e-hps.com","infowheel.com","synirc.net","abuliyan.com","easy-ways.com","stark.dk","funwirks.com","eurocqs.net","202yx.com","nikko-sake.com","xnet.lv","visionpharma.com","trade-india.com","t-bird.edu","siebel-crm.net","adriaticapress.it","41789.com","autofirenze.biz","minniowa.com","sweetteaproper.com","recruit-dc.co.jp","competitivecameras.com","zoncinta.com","vadim-prostakov.ru","vk.me","securitasweb.it","mandarinclass.my","pbxi.net","zyznowski.pl","meodia.com","niceinternetmoney.ru","guardiancaps.com","bbccable.net","ams-luenen.de","ihalehaberbulteni.com","salvia-community.net","superpowerfruits.com","bereyellingergl.com","downloadfreetvse |
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
"webmagnat.ro","nickelfreesolutions.com","scheepvaarttelefoongids.nl","tursan.net","plannersanonymous.com","doing.fr","saltstack.com","deconsquad.com","migom.com","tjprc.org","worklife.dk","inno-make.com","food-hub.org","bikemastertool.com","betenbewegen.de","vk.me","twotigersports.com","517mrt.com","siel.nl","e-hps.com","infowheel.com","synirc.net","abuliyan.com","easy-ways.com","stark.dk","funwirks.com","eurocqs.net","202yx.com","nikko-sake.com","xnet.lv","visionpharma.com","trade-india.com","t-bird.edu","siebel-crm.net","adriaticapress.it","41789.com","autofirenze.biz","minniowa.com","sweetteaproper.com","recruit-dc.co.jp","competitivecameras.com","zoncinta.com","vadim-prostakov.ru","vk.me","securitasweb.it","mandarinclass.my","pbxi.net","zyznowski.pl","meodia.com","niceinternetmoney.ru","guardiancaps.com","bbccable.net","ams-luenen.de","ihalehaberbulteni.com","salvia-community.net","superpowerfruits.com","bereyellingergl.com","downloadfreetvseries.com","iqshop.ro","urbancliq.com","rocket-media.net","uskud |
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
import os | |
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project.settings') | |
import django | |
django.setup() | |
from location.models import * | |
from trainer.models import Trainer | |
from django.contrib.auth.models import User | |
from random import randint |
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
hello there |
NewerOlder