AddOn:
- Go to about:support in your address bar
- Look for your profiles directory and open it:
- Create a file named
chrome/userChrome.css
in your profile directory:
#!/usr/bin/env bash | |
shopt -s nullglob | |
lastgroup="" | |
for g in `find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V`; do | |
for d in $g/devices/*; do | |
if [ "${g##*/}" != "$lastgroup" ]; then | |
echo -en "Group ${g##*/}:\t" | |
else | |
echo -en "\t\t" |
######################### | |
# Machine Configuration # | |
######################### | |
{ config, inputs, lib, pkgs, unstable, ... }: | |
{ | |
imports = [ | |
./primary-user-nixos.nix | |
./desktop-apps.nix | |
./desktop-kde.nix |
AddOn:
chrome/userChrome.css
in your profile directory:curl https://nixos.org/nix/install | sh
. ~/.nix-profile/etc/profile.d/nix.sh
nix-env -i direnv
eval "$(direnv hook bash)"
, you will need to add this to .bash_profile
to make it presistantCreate a shell.nix file in your project with the following content. This has python 3.7 and pipenv as buildInputs
#!/bin/bash | |
# | |
# This file echoes a bunch of 24-bit color codes | |
# to the terminal to demonstrate its functionality. | |
# The foreground escape sequence is ^[38;2;<r>;<g>;<b>m | |
# The background escape sequence is ^[48;2;<r>;<g>;<b>m | |
# <r> <g> <b> range from 0 to 255 inclusive. | |
# The escape sequence ^[0m returns output to default | |
setBackgroundColor() |
Merged from https://github.com/joelparkerhenderson/git_commit_message and https://chris.beams.io/posts/git-commit/
Translated to Markdown from this ancient TeX file. I’m not sure who made the original.
Hover over a link to see the place structure. Click it to view gismu info on Wiktionary.
girzu
(group)// On the Last.FM website go to the page which lists the tracks that you have loved. | |
// Open Chrome DevTools (or Firefox or any modern browser that has a built in Javacript Console) | |
// and run the following command. | |
// This basically clicks on all the delete buttons on the page and reloads the page. | |
jQuery('.love-button--loved').each(function(_, b) { | |
b.click(); | |
}); | |
location.reload(); |