When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}
# Put this function to your .bashrc file. | |
# Usage: mv oldfilename | |
# If you call mv without the second parameter it will prompt you to edit the filename on command line. | |
# Original mv is called when it's called with more than one argument. | |
# It's useful when you want to change just a few letters in a long name. | |
function mv() { | |
if [ "$#" -ne 1 ]; then | |
command mv "$@" | |
return |
https://github.com/PacktPublishing free to download books code by Packet
https://love2.io Chinese site
# ANSI Start Codes | |
# Styles. | |
Normal="\x1b[0m" | |
Bold="\x1b[1m" | |
Faint="\x1b[2m" | |
Italic="\x1b[3m" | |
Underline="\x1b[4m" | |
Blink_Slow="\x1b[5m" | |
Blink_Rapid="\x1b[6m" |
/* | |
[built-in defaults] | |
a_autoTrim = on | |
a_batchLines = 10ms | |
a_controlDelay = 20 | |
a_coordModeCaret = screen | |
a_coordModeMenu = screen | |
a_coordModeMouse = screen | |
a_coordModePixel = screen | |
a_coordModeToolTip = screen |
/* | |
[built-in defaults] | |
a_autoTrim = on | |
a_batchLines = 10ms | |
a_controlDelay = 20 | |
a_coordModeCaret = screen | |
a_coordModeMenu = screen | |
a_coordModeMouse = screen | |
a_coordModePixel = screen | |
a_coordModeToolTip = screen |
#!/usr/bin/env ruby | |
# Sizes - Calculate and sort all filesizes for current folder | |
# Includes directory sizes, colorized output | |
# Brett Terpstra 2019 WTF License | |
VERSION = "1.0.0" | |
require 'shellwords' | |
# Just including term-ansicolor by @flori and avoiding all the | |
# rigamarole of requiring multiple files when it's not a gem... - Brett |
Instructions courtesy of @chancelionheart:
Access the Settings menu by clicking the Options icon in the upper-right corner of the browser window. It is the icon with three horizontal lines stacked on top of each other. Click on “Settings” near the bottom of the Options menu.
Under the “Search” heading in the Settings menu, click the "Manage search engines" button.
At the bottom of the Search Engines window that comes up, enter the following: Name: Use whatever you like (I used "Webster's Revised 1913+1928 Dictionary") Keyword: Also whatever you like, I just use 'd' for easy access. Url: http://machaut.uchicago.edu/?resource=Webster%27s&word=%s&use1913=on&use1828=on (replaces the search term with %s, what google chrome uses for the query)
### Flatpak Repos | |
List packages on a repo : | |
flatpak remote-ls repon-name --user | |
flatpak remote-ls | |
Install packages : | |
flatpak --user install repo-name package-name io.liri.Platform | |
Flathub: |
@echo off | |
FOR /f "tokens=*" %%i IN ('docker ps -aq') DO docker rm %%i | |
FOR /f "tokens=*" %%i IN ('docker images --format "{{.ID}}"') DO docker rmi %%i |