Skip to content

Instantly share code, notes, and snippets.

View dugagjin's full-sized avatar
🤠

Dugagjin Lashi dugagjin

🤠
View GitHub Profile
@trvswgnr
trvswgnr / compress_video
Last active November 12, 2024 21:17
portable shell script to compress videos with ffmpeg
#!/bin/sh
print_usage() {
echo "usage: compress_video <input_file>"
echo "supported formats: mp4, webm, mkv, mov, avi, flv"
}
get_extension() {
f="${1##*/}"
case "$f" in
@cympfh
cympfh / NeuralNetwork.js
Last active February 1, 2017 15:27
ニューラルネットワークの実装
/*
Neural network
「パターン認識と機会学習」上巻
p.246
5.3.2 "単純な例"
を実装したもの
合ってるかそんな自信ないだけど
パラメータ初期値ゼロから始めるとゼロのまま動かない (そもそもその挙動は正しい?)
@jed
jed / LICENSE.txt
Created May 20, 2011 13:27 — forked from 140bytes/LICENSE.txt
generate random UUIDs
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE