Skip to content

Instantly share code, notes, and snippets.


Julian Frumar jfrumar

  • GroupAhead
  • San Francisco
View GitHub Profile
staltz /
Last active Nov 26, 2021
The introduction to Reactive Programming you've been missing
tzmartin /
Last active Nov 26, 2021
m3u8 stream to mp4 using ffmpeg

1. Copy m3u8 link

Alt text

2. Run command

echo "Enter m3u8 link:";read link;echo "Enter output filename:";read filename;ffmpeg -i "$link" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 $filename.mp4

How to setup AWS lambda function to talk to the internet and VPC

I'm going to walk you through the steps for setting up a AWS Lambda to talk to the internet and a VPC. Let's dive in.

So it might be really unintuitive at first but lambda functions have three states.

  1. No VPC, where it can talk openly to the web, but can't talk to any of your AWS services.
  2. VPC, the default setting where the lambda function can talk to your AWS services but can't talk to the web.
  3. VPC with NAT, The best of both worlds, AWS services and web.
victorzen / Flexible Form
Last active Apr 22, 2021
Allows you to place form fields anywhere on the page
View Flexible Form
    * Do not remove this section; it allows our team to troubleshoot and track feature adoption. 
    * TS:0002-08-042
  lp.jQuery(document).ready(function($) {
    //Change #lp-pom-box-01, etc. for the IDs of the boxes where you want the form fields to display.
    var boxes = ["#lp-pom-box-01",
alloy / gist:4952606
Last active Aug 19, 2020
Upload iOS application for clients on their iTunes Connect account.
View gist:4952606

Obviously, the simplest solution would be for the client to share their account details or add us as ‘team admin’, but that is not what this is about.


  1. [Add us to your iOS Developer Program as ‘team member’.][1]
  2. [Create a ‘Distribution Certificate’, if you haven’t got one already.][2]
  3. [Create a ‘App Store Distribution Provisioning Profile’.][3]
  4. [Export the ‘Distribution Certificate’ assets and send the export and password to us.][4] (For security sake, it’s a good idea to send us the password via other means than the exported certificate. E.g. by phone/SMS.)