Skip to content

Instantly share code, notes, and snippets.

View jbfink's full-sized avatar
💭
we have statuses now? is this AOL?

John Fink jbfink

💭
we have statuses now? is this AOL?
View GitHub Profile
{
"_type": "snscrape.modules.twitter.Tweet",
"url": "https://twitter.com/globeandmail/status/1607049543732056064",
"date": "2022-12-25T16:24:03+00:00",
"content": "China’s COVID-19 surge raises odds of new coronavirus mutant emerging https://t.co/9vNRtSn2E1",
"renderedContent": "China’s COVID-19 surge raises odds of new coronavirus mutant emerging theglobeandmail.com/world/article-…",
"id": 1607049543732056000,
"user": {
"_type": "snscrape.modules.twitter.User",
"username": "globeandmail",
*.aux
*.bbl
*.bcf
*.blg
*.dvi
*.log
*.pdf
*.xml
*.synctex.gz
*.fdb_latexmk
<!DOCTYPE html><html lang="en" data-ng-app="app" data-ng-controller="siteController" data-ng-cloak="" class="no-js" xmlns:og="http://opengraphprotocol.org/schema/"><head prefix="og: http://ogp.me/ns#">
<meta charset="utf-8">
<title>{{meta().metatags['og:title'] }} | {{meta().metatags['og:site_name']}} | University of Waterloo</title>
<base href="/digital-pedagogy-institute/">
<meta name="fragment" content="!">
<meta name="robots" content="{{meta().metatags['robots']}}">
<meta name="keywords" content="{{meta().metatags['keywords']}}">
<meta name="news_keywords" content="{{meta().metatags['news_keywords']}}">
<meta name="description" content="{{meta().metatags['description']}}">
@jbfink
jbfink / gist:5673348
Created May 29, 2013 19:58
hadoop errors
13/05/29 15:56:01 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
13/05/29 15:56:02 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
13/05/29 15:56:03 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
13/05/29 15:56:04 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
13/05/29 15:56:05 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:54310. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
13/05/29
\documentclass{article}
\usepackage{pgfplots}
\begin{filecontents*}{data.csv}
a,b,c,d
1,4,5,1
2,3,1,5
3,5,6,1
4,1,4,9
5,3,4,7
\end{filecontents*}
['{"csrf_token":"ab1a6504f2266e58c2c83d77f049883a9b06784c61ad7518b4ead42bd47fc781","product_attributes":{"sku":"1432","upc":null,"weight":null,"base":false,"image":null,"price":{"without_tax":{"formatted":"$5.25","value":5.25,"currency":"CAD"},"tax_label":"Tax"},"stock":0,"stock_message":"Out of stock","out_of_stock_behavior":"label_option","out_of_stock_message":"Out of stock","available_modifier_values":[188,189,190,191,192],"in_stock_attributes":[188,190,191],"instock":false,"purchasable":true,"purchasing_message":"The selected product combination is currently unavailable."}}']
['\n var BCData = {"csrf_token":"ab1a6504f2266e58c2c83d77f049883a9b06784c61ad7518b4ead42bd47fc781","product_attributes":{"sku":"1432","upc":null,"weight":null,"base":false,"image":null,"price":{"without_tax":{"formatted":"$5.25","value":5.25,"currency":"CAD"},"tax_label":"Tax"},"stock":0,"stock_message":"Out of stock","out_of_stock_behavior":"label_option","out_of_stock_message":"Out of stock","available_modifier_values":[188,189,190,191,192],"in_stock_attributes":[188,190,191],"instock":false,"purchasable":true,"purchasing_message":"The selected product combination is currently unavailable."}};\n
import board
import random
import time
from digitalio import DigitalInOut, Direction
PRESS3 = DigitalInOut(board.BUTTON_3)
PRESS2 = DigitalInOut(board.BUTTON_2)
PRESS1 = DigitalInOut(board.BUTTON_1)
PRESS_JOYSTICK = DigitalInOut(board.SWITCH_PRESS)
def convert(number):
numberoutput = ""
if number % 3 == 0:
numberoutput = numberoutput + "Pling"
if number % 5 == 0:
numberoutput = numberoutput + "Plang"
if number % 7 == 0:
numberoutput = numberoutput + "Plong"
print(numberoutput)
import board
import random
import time
from digitalio import DigitalInOut, Direction
PRESS3 = DigitalInOut(board.BUTTON_3)
PRESS_JOYSTICK = DigitalInOut(board.SWITCH_PRESS)
def light():