Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
working on datafruits

Tony Miller mcfiredrill

💭
working on datafruits
View GitHub Profile
View gist:8c741923bf7f5beb75dea0b2697e0612
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreihfmiwagiyrd3a473pt7fprcepau6f2lyuvkbqtwsgkyto7fxmtsq ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
View .vimrc
" use <tab> for trigger completion and navigate to the next complete item
function! s:check_back_space() abort
let col = col('.') - 1
return !col || getline('.')[col - 1] =~ '\s'
endfunction
inoremap <silent><expr> <tab>
\ pumvisible() ? "\<C-n>" :
View radio.liq
2020/03/22 05:45:36 [protocol.process:4] Processing osb,curl -sL "https$(colon)//vj.datafruits.fm/hls/datafruits-44.ts" -o $(output)
2020/03/22 05:45:36 [lang:4] Executing curl -sL "https://vj.datafruits.fm/hls/datafruits-44.ts" -o "/tmp/liq-process3d060e.osb"
2020/03/22 05:45:36 [lang.run_process:4] Starting process
2020/03/22 05:45:36 [lang.run_process:4] Closing process's stdin
2020/03/22 05:45:36 [lang.run_process:4] Process exited with code 0
2020/03/22 05:45:36 [lang.run_process:4] Cleaning up process 2020/03/22 05:45:36 [lang.run_process:4] Starting process
2020/03/22 05:45:36 [lang.run_process:4] Closing process's stdin
2020/03/22 05:45:37 [lang.run_process:4] Process exited with code 0
2020/03/22 05:45:37 [lang.run_process:4] Cleaning up process
2020/03/22 05:45:37 [decoder:4] Trying method "META" for "/tmp/liq-process3d060e.osb"...
View keybase.md

Keybase proof

I hereby claim:

  • I am mcfiredrill on github.
  • I am freedrull (https://keybase.io/freedrull) on keybase.
  • I have a public key ASBw30dy4XU6FVDimimKAw4SpjJ9xhAyNZsHdHlgMA3Ocgo

To claim this, I am signing this object:

View gist:8c5ef2e15ca0038ab65c72d6c527c994
2019/10/21 16:17:17 [lang:3] on_track
2019/10/21 16:17:17 [lang:3] url: https://datafruits.streampusher.com/publish_metadata.json
Certificate[1] subject=/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
Certificate[1] issuer =/O=Digital Signature Trust Co./CN=DST Root CA X3
SSL: rejecting connection - error=20
2019/10/21 16:17:17 [lang:3] status: ("Internal error", 999, "Internal error")
2019/10/21 16:17:17 [lang:3] headers: []
2019/10/21 16:17:17 [lang:3] data: Error while processing request: SSL read() error: error:00000000:lib(0):func(0):reason(0)
2019/10/21 16:17:17 [lang:3] protocol: Internal error
2019/10/21 16:17:17 [lang:3] response code: 999
View metadata_channel.ex
[error] GenServer #PID<0.397.0> terminating
** (RuntimeError) Expected handle_info to return one of:
{:noreply, Socket.t} |
{:noreply, Socket.t, timeout | :hibernate} |
{:stop, reason :: term, Socket.t} |
got {:no_reply, %Phoenix.Socket{assigns: %{}, channel: Chat.MetadataChannel, channel_pid: #PID<0.397.0>, endpoint: Chat.Endpoint, handler: Chat.UserSocket, id: nil, join_ref: "1", joined: true, private: %{log_handle_in: :debug, log_join: :info}, pubsub_server: Chat.PubSub, ref: nil, serializer: Phoenix.Socket.V1.JSONSerializer, topic: "metadata", transport: :websocket, transport_pid: #PID<0.394.0>}}
(phoenix) lib/phoenix/channel/server.ex:409: Phoenix.Channel.Server.handle_result/2
View metadata_channel.ex
[error] GenServer #PID<0.664.0> terminating
** (FunctionClauseError) no function clause matching in Chat.MetadataChannel.handle_info/2
(chat) web/channels/metadata_channel.ex:13: Chat.MetadataChannel.handle_info({:redix_pubsub, #PID<0.665.0>, #Reference<0.3467860231.2808610818.72062>, :subscribed, %{channel: "metadata"}}, %Phoenix.Socket{assigns: %{}, channel: Chat.MetadataChannel, channel_pid: #PID<0.664.0>, endpoint: Chat.Endpoint, handler: Chat.UserSocket, id: nil, join_ref: "138", joined: true, private: %{log_handle_in: :debug, log_join: :info}, pubsub_server: Chat.PubSub, ref: nil, serializer: Phoenix.Socket.V1.JSONSerializer, topic: "metadata", transport: :websocket, transport_pid: #PID<0.394.0>})
(phoenix) lib/phoenix/channel/server.ex:304: Phoenix.Channel.Server.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:711: :gen_server.handle_msg/6
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:redix_pubsub, #PID<0.665.0>,
View gist:ef8d7819d4db9e94452646009df6d176
2019/07/11 03:17:45 [protocol.process:4] Processing mp3,curl -sL "https$(colon)//streampusher.s3.amazonaws.com/datafruits/Sadkeysantafruits.mp3" -
o $(output)
2019/07/11 03:17:45 [protocol.process:4] Executing curl -sL "https://streampusher.s3.amazonaws.com/datafruits/Sadkeysantafruits.mp3" -o "/tmp/liq-
process4da4f2.mp3"
2019/07/11 03:17:45 [sandbox:5] Command: curl -sL "https://streampusher.s3.amazonaws.com/datafruits/Sadkeysantafruits.mp3" -o "/tmp/liq-process4da
4f2.mp3"
2019/07/11 03:17:45 [lang.run_process:4] Starting process
2019/07/11 03:17:45 [lang.run_process:4] Closing process's stdin
2019/07/11 03:17:54 [lang.run_process:4] Process exited with code 0
2019/07/11 03:17:54 [lang.run_process:4] Cleaning up process
View tunein.liq
# https://forum.sourcefabric.org/discussion/15711/liquidsoap-tunein-com-now-playing-implementation/p1
# Submit now playing metadata to tunein.com.
# usage:
# %include "tunein.liq"
# s = on_track(tunein.submit(partnerid="ppppid",partnerkey="ppppkey",stationid="s123456"), s)
# Requires parterId, partnerKey and stationId. See http://tunein.com/broadcasters/api/.
# @category Interaction
# @param ~partnerid Set to supplied parterId.
# @param ~partnerkey Set to supplied partnerKey.
View gist:656b19f43102c42363b54829c884e3ed
$ 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".