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
| ############################################################################### | |
| # Author: ddnomad | |
| # Version: 1.1.3 | |
| # Last Update: 2020-07-06 | |
| # | |
| # External contributors: | |
| # - u/momasf (https://www.reddit.com/user/momasf) - an excellent | |
| # tip to use 'reflector' to speed up downloads during the base | |
| # installation | |
| # - eXhumer (https://github.com/eXhumer) - Fixes for things that |
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/sh | |
| MODEM="$(mmcli -L | grep -o '/org/freedesktop/ModemManager1/Modem/[0-9]*' | head -1)" | |
| BEARER="$(mmcli -m $MODEM --list-bearers | grep -o '/org/freedesktop/ModemManager1/Bearer/[0-9]*' | head -1)" | |
| connect() { | |
| MODEM="$(mmcli -L | grep -o '/org/freedesktop/ModemManager1/Modem/[0-9]*' | head -1)" | |
| mmcli -m $MODEM --simple-connect=apn=web.be,user=web,password=web | |
| BEARER="$(mmcli -m $MODEM --list-bearers | grep -o '/org/freedesktop/ModemManager1/Bearer/[0-9]*' | head -1)" |
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
| [Unit] | |
| Description=Mirror arch linux | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/usr/local/bin/sync_arch_mirror.sh | |
| User=arch | |
| IPAccounting=yes | |
| NoNewPrivileges=yes | |
| PrivateTmp=yes |
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/zsh | |
| # Script to generate thumbnails of a video and combine into one tile image. | |
| # | |
| # CAUTION: | |
| # FFprobe might fail to extract duration info from a MKV container. Use | |
| # ffmpeg -i video.mkv -c:v copy -c:a copy video.mp4 | |
| # to swap to an MP4 container. | |
| # | |
| # Dependencies: | |
| # 1. ffmpeg |
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
| # This file has been auto-generated by i3-config-wizard(1). | |
| # It will not be overwritten, so edit it as you like. | |
| # | |
| # Should you change your keyboard layout somewhen, delete | |
| # this file and re-run i3-config-wizard(1). | |
| # | |
| # i3 config file (v4) | |
| # | |
| # Please see http://i3wm.org/docs/userguide.html for a complete reference! |
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 http://garmoncheg.blogspot.com/2012/06/pretty-git-log.html | |
| git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --" |