Skip to content

Instantly share code, notes, and snippets.

$ curl -LO http://burntsushi.net/stuff/worldcitiespop.csv
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 144M 100 144M 0 0 5440k 0 0:00:27 0:00:27 --:--:-- 5743k
$ xsv headers worldcitiespop.csv
1 Country
2 City

Keybase proof

I hereby claim:

  • I am wilt00 on github.
  • I am wilt (https://keybase.io/wilt) on keybase.
  • I have a public key ASC2uc6po5-fBfLLsBqxNA0rfv15dicpBQHIC4R_QaEqnQo

To claim this, I am signing this object:

#!/usr/bin/env bash
# Usage:
# ./yistep.sh [filename.yo]
# IMPORTANT!!
# In order to work properly, this script needs to be in the same directory
# as your yis executable
# ---
#!/usr/bin/env python3
""" Docstring """
import argparse
import random
OPTIONS = ["?", "a", "A", "c", "C", "l", "L", "d", "D", "w", "W", "r", "R", "l", "L", "7", "~", ">"]
NAMES = ["Smith", "Jones", "Ivanovich", "Li", "Beiber", "NULL", "0", "Frankenstein", "Skeletor", "", "-1"]
def main():
// ==UserScript==
// @name LinkedIn Hide Invite
// @version 1
// @match *://www.linkedin.com/mynetwork/
// @grant none
// @run-at document-idle
// ==/UserScript==
(function () {
console.log("Started LinkedIn Hide Invite script");
@wilt00
wilt00 / benstagram.html
Last active June 28, 2019 03:01
Benstagram
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html" />
<title>Page Title</title>
<style>
#instagram_feed {
margin: 0;
display: flex;
flex-direction: row;
@wilt00
wilt00 / blog.sh
Created August 8, 2021 01:20
FeedWrangler Feed Adder
#!/bin/bash
# Usage: blog.sh <url>
#
# Add a new feed to a FeedWrangler Smart Stream
# Url input doesn't need to be a link to an RSS document; FeedWrangler will
# figure out if there's a feed available on the page automatically
URL='https://feedwrangler.net/api/v2'
@wilt00
wilt00 / discordgifs.ps1
Last active August 29, 2021 20:16
Find gifs in your Discord cache - WIP
# Tested with Powershell v7.1
# StackOverflow says the behavior of reading bytes from files changed sometime around v5, so
# this script might not work with the version of Powershell that comes with your computer
# https://stackoverflow.com/a/34559554
function New-TemporaryDirectory {
$parent = [System.IO.Path]::GetTempPath()
[string] $name = [System.Guid]::NewGuid()
New-Item -ItemType Directory -Path (Join-Path $parent $name)
}
@wilt00
wilt00 / !weatherping.md
Last active February 5, 2022 02:23
Weatherping

A simple service to check the weather every 15 minutes, and send me a nudge if it's nice out. Uses wttr.in for weather, discord webhooks for notifications, and systemd timers for scheduling.

diff --git a/posts/morse-codle/morse-codle.js b/posts/morse-codle/morse-codle.js
index b426847..78bc82e 100644
--- a/posts/morse-codle/morse-codle.js
+++ b/posts/morse-codle/morse-codle.js
@@ -150,8 +150,7 @@ function getDayOffset() {
const GAME_NUMBER = getDayOffset();
const STEP = 4;
-function share(event) {
- event.preventDefault();