Skip to content

Instantly share code, notes, and snippets.

View theo-armour's full-sized avatar
💭
happy

Theo Armour theo-armour

💭
happy
View GitHub Profile
@getaaron
getaaron / irs-get-human.md
Created April 1, 2024 23:01
Get a person at the IRS
  • Call 1-800-829-1040
  • Press 1 for English (or other language as desired)
  • Press 2 for personal tax
  • Press 1 for form / tax history
  • Press 3 for other
  • Press 2 for other
  • Ignore 2 SSN prompts till you get secret other menu
  • Press 2 for personal tax
  • Press 3 for other
  • Wait for agent!
@afomi
afomi / jsonlines.py
Last active January 27, 2019 05:51
jsonlines blender test
import json
import bpy
import bmesh
def createLine(name, pointList, thickness):
bpy.ops.mesh.primitive_plane_add(size=2, view_align=False, enter_editmode=False, location=(0, 0, 0))
obj = bpy.context.object
me = obj.data
bpy.ops.object.editmode_toggle()
bm = bmesh.from_edit_mesh(me)
@stubailo
stubailo / fetch-graphql.js
Created September 5, 2017 08:15
Call a GraphQL API with fetch
require('isomorphic-fetch');
fetch('https://1jzxrj179.lp.gql.zone/graphql', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ query: '{ posts { title } }' }),
})
.then(res => res.json())
.then(res => console.log(res.data));
@cecilemuller
cecilemuller / index.html
Last active January 4, 2023 16:04
Record three.js to WebM video using CCapture.js
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Record WebGL to WebM (Chrome only)</title>
<meta charset="utf-8">
<link rel="stylesheet" href="styles.css" charset="utf-8">
</head>
<body>
<div class="buttons">
@chinchang
chinchang / xmlToJson.js
Last active September 7, 2023 02:39
Function to convert XML to JSON
/**
* Changes XML to JSON
* Modified version from here: http://davidwalsh.name/convert-xml-json
* @param {string} xml XML DOM tree
*/
function xmlToJson(xml) {
// Create the return object
var obj = {};
if (xml.nodeType == 1) {
@theo-armour
theo-armour / 00 TA GHMD Cheatsheet.md
Last active October 10, 2017 04:55
TA GHMD Cheatsheet.md

Header Tags

#Header 1 ##Header 2 ###Header 3 ####Header 4

Bold and Italics Bold Italicize or italicize

@jasonrudolph
jasonrudolph / 00-about-search-api-examples.md
Last active August 1, 2024 19:26
5 entertaining things you can find with the GitHub Search API