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
#!/usr/bin/env python3 | |
# Script to copy n random folders to a location | |
# Usage: RandomCopier.py [source folder] [destination folder] [number to copy] | |
import os | |
import sys | |
import shutil | |
import random |
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
#!/usr/bin/env python3 | |
# Script to copy n random folders to a location | |
# Usage: RandomCopier.py [source folder] [destination folder] [number to copy] | |
import os | |
import sys | |
import shutil | |
import random |
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
Compose + <apostrophe> <apostrophe> : "´" acute # ACUTE ACCENT | |
Compose + <minus> <asciicircum> : "¯" macron # MACRON | |
Compose + <asciicircum> <minus> : "¯" macron # MACRON | |
Compose + <underscore> <underscore> : "¯" macron # MACRON | |
Compose + <underscore> <asciicircum> : "¯" macron # MACRON | |
Compose + <space> <parenleft> : "˘" breve # BREVE | |
Compose + <parenleft> <space> : "˘" breve # BREVE | |
Compose + <quotedbl> <quotedbl> : "¨" diaeresis # DIAERESIS | |
Compose + <space> <less> : "ˇ" caron # CARON | |
Compose + <less> <space> : "ˇ" caron # CARON |
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
#!/usr/bin/env python | |
import os | |
import sys | |
import subprocess | |
import collections | |
import time | |
import mmap | |
try: |
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
#!/usr/bin/env python | |
import subprocess | |
apps_to_save = ['Gedit', 'Writer'] | |
battery_limit = 10 # in percent | |
def get_battery_percentage(): |
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
def get_time_of_day(level=3): | |
''' | |
For detail level 2: | |
06 to 20: day | |
20 to 06: night | |
''' | |
''' | |
For detail level 3: |
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
#!/usr/bin/env bash | |
#-- CONFIGURATION | |
transparent_alpha=0 | |
maximized_alpha=100 | |
interval=0 | |
#-- | |
alpha_prop_list=() | |
for prop in $(xfconf-query -c xfce4-panel -p /panels -l); do |
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
# coding: utf-8 | |
# Licensed under the MIT License | |
# Copyright © 2016 Bharadwaj Raju <[email protected]> | |
# Permission is hereby granted, free of charge, to any person obtaining a | |
# copy of this software and associated documentation files (the "Software"), to deal in the Software without | |
# restriction, including without limitation the rights to use, copy, modify, merge, publish, | |
# distribute, sublicense, and/or sell copies of the Software, and to permit persons | |
# to whom the Software is furnished to do so, subject to the following conditions: |
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
! "Enabled modi" Set from: Default | |
! rofi.modi: window,run,ssh | |
! "Window opacity" Set from: Default | |
! rofi.opacity: 100 | |
! "Window width" Set from: Default | |
! rofi.width: 50 | |
! "Number of lines" Set from: Default | |
! rofi.lines: 15 | |
! "Number of columns" Set from: Default | |
! rofi.columns: 1 |
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
122.176.173.14 |