Skip to content

Instantly share code, notes, and snippets.

working on datafruits

Tony Miller mcfiredrill

working on datafruits
Block or report user

Report or block mcfiredrill

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:e282ac62ba5fb8e673b3d9680ff83f79
$ yarn add ember-route-action-helper --ignore-engines
yarn add v1.15.2
[1/4] Resolving packages...
[2/4] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: " ESOCKETTIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/c/Users/mcfir/src/donationmanager/frontend/yarn-error.log".
View gist:2e0c2127171f0dec82454dd8a51c317d
2019-04-06T07:01:35.460249+00:00 heroku[web.1]: State changed from crashed to starting 2019-04-06T07:01:39.401099+00:00 heroku[web.1]: Starting process with command `elixir -pa _build/prod/consolidated -S mix phx.server`
2019-04-06T07:01:43.994710+00:00 app[web.1]: {"Kernel pid terminated",application_controller,"{application_start_failure,chat,{bad_return,{{'Elixir.Chat',start,[normal,[]]},{'EXIT',{badarg,[{'Elixir.Supervisor.Spec','-supervise/2-fun-0-',1,[{file,\"lib/supervisor/spec.ex\"},{line,169}]},{'Elixir.Enum','-map/
2019-04-06T07:01:43.994969+00:00 app[web.1]:
2019-04-06T07:01:45.265422+00:00 app[w
View saveImage.js
let image;
const finishSavingImage = (upload) => {
image = this.get('store').createRecord('image', { upload: upload });
this.set(image, 'file', signedId); => {
this.set('upload', upload);
View gist:4fd8025d46e9d98712a52d3dd8766579
☯tony@okirakugokiraku☯ ~/Dropbox/freedrull_exclusives/doghouse_EP/firedrill - doghouse EP$ ffmpeg -y -i result.avi -ignore_loop 0 -i ~/Dropbox/blender_stuff/rendered/datacoin.gif -filter_complex "[0][1]overlay=0:H-100" output.mp4
ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
built with Apple LLVM version 9.0.0 (clang-900.0.38)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.0.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libfdk-aac --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-nonfree
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libavresample 4. 0. 0 / 4. 0. 0
mcfiredrill / file0.txt
Last active Dec 8, 2017
handy git aliases for resolving rebase/merge conflicts ref:
View file0.txt
$ git rebase origin/master
# あ、コンフリクトしちゃった
$ git edit-unmerged # コンフリクトしてるファイル$EDITORで開く
$ git add-unmerged # コンフリクトしてるファイルをgit addする
$ git continue-rebase # rebaseを進む
View .gitconfig
☯tony@okirakugokiraku☯ ~$ cat .gitconfig
email =
name = Tony Miller
ui = true
excludesfile = /home/tony/.gitignore_global
s = status
mcfiredrill / gist:4951364
Last active Sep 15, 2017
retrieving metadata from icecast streams for an html5 audio player
View gist:4951364
possible solutions
1. On the server side, make a request to the stream with this request header:
This will return a response header like this:
This supposedly tells you there is a metadata packet in the stream every 8192 bytes.
You could read in the metadata in a program on the server this way, and when it changes,
send a message to the client using SSEs or something.
View gist:15348c2954278fe0e248ac2d22cab637
serial experiments lain - train
Toiret $egatus - 獺祭
organ tapes - XI BA LAN (稀巴烂)
Toiret $egatus - 秋吉台の鍾乳洞
woopheadclrms -AnjoCity
网恋C11 - 幸福的日子
boa - duvet (tv version)
boa - duvet (cyberia mix)
foodman x meuko meuko - wan wan wan
foodman - nagaremasu
View gist:c8c7d55d91b5ea9743669f04d6a28492
2017-02-25T00:10:33.515636+00:00 app[web.1]: FetchError: request to failed, reason: unable to verif
y the first certificate
2017-02-25T00:10:33.515639+00:00 app[web.1]: at ClientRequest.<anonymous> (/app/dist/node_modules/node-fetch/index.js:133:11)
2017-02-25T00:10:33.515640+00:00 app[web.1]: at emitOne (events.js:96:13)
2017-02-25T00:10:33.515640+00:00 app[web.1]: at ClientRequest.emit (events.js:188:7)
2017-02-25T00:10:33.515641+00:00 app[web.1]: at TLSSocket.socketErrorListener (_http_client.js:310:9)
2017-02-25T00:10:33.515642+00:00 app[web.1]: at emitOne (events.js:96:13)
2017-02-25T00:10:33.515642+00:00 app[web.1]: at TLSSocket.emit (events.js:188:7)
2017-02-25T00:10:33.515643+00:00 app[web.1]: at emitErrorNT (net.js:1278:8)
2017-02-25T00:10:33.515644+00:00 app[web.1]: at _combinedTickCallback (internal/process/next_tick.js:74:11)
You can’t perform that action at this time.