- William Torkington
- torkinwill
- Lead Developer
This file contains 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 re | |
def to_snake(pascal:str) -> str: | |
"""Converts a Pascal case string to snake case. | |
""" | |
magic = re.findall('[A-Z]+[a-z]*', pascal) | |
snake = '_'.join(magic) | |
snake = snake.lower() | |
return snake |
This file contains 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
{ | |
"@context": "https://schema.org", | |
"@type": "VideoObject", | |
"name": "Introducing The Feynman.", | |
"description": "Marking our return to Great North Road – and to the greatest of neighbourhoods – The Feynman stands at the nexus of Grey Lynn, Ponsonby, K’ Road and Kingsland. The best of all worlds, here.", | |
"thumbnailUrl": [ | |
"https://www.ockham.co.nz/assets/resized/sm/upload/zt/ns/oh/vj/Feynman_Ext_GtNorth_CamA_Final02-0-2880-0-0.jpg?k=872a4fef2e", | |
"https://www.ockham.co.nz/assets/resized/sm/upload/2p/su/w5/vf/Feynman_Ext_GtNorth_CamC_Final03-0-2880-0-0.jpg?k=5e83a35d1f", | |
"https://www.ockham.co.nz/assets/resized/sm/upload/r3/2n/fy/oi/Feynman_Ext_Roof_Deck_Final02-0-2880-0-0.jpg?k=93b332c1e3" | |
], |
This file contains 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
{ | |
"@context": "https://schema.org", | |
"@type": "HomeAndConstructionBusiness", | |
"image": [ | |
"https://example.com/photos/1x1/photo.jpg", | |
"https://example.com/photos/4x3/photo.jpg", | |
"https://example.com/photos/16x9/photo.jpg" | |
], | |
"name": "Ockham Residential", | |
"currenciesAccepted": "NZD", |
This file contains 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
<article id="definitions" class="content"> | |
<h1>Definitions</h1> | |
<section class="summary" data-class-title="AbstractActivity"> | |
<h1 class="api-title"><a name="/definitions/AbstractActivity"></a>AbstractActivity </h1> | |
<div class="params -properties"> | |
<h2>Properties</h2> | |
<table> |
This file contains 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
<?php // There does not seem to be any documentation for spnet so I thought I would through this up. ?> | |
<?php echo get_post_meta($post->ID, 'spnet_XXXXXX', true); ?> | |
<?php // get_post_meta docs: https://developer.wordpress.org/reference/functions/get_post_meta/ ?> |
I know you're super curious to know who this mysterious Will.torkington is on Wikipedia is. Well, I'm here to tell you that it is infact me, William Torkington. Yes, yes, I know, shock, horror, denial.
I will update this gist with some pages I've edited or created, once I'm proud of any. For the mean time, check out my GitHub page and please give me a job.
This file contains 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
cd ./obs-studio/build/rundir/RelWithDebInfo/bin | |
./obs |
This file contains 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
#xcode-select --install | |
#/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
# This file is shamelessly stolen from the Medium article: | |
# https://medium.com/@jkudo/how-to-use-a-virtual-camera-for-zoom-microsoft-teams-and-google-meet-in-obs-for-macos-2ffc831dd76b | |
# Clone and build OBS | |
git clone --recursive https://github.com/obsproject/obs-studio.git |
I hereby claim:
- I am dubpirate on github.
- I am willtorkington (https://keybase.io/willtorkington) on keybase.
- I have a public key ASCioSAlnSlTGbUGaMkFaYuM5TxspBd9HqJSBPGthzU8rwo
To claim this, I am signing this object:
NewerOlder