Skip to content

Instantly share code, notes, and snippets.

View randallb's full-sized avatar
🎬

Randall Bennett randallb

🎬
View GitHub Profile
#!/usr/bin/env zsh
FILE=/tmp/continue_init.sh
NIX_INSTALLER=install_nix.sh
if [ -f "$FILE" ]; then
echo "$FILE exists... so we'll continue from where we left off."
rm $FILE
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// This is a specialised implementation of a System module loader.
"use strict";
// @ts-nocheck
/* eslint-disable */
let System, __instantiate;
(() => {
{"option_id": "1929378277129389_1929394570461093", "user_id": "2148457595194358"}

Money Is Not Wealth

If you want to create wealth, it will help to understand what it is. Wealth is not the same thing as money. [3] Wealth is as old as human history. Far older, in fact; ants have wealth. Money is a comparatively recent invention.

Wealth is the fundamental thing. Wealth is stuff we want: food, clothes, houses, cars, gadgets, travel to interesting places, and so on. You can have wealth without having money. If you had a magic machine that could on command make you a car or cook you dinner or do your laundry, or do anything else you wanted, you wouldn't need money. Whereas if you were in the middle of Antarctica, where there is nothing to buy, it wouldn't matter how much money you had.

Wealth is what you want, not money. But if wealth is the important thing, why does everyone talk about making money? It is a kind of shorthand: money is a way of moving wealth, and in practice they are usually interchangeable. But they are not the same thing, and unless you plan to get rich by counterfeiting,

Sam McMurray,Ron Taylor,Albert Brooks,Albert Brooks,Sam McMurray,Kelsey Grammer,June Foray,Penny Marshall,Paul Willson,Harvey Fierstein,James Earl Jones,Tony Bennett,Daryl Coley,Ken Levine,Tom Poston,Greg Berg,Alex Rocco,Phil Hartman,Larry King,Joey Miyashima,Sab Shimono,George Takei,Diana Tanaka,Jon Lovitz,Phil Hartman,Danny DeVito,Tracey Ullman,Frank Welker,Phil Hartman,Audrey Meadows,Jon Lovitz,Ringo Starr,Dustin Hoffman,Cloris Leachman,Daniel Stern,Michael Jackson,Kipp Lennon,Lona Williams,Neil Patrick Harris,Phil Hartman,Joe Mantegna,Chick Hearn,Magic Johnson,Jon Lovitz,Jackie Mason,Frank Welker,Phil Hartman,Larry McKay,Phil Hartman,Phil Hartman,Sting,Phil Hartman,Phil Hartman,Wade Boggs,Jose Canseco,Roger Clemens,Terry Cashman,Ken Griffey, Jr.,Don Mattingly,Steve Sax,Mike Scioscia,Ozzie Smith,Darryl Strawberry,Steve Allen,Frank Welker,Beverly D\Angelo,Kelsey Grammer,Christopher Guest,Michael McKean,Phil Hartman,Kimmy Robertson,Danny DeVito,Joe Frazier,Phil Hartman,Jon Lovitz,Bob Hope,Lona Williams,Phil
https://le.utah.gov/~2018/bills/static/SB0065.html
(c) "Neglect" does not include:
310 (i) a parent or guardian legitimately practicing religious beliefs and who, for that
311 reason, does not provide specified medical treatment for a child;
312 (ii) a health care decision made for a child by the child's parent or guardian, unless the
313 state or other party to a proceeding shows, by clear and convincing evidence, that the health
314 care decision is not reasonable and informed;
315 (iii) a parent or guardian exercising the right described in Section 78A-6-301.5; or
316 (iv) permitting a child, whose basic needs are met and who is of sufficient age and
So on behalf of our users, I'd like to:
https://developers.google.com/youtube/v3/live/docs/liveBroadcasts/insert
which returns the live chat ID, and the broadcast ID, which I need to use in the next calls.
Then I'd like to continuously poll the api every few seconds for the live chats.
https://developers.google.com/youtube/v3/live/docs/liveChatMessages/list
# to get rid of tunnelss issue
# searchAndDestroy 443
searchAndDestroy() {
sudo lsof -n -i4TCP:$1 | grep LISTEN | awk '{print $2}' | xargs sudo kill -9
echo "Port" $1 "found and killed."
}
alias killTunnels="searchAndDestroy 443"
alias destroyAll="searchAndDestroy 443; searchAndDestroy 6379; searchAndDestroy 5000; searchAndDestroy 5100; searchAndDestroy 5200; searchAndDestroy 5300; searchAndDestroy 5400; "
// bad i think?
function currentUserStream () {
return Rx.Observable.create((o) => {
const fn = () => {
o.next(Math.random());
};
setInterval(fn, 250);
}).take(11).share();
}
@randallb
randallb / gist:f5c07af6136c15d691776aabfc3fd95a
Last active May 25, 2016 13:44
Some x.264 encoding params
8x8dct=1 aq-mode=2 bframes=1 chroma-qp-offset=1 colormatrix=smpte170m deblock=0:0 direct=auto ipratio=1.41 keyint=240 level=3.1 me=hex merange=16 min-keyint=auto mixed-refs=1 no-mbtree=0 partitions=i4x4,p8x8,b8x8 profile=high psy-rd=0.5:0.0 qcomp=0.6 qpmax=51 qpmin=10 qpstep=4 ratetol=10 rc-lookahead=30 ref=1 scenecut=40 subme=5 threads=0 trellis=2 weightb=1 weightp=2