Skip to content

Instantly share code, notes, and snippets.

View anacrolix's full-sized avatar
🏹
Pew pew

Matt Joiner anacrolix

🏹
Pew pew
View GitHub Profile
@loderunner
loderunner / osx-ld.md
Last active November 16, 2024 01:36
potential blog posts

ld – Wading through Mac OS X linker hell

Intro

Friend: I tried looking at static linking in Mac OS X and it seems nearly impossible. Take a look at this http://stackoverflow.com/a/3801032

Me: I have no idea what that -static flag does, but I'm pretty sure that's not how you link to a library. Let me RTFM a bit.

Minutes later...

@steven2358
steven2358 / ffmpeg.md
Last active November 11, 2024 04:45
FFmpeg cheat sheet
@anacrolix
anacrolix / go-mod.md
Last active March 5, 2019 01:07
Helpful resources for moving libp2p and IPFS repos toward go mod support

Prune local tags that don't exist on remote

All "naked" version tags from gx are now prefixed with gx/. The old ones should be removed from local checkouts to avoid repushing. This command removes local tags that don't exist on the remote.

git fetch --prune <remote> '+refs/tags/*:refs/tags/*'

Travis turd template

This template does CI for both gx and go-mod:

@HartS
HartS / player.html
Created January 7, 2024 11:01
Chromecast subtitle player
<head>
<!-- Edit myvideo.mp4 and mysubtitles.srt to reference your filenames -->
<link href="https://vjs.zencdn.net/8.6.1/video-js.css" rel="stylesheet" />
<!-- If you'd like to support IE8 (for Video.js versions prior to v7) -->
<!-- <script src="https://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script> -->
</head>
<body>
<video