Find a previously entered command:
history | grep [command fragment]
and load it on prompt:
![history number]
import plotly.graph_objects as go | |
import plotly.io as pio | |
pio.templates["mike"] = go.layout.Template( | |
{ | |
"data": { | |
"histogram2dcontour": [ | |
{ | |
"type": "histogram2dcontour", | |
"colorbar": { |
Find a previously entered command:
history | grep [command fragment]
and load it on prompt:
![history number]
import time | |
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
# set up driver options | |
options = Options() | |
options.add_argument("--headless") | |
def scroll(driver, timeout): | |
# munged from a handful of google searches |
# PyPoetry | |
pyproject.toml | |
poetry.lock | |
# VS Code | |
.vscode | |
# Environments | |
.env | |
.venv |
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 5.5.3 Kernel Configuration | |
# | |
# | |
# Compiler: gcc (GCC) 9.2.0 | |
# | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=90200 |
gcloud compute instances create [INSTANCE-NAME] --zone=[ZONE] \ | |
--metadata=^,@^serial-port-enable=true \ | |
--image=debian-10-buster-v20200805 \ | |
--image-project=debian-cloud \ | |
--boot-disk-size=200GB \ | |
--create-disk=mode=rw,auto-delete=yes,size=200,name=[DISK-NAME],device-name=[DISK-NAME] |