By Fred Cohen
I started using httrack in mid-2000 and found it to be an excellent tool for imaging web sites. Various words are used to describe this process -
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv to manually rebuild the font cache
| >>> import pytz | |
| >>> | |
| >>> for tz in pytz.all_timezones: | |
| ... print tz | |
| ... | |
| ... | |
| Africa/Abidjan | |
| Africa/Accra | |
| Africa/Addis_Ababa | |
| Africa/Algiers |
| import requests | |
| import hmac, base64, struct, hashlib, time | |
| import json | |
| # 2FA code generation from https://stackoverflow.com/questions/8529265/google-authenticator-implementation-in-python | |
| def get_totp_token(secret): | |
| key = base64.b32decode(secret, True) | |
| msg = struct.pack(">Q", int(time.time())//30) | |
| h = hmac.new(key, msg, hashlib.sha1).digest() | |
| o = h[19] & 15 |
| // | |
| // Created by Szymon Błaszczyński on 26/08/2021. | |
| // | |
| import Foundation | |
| import MetalKit | |
| import SwiftUI | |
| struct MetalView: NSViewRepresentable { | |
| func makeCoordinator() -> Coordinator { |
| syntax on | |
| set ruler " Show the line and column numbers of the cursor. | |
| set formatoptions+=o " Continue comment marker in new lines. | |
| set textwidth=0 " Hard-wrap long lines as you type them. | |
| set modeline " Enable modeline. | |
| set esckeys " Cursor keys in insert mode. | |
| set linespace=0 " Set line-spacing to minimum. | |
| set nojoinspaces " Prevents inserting two spaces after punctuation on a join (J) | |
| " More natural splits | |
| set splitbelow " Horizontal split below current. |