Skip to content

Instantly share code, notes, and snippets.

View arcadas's full-sized avatar

Peter Perger arcadas

  • Budapest, Hungary
View GitHub Profile
@genekogan
genekogan / _Instructions.md
Last active September 21, 2024 10:33
instructions for generating a style transfer animation from a video

Instructions for making a Neural-Style movie

The following instructions are for creating your own animations using the style transfer technique described by Gatys, Ecker, and Bethge, and implemented by Justin Johnson. To see an example of such an animation, see this video of Alice in Wonderland re-styled by 17 paintings.

Setting up the environment

The easiest way to set up the environment is to simply load Samim's a pre-built Terminal.com snap or use another cloud service like Amazon EC2. Unfortunately the g2.2xlarge GPU instances cost $0.99 per hour, and depending on parameters selected, it may take 10-15 minutes to produce a 512px-wide image, so it can cost $2-3 to generate 1 sec of video at 12fps.

If you do load the

@agendor
agendor / hapijs-rest-api-tutorial.md
Last active August 31, 2021 08:31
A practical introduction to building a RESTful API with the hapi.js server framework for Node.js
@tekiegirl
tekiegirl / navigation.adoc
Last active June 3, 2019 11:15
A neo4j graph gist showing how satellite navigation mapping can be modelled in a graph.

Roads, Nodes and Automobiles

or 'How a sat-nav could use a graph database'


@carelvwyk
carelvwyk / album_export.py
Created November 2, 2013 12:02
Python script to export tagged albums purchased in iTunes on an iPhone to PC. The script will rename purchased tracks from the strange 4837260613109701064.m4a format to human-readable filenames in the form: album artist/album title (year)/trackno - artist - track title.m4a (e.g. 01 - Rammstein - Sonne.m4a). It will also embed the cover art and a…
OUT_DIR = './out'
GROUP_KEY = 'playlistName' # playlistName -> Album Title
# get list of plist files:
import os
import glob
import shutil
import biplist
import mutagen
from mutagen import mp4
@lancejpollard
lancejpollard / node-folder-structure-options.md
Created November 28, 2011 01:50
What is your folder-structure preference for a large-scale Node.js project?

What is your folder-structure preference for a large-scale Node.js project?

0: Starting from Rails

This is the reference point. All the other options are based off this.

|-- app
|   |-- controllers
|   |   |-- admin