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;
}
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
@ECHO off | |
:top | |
CLS | |
ECHO Choose a shell: | |
ECHO [1] cmd | |
ECHO [2] bash | |
ECHO [3] PowerShell | |
ECHO [4] Python | |
ECHO. | |
ECHO [5] restart elevated |
Link embed : <link href="https://fonts.googleapis.com/css?family=Dancing+Script|Itim|Lobster|Montserrat:500|Noto+Serif|Nunito|Patrick+Hand|Roboto+Mono:100,100i,300,300i,400,400i,500,500i,700,700i|Roboto+Slab|Saira" rel="stylesheet"> | |
Specify in CSS : | |
/* | |
font-family: 'Montserrat', sans-serif; | |
font-family: 'Roboto Slab', serif; | |
font-family: 'Roboto Mono', monospace; | |
font-family: 'Nunito', sans-serif; | |
font-family: 'Noto Serif', serif; | |
font-family: 'Lobster', cursive; |
Create .mintty folder with subfolder themes in c:\Users\< >
Example:
C:\Users\sandeep\.mintty\themes
Download '.minttyrc' files from https://github.com/iamthad/base16-mintty and add them to themes folder.
having a web server turned on doesn't necessarily mean you are serving pages on the world wide web. its what allows you to load your own static files (.html
, .js
etc.) in a browser via http://
.
if you're not sure whether or not you have a web server running, no problem! its easy to confirm.
convert -density 256x256 -background transparent favicon.svg -define icon:auto-resize -colors 256 favicon.ico |
%% Imported from https://upload.wikimedia.org/wikipedia/commons/3/32/Blank_US_Map.svg | |
%% Translated to TikZ using Inkscape 0.48 | |
\tikzset{USA map/.cd, | |
state/.style={fill, draw=white, ultra thick}, | |
HI/.style={}, AK/.style={}, FL/.style={}, NH/.style={}, MI/.style={}, MI/.style={}, VT/.style={}, ME/.style={}, RI/.style={}, NY/.style={}, PA/.style={}, NJ/.style={}, DE/.style={}, MD/.style={}, VA/.style={}, WV/.style={}, OH/.style={}, IN/.style={}, IL/.style={}, CT/.style={}, WI/.style={}, NC/.style={}, DC/.style={}, MA/.style={}, TN/.style={}, AR/.style={}, MO/.style={}, GA/.style={}, SC/.style={}, KY/.style={}, AL/.style={}, LA/.style={}, MS/.style={}, IA/.style={}, MN/.style={}, OK/.style={}, TX/.style={}, NM/.style={}, KS/.style={}, NE/.style={}, SD/.style={}, ND/.style={}, WY/.style={}, MT/.style={}, CO/.style={}, ID/.style={}, UT/.style={}, AZ/.style={}, NV/.style={}, OR/.style={}, WA/.style={}, CA/.style={}} | |
\tikzset{ | |
every state/.style={USA map/state/.style={#1}}, | |
HI/.style={USA map/HI/.style={#1}}, AK/. |
#! /usr/bin/env python | |
""" Convert values between RGB hex codes and xterm-256 color codes. | |
Nice long listing of all 256 colors and their codes. Useful for | |
developing console color themes, or even script output schemes. | |
Resources: | |
* http://en.wikipedia.org/wiki/8-bit_color | |
* http://en.wikipedia.org/wiki/ANSI_escape_code |