Skip to content

Instantly share code, notes, and snippets.

View freshollie's full-sized avatar

Oliver Bell freshollie

View GitHub Profile
from moviepy.editor import *
from itertools import chain
import os
import np
def cut_similar(clipname):
print("Cutting similar from clip: " + clipname)
clip = VideoFileClip("./" + clipname)
times = [[0]]
@freshollie
freshollie / cloudSettings
Created October 29, 2018 10:31
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-10-29T10:31:06.209Z","extensionVersion":"v3.2.0"}
import random
import time
names = ['max austin', 'glenn fellows', 'maryem khan', 'meral osman', 'joe salisbury', 'dan glasse', 'sammie church', 'douglas marriott', 'james doggart', 'rebecca williams', 'will candy', 'maya grozin', 'james evans', 'peter richardson', 'daniel rich', 'grant kempley', 'andrew webb', 'jonathan perry', 'chania baldwin', 'catherine dodds', 'ed van wingerden', 'josh sankey', 'ellen caldwell', 'maddie gordon', 'lewis sanders', 'catherine udy', 'alexa turpin', 'max benning-batstone', 'emily mcdonald', 'anna fleeman', 'ellie garnett', 'mollie parsons', 'timo kiukkanen', 'george pope', 'caspar bailey', 'ryan cole', 'frankie durbin', 'luke doddimeade', 'alex butcher', 'samuel darling', 'sean perkins', 'matthew boxall', 'vanessa elver', 'brendan loughran', 'beatrice firth', 'nicholas brunjes', 'james findlay', 'rosie chauvin', 'daniel downes', 'charlotte wheatley', 'loughborough sno', 'sport team','like', 'lily kyle', 'zhang jane', 'yao ruan', 'megan reilly', 'anthony nutting', 'ciara archbo
package com.freshollie.monkeyboard.keystoneradio.playback;
import android.app.Service;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.graphics.Bitmap;
import android.media.AudioManager;