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
""" | |
For more information on this file, see | |
https://docs.djangoproject.com/en/2.1/topics/settings/ | |
For the full list of settings and their values, see | |
https://docs.djangoproject.com/en/2.1/ref/settings/ | |
""" | |
import os | |
import dj_database_url | |
# from whitenoise.django import DjangoWhiteNoise |
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
chdir(/etc) | |
fchdir() to previous dir | |
sourcing "/etc/vimrc" | |
line 1: " All system-wide defaults are set in $VIMRUNTIME/archlinux.vim (usually just | |
line 2: " /usr/share/vim/vimfiles/archlinux.vim) and sourced by the call to :runtime | |
line 3: " you can find below. If you wish to change any of those settings, you should | |
line 4: " do it in this file (/etc/vimrc), since archlinux.vim will be overwritten | |
line 5: " everytime an upgrade of the vim packages is performed. It is recommended to | |
line 6: " make changes after sourcing archlinux.vim since it alters the value of the | |
line 7: " 'compatible' option. |
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 | |
EXTERNAL_OUTPUT="HDMI1" | |
INTERNAL_OUTPUT="eDP1" | |
# if we don't have a file, start at zero | |
if [ ! -f "/tmp/monitor_mode.dat" ] ; then | |
monitor_mode="all" | |
# otherwise read the value from the file | |
else |
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 | |
#This script will automaticly rotate your screen and change correctly touches from the screen. | |
#Before running the script: | |
#go to https://github.com/hadess/iio-sensor-proxy and and follow all steps to install the code. | |
#find your TOUCHPAD, and TRANSFORM, variables. You can find them using | |
#typing in terminal: | |
#xinput list | |
#tested on hp x360 13s-s150sa, manjaro kde | |
#in case when you dont want install iio-sensor-proxy you can use this script: | |
#https://gist.github.com/tuxflo/5b400c86a5ebde871d94c6bff94ad6cb |