For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
# On slow systems, checking the cached .zcompdump file to see if it must be | |
# regenerated adds a noticable delay to zsh startup. This little hack restricts | |
# it to once a day. It should be pasted into your own completion file. | |
# | |
# The globbing is a little complicated here: | |
# - '#q' is an explicit glob qualifier that makes globbing work within zsh's [[ ]] construct. | |
# - 'N' makes the glob pattern evaluate to nothing when it doesn't match (rather than throw a globbing error) | |
# - '.' matches "regular files" | |
# - 'mh+24' matches files (or directories or whatever) that are older than 24 hours. | |
autoload -Uz compinit |
As configured in my dotfiles.
start new:
tmux
start new with session name:
//!DESC acme-0.5x | |
//!HOOK LUMA | |
//!BIND HOOKED | |
//!WIDTH HOOKED.w 2 / | |
//!HEIGHT HOOKED.h 2 / | |
//!WHEN HOOKED.w 2 % ! HOOKED.h 2 % ! * | |
//!OFFSET 0.25 0.25 | |
vec4 hook() { | |
return HOOKED_texOff(vec2(-0.25,-0.25)); | |
} |
// vim: set ft=glsl: | |
/* | |
LumaSharpenHook 0.3 | |
original hlsl by Christian Cann Schuldt Jensen ~ CeeJay.dk | |
port to glsl by Anon | |
It blurs the original pixel with the surrounding pixels and then subtracts this blur to sharpen the image. | |
It does this in luma to avoid color artifacts and allows limiting the maximum sharpning to avoid or lessen halo artifacts. |
<---TUTORIAL FOR CREATING XCURSOR THEMES.---> | |
<---By ThEOnE @ kde-look---> | |
<---My_foros@yahoo.com.ar--> | |
_______________________________________________________________________________________ | |
| | | |
| First of all, let me tell you that everything I know I've learned it by inspecting | | |
| some xcursor themes like jaguarx, and others. | |
Tuning Intel Skylake and beyond for optimal performance and feature level support on Linux:
Note that on Skylake, Kabylake (and the now cancelled "Broxton") SKUs, functionality such as power saving, GPU scheduling and HDMI audio have been moved onto binary-only firmware, and as such, the GuC and the HuC blobs must be loaded at run-time to access this functionality.
Enabling GuC and HuC on Skylake and above requires a few extra parameters be passed to the kernel before boot.
Instructions provided for both Fedora and Ubuntu (including Debian):
Note that the firmware for these GPUs is often packaged by your distributor, and as such, you can confirm the firmware blob's availability by running:
# di=5;34;43 Setting the LS_COLORS di parameter to the above example will make directories appear in flashing blue text with an orange background | |
#0 = Default Colour | |
#1 = Bold | |
#4 = Underlined | |
#5 = Flashing Text | |
#7 = Reverse Field | |
#31 = Red | |
#32 = Green | |
#33 = Orange | |
#34 = Blue |
As far as I am aware the time has come and as of Firefox 72 XUL has been stripped from firefox and so the method used to inject this scrollbar theme is no longer supported -- reference the following for future scroll themes:
Mozilla is currently working to phase out the APIs used to make this theme work. I will try to maintain each version until that time but eventually there will be no workaround. When that time comes there is a new, but more limited api for applying simple themes to scrollbars. In nightly I am currently using the following userContent.css
:root{
scrollbar-width: thin;
scrollbar-color: rgb(82, 82, 82) rgb(31, 31, 31);
}
Emacs packages, features, files, layers, extensions, auto-loading, require
,
provide
, use-package
… All these terms getting you confused? Let’s clear up
a few things.
Emacs files contains code that can be evaluated. When evaluated, the functions, macros and modes defined in that file become available to the current Emacs session. Henceforth, this will be termed as loading a file.
One major problem is to ensure that all the correct files are loaded, and in the