html { | |
--crust: #dce0e8; | |
--mantle: #e6e9ef; | |
--base: #eff1f5; | |
--surface0: #ccd0da; | |
--surface1: #bcc0cc; | |
--surface2: #acb0be; | |
--overlay0: #9ca0b0; | |
--overlay1: #8c8fa1; | |
--overlay2: #7c7f93; |
You might have seen the -m
flag used in various python commands online,
or was told by someone else to use python -m
to "run a module as a script",
but didn't really understand what that meant. This gist covers how that flag
is used, particularly in the context of package development.
import os | |
import time | |
import re | |
import subprocess | |
from watchdog.observers import Observer | |
from watchdog.events import FileSystemEventHandler | |
def get_relative_path(path): | |
return os.path.relpath(path) |
package main | |
import ( | |
"flag" | |
"fmt" | |
) | |
func main() { | |
flag.String("a", "", "flag 1") | |
flag.String("b", "", "flag 2") | |
flag.String("c", "", "flag 3") |
KEYMAPOPTS="us us" | |
HOSTNAMEOPTS="-n alpine" | |
INTERFACESOPTS="auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet dhcp | |
hostname alpine | |
" | |
TIMEZONEOPTS="-z UTC" |
NOTE: If you want the ultimate Linux desktop experience, I highly recommend installing Linux as your main OS. I no longer use Windows (except in a VM) so I will not be maintaining this guide anymore.
Think Xfce looks dated? Want a conventional Ubuntu experience? This tutorial will guide you through installing Ubuntu's default desktop environment, GNOME.
GNOME is one of the more complex — and that means more difficult to run — desktop environments, so for years people couldn't figure [o
<VirtualHost *:80> | |
ServerAdmin admin@example.com | |
ServerName example.com | |
ServerAlias www.example.com | |
DocumentRoot /var/www/example | |
ErrorLog ${APACHE_LOG_DIR}/example.com-error.log | |
CustomLog ${APACHE_LOG_DIR}/example.com-access.log combined | |
<Directory /var/www/example/> |