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
@mcfiredrill
mcfiredrill / SDL Audio.cpp
Created April 3, 2024 18:26 — forked from andraantariksa/SDL Audio.cpp
SDL simple record and playback
#include <SDL.h>
#include <cstdio>
#include <iostream>
#include <string>
#include <cstring>
#include <sstream>
#include <ctime>
const int MAX_RECORDING_DEVICES = 10;
#!/bin/bash
# usage:
#
# ./podcast_vid.sh <image or video> <mp3>
#
#
# options
# - loop video
@mcfiredrill
mcfiredrill / working_offline.md
Created August 26, 2023 16:34
working offline

recently i lost internet connection at home for about a week. forced me to remember some ways to work offline

copy files over ssh with scp (do this pretty often even when internet is working

scp file tony@192.168.0.43:./path/

git push and pull to other computers on same network

git remote add

Wish I could just work on some basic aspect of daily life through software development, and improve it a bit.
Like the bar is so incredibly low.
I remember the last time I went to a laundromat in the states, the machines had fancy touch screens with wifi,
but they couldn't accept card payments. You still had to buy separate detergent.
import Component from '@glimmer/component';
import { action } from '@ember/object';
import { inject as service } from '@ember/service';
import { tracked } from '@glimmer/tracking';
export default class TransitionComponentComponent extends Component {
@service router;
@tracked term;
@action
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/
" 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>" :
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"...

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:

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