Skip to content

Instantly share code, notes, and snippets.

@frenchie4111
frenchie4111 / Screeps_Room_Bookmark.js
Last active March 23, 2018 08:59
Adds a room bookmark panel to screeps sidebar
// ==UserScript==
// @name Screeps Room Bookmarks
// @namespace https://screeps.com/
// @version 1.0.0
// @author Mike Lyons, frenchie4111
// @match https://screeps.com/a/*
// @run-at document-idle
// @grant GM_getValue
// @grant GM_setValue
// ==/UserScript==
@frenchie4111
frenchie4111 / download_video.js
Created October 5, 2018 17:08
Download Video from KinesisVideoArchivedMedia
const fs = require( 'fs' );
const AWS = require( 'aws-sdk' ),
moment = require( 'moment' ),
video_stitch = require( 'video-stitch' ),
ffmpeg = require( 'fluent-ffmpeg' );
const start_date = moment().subtract( 1, 'minutes' ).toDate();
const end_date = moment().toDate();