Skip to content

Instantly share code, notes, and snippets.

mburst /
Created Apr 21, 2020
Add Coffin Dancing Meme and Astronomia To Any Short Video
from moviepy.editor import VideoFileClip, AudioFileClip, concatenate_videoclips
dropstart = 19
audio = AudioFileClip('astronomia.mp3')
dance = VideoFileClip('dance.mp4')
clip = VideoFileClip('fail.mp4')
audiostart = max(0, dropstart-clip.duration)
audio = audio.subclip(audiostart, dropstart + dance.duration)
finalclip = concatenate_videoclips([clip, dance], method="compose").set_audio(audio)
mburst / rss_reader.php
Created Mar 24, 2013
RSS Feed Reader in PHP
View rss_reader.php
<title>RSS Feed Reader</title>
//Feed URLs
$feeds = array(
mburst / astar.rb
Created Feb 24, 2013
Ruby A* implementation
View astar.rb
require 'priority_queue'
require 'set'
class Node
def initialize(x, y)
@x = x
@y = y
@obstacle = false
@g_score = Float::INFINITY
from bitarray import bitarray
import mmh3
class BloomFilter:
def __init__(self, size, hash_count):
self.size = size
self.hash_count = hash_count
self.bit_array = bitarray(size)
View jquery_autocomplete.html
<!DOCTYPE html>
<title>jQuery Autocomplete</title>
#res {
margin: 0px;
padding-left: 0px;
width: 150px;