A fully fonctional and good-looking linux for less than 256mb of ram
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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<!-- | |
This overrides what's in /etc/fonts/conf.d/90-synthetic.conf for | |
"faking" bold fonts, but only for monospace fonts. | |
--> | |
<fontconfig> | |
<match target="font"> | |
<test name="spacing" compare="eq"> |
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 | |
#Variable to customize | |
GPG_NAME=key_id | |
GPG_PATH_PW=path_to_password | |
#Main is the default repo component, I added extras. It means that my deb in pool/extras will be added | |
REPONAME=(main extras) | |
ORIGIN="my company" | |
LABEL="my mirror" |
To run:
python gtk-desktop-quote-display.py
If facing an error: No module named GI
in virtualenv, try this:
pip install vext
pip install vext.gi
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 construction `curl http://example.com/shellscript.sh | bash` fills me with boiling rage | |
# | |
# export BASH_ENV=/usr/local/bin/blockCurlPipeBash.sh | |
if [[ $(grep "$(cat /proc/$$/cmdline | tr '\000' "\n" | tail -1)$" /etc/shells) ]] | |
then | |
# |- In case of non-interactive session -| |- dump PID table to find all sibling PIDs -| | |
# | |
echo $- | grep -qv i && ps awwwx -ocmd,pid,ppid | grep "$(ps -p $$ -o ppid | tail -1)$" | while read p | |
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
qApp->setStyle(QStyleFactory::create("fusion")); | |
QPalette palette; | |
palette.setColor(QPalette::Window, QColor(53,53,53)); | |
palette.setColor(QPalette::WindowText, Qt::white); | |
palette.setColor(QPalette::Base, QColor(15,15,15)); | |
palette.setColor(QPalette::AlternateBase, QColor(53,53,53)); | |
palette.setColor(QPalette::ToolTipBase, Qt::white); | |
palette.setColor(QPalette::ToolTipText, Qt::white); | |
palette.setColor(QPalette::Text, Qt::white); |
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
B A S H C H E A T S H E E T | |
to page output forward (only): command filename | more | |
to page output forward & back: command filename | less | |
to print a dataset: lp datasetname (-d printerid) (-o landscape) | |
USE OF QUOTATION MARKS | |
echo "$varname" = echo The value of \$varname is \"$varname\" | |
= echo "The value of \$varname is \"$varname\"." | |
$fred='Four spaces between these words.' |
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
# INSTALL INSTRUCTIONS: save as ~/.gdbinit | |
# | |
# DESCRIPTION: A user-friendly gdb configuration file. | |
# | |
# REVISION : 7.3 (16/04/2010) | |
# | |
# CONTRIBUTORS: mammon_, elaine, pusillus, mong, zhang le, l0kit, | |
# truthix the cyberpunk, fG!, gln | |
# | |
# FEEDBACK: https://www.reverse-engineering.net |
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
*** Best video in mp4 format [if available] in 1080p *** | |
$ youtube-dl -f 'bestvideo[height<=1080 && ext=mp4]+bestaudio' https://www.youtube.com/watch?v=LXb3EKWsInQ | |
*** For ease of use make alias for this command *** | |
$ alias yt="youtube-dl -f 'bestvideo[ext=mp4][height<=1200]+bestaudio[ext=m4a]' -o '%(title)s'" | |
Youtube-dl Tutorial With Examples | |
Here, I have compiled most commonly used Youtube-dl commands to download a video or playlist from YouTube. |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<yahoo-weather-codes> | |
<code number="0" description="tornado"/> | |
<code number="1" description="tropical storm"/> | |
<code number="2" description="hurricane"/> | |
<code number="3" description="severe thunderstorms"/> | |
<code number="4" description="thunderstorms"/> | |
<code number="5" description="mixed rain and snow"/> | |
<code number="6" description="mixed rain and sleet"/> | |
<code number="7" description="mixed snow and sleet"/> |
OlderNewer