Skip to content

Instantly share code, notes, and snippets.

View rrosiek's full-sized avatar

Ryan Rosiek rrosiek

View GitHub Profile
@rrosiek
rrosiek / Dropzone.svelte
Created December 12, 2021 13:52
S3 client direct uploading written in Svelte
<script>
import { createEventDispatcher } from "svelte";
import ButtonSubmit from "../ButtonSubmit.svelte";
import QueueStatus from "./queueStatus";
export let fileCount = 0;
export let status;
let dragActive = false;
let fileSelect;
defmodule Mp4box do
@moduledoc """
Documentation for `Mp4box`.
"""
def parse(file_path) do
Stream.resource(fn -> open_file(file_path) end, &read_next/1, &close_file/1)
|> Stream.filter(&(&1 != nil))
|> Enum.to_list()
|> seek_gpmf
@rrosiek
rrosiek / .eslintrc.yml
Created January 3, 2021 14:44
ESLint configuration
env:
browser: true
es2020: true
plugins:
- fp
- promise
- svelte3
overrides:
@rrosiek
rrosiek / install_mysql.sh
Last active June 5, 2023 07:08
Vagrant provision script for php, Apache, MySQL, phpMyAdmin, Laravel, and javascript helpers. Tested with Ubuntu 16.04.
#! /usr/bin/env bash
###
#
# install_mysql.sh
#
# This script assumes your Vagrantfile has been configured to map the root of
# your application to /vagrant and that your web root is the "public" folder
# (Laravel standard). Standard and error output is sent to
# /vagrant/vm_build.log during provisioning.