Skip to content

Instantly share code, notes, and snippets.

View s4y's full-sized avatar

Sidney San Martín s4y

View GitHub Profile

Keybase proof

I hereby claim:

  • I am s4y on github.
  • I am sidney (https://keybase.io/sidney) on keybase.
  • I have a public key ASBp5LKpIbVFwWgRwWcqwjcL3yKJqAQI7sITdhMy16KKrAo

To claim this, I am signing this object:

@s4y
s4y / capture_hls.md
Last active July 23, 2024 22:02
Capture an HLS stream from the beginning with ffmpeg
ffmpeg -live_start_index -99999 -i 'https://….m3u8' -c copy something.ts

The app has been fixed in a few seconds but it seems like it doesn't work with the other person who is the first person in a world that has a lot more than one person in my room I think that it's not an issue but I don't want it either but it doesn't work at the moment and then it looks good and it works great and I love the way you are in my life and you have a great day to make a good one more time and a good idea of the app but I still have a notification notification and notifications for the app is not an issue but I don't want it either but it doesn't work at the moment and then it looks good and it works great and I love the way you are in my life

@s4y
s4y / gif.bash
Last active September 21, 2016 18:05
Little shell script to make a (nice-looking!) animated gif from a video with ffmpeg.
#!/bin/bash
set -euo pipefail
if [[ $# < 1 || $# > 2 ]]; then
echo "usage: $0 input.mov [filtergraph]" 1>&2
exit 1
fi
infile="$1"; shift
outfile="${infile%.*}.gif"
function curried(fn) {
function curry(prevArgs) {
return function (...inArgs) {
const args = prevArgs.concat(inArgs);
if (args.length >= fn.length) {
return fn(...args);
}
return curry(args);
};
}
@s4y
s4y / editor.md
Last active April 14, 2018 10:45
A tiny little text editor that you can type as a URL

Simplest

data:text/html,<body contenteditable>

Monospace font, spell checking off

data:text/html,<body spellcheck=false style="font: 16px monospace" contenteditable>

URL updates as you type

@s4y
s4y / keybase.md
Created October 26, 2015 20:24
DEVEL PROOF

Keybase proof

I hereby claim:

  • I am sidnicious on github.
  • I am potato (https://keybase.io/potato) on keybase.
  • I have a public key is ASDTX2oyybeG_W9qAeEabhkPoS6z4CVGI57aXU1u_TGzxAo

To claim this, I am signing this object:

@s4y
s4y / keybase.md
Created October 20, 2015 20:30
DEVEL PROOF

Keybase proof

I hereby claim:

  • I am Sidnicious on github.
  • I am potato (https://keybase.io/potato) on keybase.
  • I have a public key whose fingerprint is 1CD3 2E3C 469D 0CBB 4DE8 AE50 60C7 152C 5E2C D5CE

To claim this, I am signing this object: