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
# the following two lines give a two-line status, with the current window highlighted | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' | |
# huge scrollback buffer | |
defscrollback 5000 | |
# no welcome message | |
startup_message off |
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 | |
# -*- coding: utf-8 -*- | |
# | |
# Usage: | |
# 1. Save as `vt-color-scheme.py` in $PATH (/usr/bin for example) | |
# 2. Make executable `chmod +x vt-color-scheme.py` | |
# 3. Add `$(vt-color-scheme.py)` to `GRUB_CMDLINE_LINUX` in `/etc/default/grub` | |
# example `GRUB_CMDLINE_LINUX="$(vt-color-scheme.py)"` | |
# 4. Create new grub config with `sudo grub-mkconfig -o /boot/grub/grub.cfg` | |
# 5. Reboot to apply changes |
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
#!/bin/bash | |
# mounts all needed mount points to change into another system from within a live-CD | |
#-------------- Author: -------------# | |
# by Ruben Barkow (Rubo77) | |
if [ "$(whoami &2>/dev/null)" != "root" ] && [ "$(id -un &2>/dev/null)" != "root" ] ; then | |
echo "You must be root to run this script!"; echo "use 'sudo !!'"; exit 1 | |
fi |
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
function transfer | |
if test (count $argv) -eq 0 | |
echo "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md" | |
return 1 | |
end | |
## get temporarily filename, output is written to this file show progress can be showed | |
set tmpfile ( mktemp -t transferXXX ) | |
## upload stdin or file |
Instructions how to install Debian using debootstrap. Below instructions were verified to work with debootstrapping Debian 11.
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
So you were able to install Kodi via "sudo apt-get install kodi" but have no idea how to force it to autostart on boot? | |
You have tried all those googled solutions such as adding kodi-standalone to .bashrc, creating init.d script but nothing worked? | |
This is the right place to get the answer. | |
For some reason, the current version of Kodi doesnt provide 2 important files: | |
/etc/init.d/kodi | |
/etc/default/kodi |
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
This project has been moved to a GitHub repository to allow Pull Requests. | |
See: https://github.com/Ewpratten/youtube_ad_blocklist |
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
#!/bin/bash | |
# Script: osmc-java-jdownloader-installer.sh | |
# Author: Jozef Pažin | |
# Description: Wizard to install the current version of java and/or jdownloader on raspberry pi running osmc. | |
# License: MIT | use arbitrarily, attribution is not required | |
# How to run: | |
# - Check if this code is correct first because this script need to be run under root and run gist | |
# from web is not recommended in terms of security only that you know exactly what it does. Check it: | |
# curl -Ls https://gist.github.com/atiris/34dc670264274b3a472f2a718e4de83a/raw | nano - |
OlderNewer