This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Very simple script if you have to do this operation quite often, but is not exactly checking a lot of edge cases | |
# USE WITH CARE! | |
# Requires ffmpeg (apt install ffmpeg) | |
# Requires mkvmerge (apt install mkvtoolnix) | |
# Call as ./cut_out_mkv.sh INPUT_FILE.mkv 00:00:10 00:00:15 OUTPUT_FILE.mkv to e.g. | |
# remove 5 seconds from the video starting at the tenth second |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "triangle" | |
version = "0.1.0" | |
authors = ["Mathieu De Coster <mth.decoster@gmail.com>"] | |
[dependencies] | |
sdl2 = "0.30" | |
gl = "0.6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import lasagne as L | |
import theano as T | |
import random | |
import sys | |
def info(info_string): | |
print '[INFO] {}'.format(info_string) | |
def build_network(batch_size, seq_length, vocabulary_size, num_hidden, learning_r): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library webglapp; | |
import 'dart:typed_data'; | |
import 'dart:html'; | |
import 'dart:web_gl'; | |
import 'dart:async'; | |
CanvasElement canvas = document.getElementById("gameCanvas"); | |
RenderingContext gl; |