Skip to content

Instantly share code, notes, and snippets.

View mcfiredrill's full-sized avatar
💭
working on datafruits

Tony Miller mcfiredrill

💭
working on datafruits
View GitHub Profile
$ 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: "https://registry.yarnpkg.com/ember-route-action-helper/-/ember-route-action-helper-2.0.7.tgz: 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".
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/
2-lists^map/1-0-',2,[{file,\"lib/enum.ex\"},{line,1184}]},{'Elixir.Enum','-map/2-lists^map/1-0-',2,[{fi
le,\"lib/enum.ex\"},{line,1184}]},{'Elixir.Supervisor.Spec',supervise,2,[{file,\"lib/supervisor/spec.ex
\"},{line,169}]},{'Elixir.Supervisor',start_link,2,[{file,\"lib/supervisor.ex\"},{line,284}]},{applicat
ion_master,start_it_old,4,[{file,\"application_master.erl\"},{line,273}]}]}}}}}"}
2019-04-06T07:01:43.994969+00:00 app[web.1]:
2019-04-06T07:01:45.265422+00:00 app[w
streampusher.com/users/auth/soundcloud/callback
saveImage(signedId){
let image;
const finishSavingImage = (upload) => {
image = this.get('store').createRecord('image', { upload: upload });
this.set(image, 'file', signedId);
image.save().then(() => {
upload.get('images').pushObject(image);
this.set('upload', upload);
});
☯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
mcfiredrill / file0.txt
Last active December 8, 2017 02:02
handy git aliases for resolving rebase/merge conflicts ref: https://qiita.com/mcfiredrill/items/56dd435c910ef59d2c51
$ git rebase origin/master
# あ、コンフリクトしちゃった
$ git edit-unmerged # コンフリクトしてるファイル$EDITORで開く
$ git add-unmerged # コンフリクトしてるファイルをgit addする
$ git continue-rebase # rebaseを進む
@mcfiredrill
mcfiredrill / .gitconfig
Created September 16, 2017 03:09
cool git aliases
☯tony@okirakugokiraku☯ ~$ cat .gitconfig
[user]
email = mcfiredrill@gmail.com
name = Tony Miller
[color]
ui = true
[core]
excludesfile = /home/tony/.gitignore_global
[alias]
s = status
@mcfiredrill
mcfiredrill / gist:4951364
Last active September 15, 2017 22:52
retrieving metadata from icecast streams for an html5 audio player
possible solutions
===================
1. On the server side, make a request to the stream with this request header:
Icy-MetaData:1
This will return a response header like this:
icy-metaint:8192
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.
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
2017-02-25T00:10:33.515636+00:00 app[web.1]: FetchError: request to https://datafruits.streampusher.com/scheduled_shows/next.json 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)