Name | Width in characters | Width in picas |
---|---|---|
Dolores Hidalgo Cuna de la Independencia Nacional | 49 | 23.154 |
San Martin Texmelucan de Labastida | 34 | 16.596 |
Santo Domingo de los Colorados | 30 | 14.61 |
Tultitlan de Mariano Escobedo | 29 | 13.566 |
Apatzingan de la Constitucion | 29 | 13.308 |
Madinat as Sadis min Uktubar | 28 | 13.278 |
Soledad de Graciano Sanchez | 27 | 13.704 |
Zhangjiakou Shi Xuanhua Qu | 26 | 13.116 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# %% | |
import textwrap | |
import matplotlib.pyplot as plt | |
import seaborn as sns | |
import pandas as pd | |
import numpy as np | |
# %% | |
def random_from_distribution(a, b, number_of_sigma=3, as_int=True): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%% | |
from selenium import webdriver | |
from selenium.webdriver.common.by import By | |
from webdriver_manager.chrome import ChromeDriverManager | |
#%% | |
driver = webdriver.Chrome(ChromeDriverManager().install()) | |
# Set up driver | |
driver.implicitly_wait(10) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! python3 | |
""" | |
Update (pull) all branches. | |
This is unsafe/may fail if you've been developing locally, so you need to clean | |
up your local env, and commit all your changes before you press this button. | |
""" | |
imports_worked = False | |
module_not_found_error_message = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph G { | |
// rankdir=LR; // Delete the slashes if you prefer this to run left to right | |
// Spread it out a bit | |
// size = "8.33,16.66!"; // 1200x600 at 72px/in, "!" to force | |
size = "9,20!"; // 1200x600 at 72px/in, "!" to force | |
ratio = "fill"; // see https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:ratio | |
// 8143: Master of Architecture |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$logpath = "c:\Servicing\weblog.txt" | |
$dtfmt = 'yyyy-mm-dd HH:mm:ss.ff' | |
$trigerTime = [System.DateTime]::UtcNow.tostring($dtfmt) # Could be $(Get-Date -AsUTC -Format $dtfmt ) in never versions of PS | |
function gather { | |
$adapters = Get-WmiObject -class win32_networkadapterconfiguration | where-object { $null -ne $_.DefaultIPGateway } | Select DNSDomain, IPAddress, MACAddress, Description, DefaultIPGateway | |
$result = New-Object -TypeName psobject -Property @{ | |
user = $env:username | |
triggeredat = $trigerTime | |
adapters = $adapters |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%% | |
from numpy import NaN # NaN means not a number | |
import pandas as pd | |
#%% | |
price_df = pd.read_excel( | |
"price_history_checks_may2021.xlsx", parse_dates=["PriceUpdatedDate"] | |
) | |
price_df.head() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ed_name | source | ||
---|---|---|---|
0 | edition_11 | medium | |
1 | edition_11 | nytimes | |
2 | edition_11 | selfhacked | |
3 | edition_11 | medium | |
4 | edition_11 | forbes | |
5 | edition_11 | firstround | |
6 | edition_11 | nytimes | |
7 | edition_11 | medium | |
8 | edition_11 | medium |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>fp_Ben-Doherty</title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM | |
<img | |
src="https://pantograph-punch.com/system/rich/rich_files/rich_files/000/005/042/m/mad-20-26-20thoughtful-3.jpg" | |
alt="The image that should be here isn't downloading 😥" | |
data-ref="ce14997b-4245-4712-b997-a72df10e2d14" | |
> | |
TO | |
<img | |
alt="" | |
data-rich-file-id="5042" |
NewerOlder