A partial fix is to add new string key to about:config with "widget.content.gtk-theme-override" name and "Adwaita:light" value.
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
# set up docker volume and image (host ~ will be bound to /host) | |
docker volume create devenv | |
mkdir -p ~/.alpine-dev | |
docker run -v ~:/host -it --mount source=devenv,target=/Users/sam/.alpine-dev --name alpine-dev alpine | |
# setup within container: | |
apk add bash | |
ln -fs /bin/bash /bin/sh | |
adduser sam | |
apk add sudo |
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
#[cfg(test)] | |
use std::fmt::Debug; | |
#[cfg(test)] | |
use std::cmp::PartialEq; | |
#[cfg(test)] | |
pub fn assert_iter_eq<T: Iterator, U: ExactSizeIterator>(a: T, b: U) | |
where | |
T: ExactSizeIterator, | |
<T as Iterator>::Item: Debug + PartialEq, |
mobile browsers these days have annoying address bars / toolbars / etc that interfere with the viewport height, so if you have some 100vh
elements they get partially obscured... to get the TRUE height of the viewport use:
Math.min(document.documentElement.clientHeight, window.screen.height, window.innerHeight);
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
require "gcf" | |
class Example < GCF::CloudFunction | |
def run(params : JSON::Any) | |
# your code here | |
end | |
end |
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 gnome extension: https://extensions.gnome.org/extension/118/no-topleft-hot-corner/ |
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 | |
# must be run with sudo, tested with Lenovo X270 on Ubunto 16.04 and 17.10 | |
echo "setting trackpoint speed and sensitivity" | |
set -o noclobber | |
echo "110" >| /sys/devices/platform/i8042/serio1/serio2/speed | |
echo "200" >| /sys/devices/platform/i8042/serio1/serio2/sensitivity | |
exit 0 |
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
export PS1="\[\e[34m\]\W\[\e[m\]\\$ " |
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 | |
sudo apt-get update | |
sudo apt-get install -y libpcsclite1 coolkey pcsc-tools libpcsc-perl libccid pcscd libnss3-tools | |
sudo service pcscd start | |
curl http://militarycac.com/maccerts/AllCerts.zip > ~/DOD_Certs.zip | |
modutil -dbdir sql:/home/`whoami`/.pki/nssdb/ -add "CAC Module" -libfile /usr/lib/pkcs11/libcoolkeypk11.so |
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
# Configure touchpads to use xf86-input-synaptics X input driver | |
Section "InputClass" | |
Identifier "touchpad" | |
MatchIsTouchpad "on" | |
MatchDevicePath "/dev/input/event*" | |
Driver "synaptics" | |
Option "MinSpeed" "0.4" | |
Option "MaxSpeed" "1.0" | |
Option "AccelFactor" "0.0035" |