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/sh | |
# Searchable list showing kernel modules with (lsmod), piped (|) via (percol). Pipe (|) the output with (awk), filte for the first field (print $1). Grab the result (xargs -0) as argument for (echo) to write it to disk (>) as (/tmp/showmoduleconfig) | |
lsmod | percol | awk '{print $1}'|xargs -0 echo > /tmp/showmoduleconfig ; | |
# Display (cat) previousely selected module config (-m) in verbose mode (-v) with (systool). Remove (rm) the temporary file created (/tmp/showmoduleconfig). Colorize (pygmentize) output like a (linux-config) file with lexer (-l linux-config) | |
systool -v -m (cat /tmp/showmoduleconfig) & rm /tmp/showmoduleconfig | pygmentize -l linux-config ; |
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/sh | |
# Quick script to reload nvidia-uvm kernel module, failling after sleep. | |
# | |
# NVIDIA KERNEL | |
# 440.82 5.3.0-51 | |
# | |
echo "# Quick script to reload nvidia-uvm kernel module, failling after sleep." | |
echo "#### RUN THIS AS ROOT! ####" | |
echo "#### Remove nvidia_uvm module ####" | |
sudo rmmod nvidia_uvm |
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/pulseaudio -nF | |
#$HOME/.pulse/default.pa | |
# This file is part of PulseAudio. | |
# | |
# PulseAudio is free software; you can redistribute it and/or modify it | |
# under the terms of the GNU Lesser General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. | |
# | |
# PulseAudio is distributed in the hope that it will be useful, but |
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
pcm.NVidia { type hw; card NVidia; } | |
ctl.NVidia { type hw; card NVidia; } | |
pcm.Audigy { type hw; card Audigy; } | |
ctl.Audigy { type hw; card Audigy; } | |
pcm.!default pcm.Audigy | |
ctl.!default ctl.Audigy |
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
@======== Fastboot command ======== | |
@Get info : | |
@>>> fastboot oem gpt-info | |
@>>> fastboot oem isn-info | |
@>>> fastboot oem ssn-info | |
@>>> fastboot oem system-info | |
@>>> fastboot oem device-info | |
@Get ID : | |
@>>> fastboot oem get-prjid | |
@>>> fastboot oem get-hwid |
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
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<table class="tg"> | |
<tbody> | |
<tr> | |
<td class="tg-lboi" rowspan="3"><a href='%u'><img src='%I' width='96'></a></td> | |
<td class="tg-0pky"style="color:rgb(231, 159, 222);font-weight: bold;font-size: x-large;font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;">%T</td> | |
</tr> | |
<tr> |
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
AA | |
AAS | |
ABACA | |
ABACAS | |
ABALONE | |
ABALONES | |
ABANDON | |
ABANDONS | |
ABATIS | |
ABATTIS |
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 | |
SAVEIFS=$IFS | |
IFS=$(echo -en "\n\b") | |
# set me | |
FILES=/data/* | |
for f in $FILES | |
do | |
echo "$f" | |
done | |
# restore $IFS |
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
#!/data/data/com.termux/files/usr/bin/zsh | |
# | |
# This is a termux-url-opener script to do diffrent tasks on my Android phone | |
# | |
# | |
# | |
# How to use this script | |
############################# | |
# Create the bin directory | |
# ➜ ~ mkdir bin |
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
/* | |
Go to about:config, set toolkit.legacyUserProfileCustomizations.stylesheets to true. | |
Create a userChrome.css file according to these instructions: https://www.userchrome.org/how-create-userchrome-css.html | |
Paste the following into userChrome.css | |
*/ | |
/*No white flash on new tab opening in dark theme */ | |
#browser vbox#appcontent tabbrowser, #content, #tabbrowser-tabpanels, browser[type=content-primary], browser[type=content] > html { background: #222 !important; } | |
/* |
OlderNewer