Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
import email | |
import imaplib | |
import os | |
SERVER = 'imap.gmail.com' | |
USERNAME = 'EMAIL ADDRESS' | |
PASSWORD = 'PASSWORD' | |
class FetchEmail(): |
@import url(https://fonts.googleapis.com/css?family=Miriam+Libre:400,700&display=swap); | |
a.title { | |
font-family: 'Miriam Libre', Noto Sans CJK SC, Microsoft YaHei, sans-serif, Apple Color Emoji, Segoe UI Emoji!important | |
} | |
#content-wrap#content-wrap .content, | |
#content-wrap#content-wrap .content-inner, | |
#feedTree, | |
body { | |
font-family: Avenir Next, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, PingFang SC, Noto Sans CJK SC, Microsoft YaHei, sans-serif, Apple Color Emoji, Segoe UI Emoji!important |
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
package goddrinksjava; | |
/** | |
* The program GodDrinksJava implements an application that | |
* creates an empty simulated world with no meaning or purpose. | |
* | |
* @author momocashew | |
* @lyrics hibiyasleep | |
*/ | |
Laptop (ThinkPad) Lenovo X1 Carbon 6th Gen (Type 20KH, 20KG)
If you are using your ThinkPad X1G6 with Linux in "Legacy only" mode, there's only one way how to update BIOS - you should use "BIOS Update (Bootable CD)". So this is a step by step guid how to do it.
fwupdmgr get-devices