Skip to content

Instantly share code, notes, and snippets.

👍
Facebooking!

Randall Bennett randallb

👍
Facebooking!
Block or report user

Report or block randallb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:f44941974671165e638d9ab905644772
{"option_id": "1929378277129389_1929394570461093", "user_id": "2148457595194358"}
View read this.md

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,

View gist:03d9ef92bea4f578dac29985a00aaddd
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
View gist:d1c8c03001791aac0d349ee247e0f67f
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
View gist:e66d5e75d0efc67cbc6547810f4695b7
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
View gist:451887ebf40ca7a9f43f7936d8b89997
# 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; "
View gist:5207292481b6098a2fc12aa0f87a8011
// bad i think?
function currentUserStream () {
return Rx.Observable.create((o) => {
const fn = () => {
o.next(Math.random());
};
setInterval(fn, 250);
}).take(11).share();
}
View gist:f5c07af6136c15d691776aabfc3fd95a
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
View gist:5a08574f0d5db54b7d4c
aptitude update
aptitude install libboost-all-dev
aptitude install libboost-all-dev librabbitmq1 libopencv-core2.4 libopencv-highgui2.4 opencv-data libglibmm-2.4-1c2a libvpx1 libsoup2.4-1 libelfg0 libcdparanoia0 libvisual-0.4-0 libegl1-mesa libegl1-x11 libwayland-client0 libwayland-egl1-mesa libwayland-egl1 libaa1 libavc1394-0 libcaca0 libcairo-gobject2 libdv4 libflac8 libgudev-1.0-0 libiec61883-0 libjack-jackd2-0 libjack-0.116 libshout3 libtag1c2a libwavpack1 libpulse0 liba52-0.7.4 libcdio13 libdvdread4 libmad0 libmpeg2-4 libopencore-amrnb0 libopencore-amrwb0 libsidplay1 libtwolame0 libavresample2 libopenjpeg5 libhogweed2 libvo-aacenc0 libvo-amrwbenc0 libgme0 libkate1 libmimic0 libmjpegutils-2.1-0 libmms0 libmodplug1 libmpeg2encpp-2.1-0 libmpg123-0 libass4 libbs2b0 libchromaprint0 libdca0 libfaad2 libflite1 libfluidsynth1 libgme0 libkate1 libmimic0 libmjpegutils-2.1-0 libmms0 libmodplug1 libmpeg2encpp-2.1-0 libmpg123-0 librsvg2-2 libsbc1 libsoundtouch0 libspandsp2 libwebp5 libwildmidi1 libzbar0 libgupnp-i
@randallb
randallb / gist:03481e6281baf4b9e911
Last active Oct 13, 2015
Install kms 6 (probably)
View gist:03481e6281baf4b9e911
aptitude update
aptitude install libboost-all-dev
aptitude install libboost-all-dev librabbitmq1 libopencv-core2.4 libopencv-highgui2.4 opencv-data libglibmm-2.4-1c2a libvpx1 libsoup2.4-1 libelfg0 libcdparanoia0 libvisual-0.4-0 libegl1-mesa libegl1-x11 libwayland-client0 libwayland-egl1-mesa libwayland-egl1 libaa1 libavc1394-0 libcaca0 libcairo-gobject2 libdv4 libflac8 libgudev-1.0-0 libiec61883-0 libjack-jackd2-0 libjack-0.116 libshout3 libtag1c2a libwavpack1 libpulse0 liba52-0.7.4 libcdio13 libdvdread4 libmad0 libmpeg2-4 libopencore-amrnb0 libopencore-amrwb0 libsidplay1 libtwolame0 libavresample2 libopenjpeg5 libhogweed2 libvo-aacenc0 libvo-amrwbenc0 libgme0 libkate1 libmimic0 libmjpegutils-2.1-0 libmms0 libmodplug1 libmpeg2encpp-2.1-0 libmpg123-0 libass4 libbs2b0 libchromaprint0 libdca0 libfaad2 libflite1 libfluidsynth1 libgme0 libkate1 libmimic0 libmjpegutils-2.1-0 libmms0 libmodplug1 libmpeg2encpp-2.1-0 libmpg123-0 librsvg2-2 libsbc1 libsoundtouch0 libspandsp2 libwebp5 libwildmidi1 libzbar0 libgupnp-i
You can’t perform that action at this time.