Skip to content

Instantly share code, notes, and snippets.

@f3r
f3r / README.md
Created February 17, 2016 10:31 — forked from KonradIT/readme.md
GoPro Studio for Linux

####GoPro Protune correction, timelapse assembling, fisheye removal, slow motion, 4:3 to 16:9 and motion blur in Linux OS - GoPro Studio for Linux - KDEnlive, FFMPEG, ImageMagick, Mencoder and Python!

GoPro Studio has been tremendously useful for GoPro users, but not all GoPro users can enjoy the tool, there is no GoPro Studio for Linux. So some users made their ways to emulate GoPro Studio on Linux.

This guide is more than GoPro Studio, is a must read guide for Linux and GoPro users.

The main features of GoPro Studio are:

  • Convert and edit Protune footage and apply Protune effect.
  • Convert 4:3 footage to 16:9
  • Slow motion
// http://mathworld.wolfram.com/MultiplicativePersistence.html
var prod = function(num){
return num.toString().split('').reduce(function(prev, cur){
return prev*cur;
})
}
var mp = function(num) {
if (num < 10) { return 0 }
else { return 1 + mp(prod(num)) }
@f3r
f3r / wdi-project-cli.rb
Last active November 4, 2015 02:57
WDI Project CLI
# WDI PROJECT CLI
# Clone or Reset a bunch of WDI projects automatically
#
# Author: [email protected]
# General Assembly Hong Kong
$github_org = "wdi-hk-9"
$projects = %w(
Project-SushiMeAway
@f3r
f3r / .jsbeautifyrc
Created October 15, 2015 02:15
.jsbeautifyrc - beautifier configuration file for sublimeText3
{
// The plugin looks for a .jsbeautifyrc file in the same directory as the
// source file you're prettifying (or any directory above if it doesn't exist,
// or in your home folder if everything else fails) and uses those options
// along the default ones.
// Details: https://github.com/victorporof/Sublime-HTMLPrettify#using-your-own-jsbeautifyrc-options
// Documentation: https://github.com/einars/js-beautify/
"html": {
"allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg"],
@f3r
f3r / jsbeautifyrc.md
Last active October 15, 2015 02:24
SublimeText3 | HTML,CSS,JS code formatter via node.js

Beautify Your Code in SublimeText3

HTML-CSS-JS Prettify is a SublimeText3 package that will help you automatically indent and format your HTML, CSS, JavaScript and Json files with one click.

Installation

  1. Install node.js
  2. Open Sublime Text 3
  3. Install Sublime Package
  • Ctrl+Shift+P or Cmd+Shift+P in Linux/Windows/OS X
  • Type install, select Package Control: Install Package
@f3r
f3r / pre-commit
Last active April 8, 2023 10:01
Git pre-commit to validate HTML, CSS and JS
#!/bin/sh
#
# Run validations before commit
#
# - HTML: https://github.com/htacg/tidy-html5
# - CSS: https://github.com/CSSLint/csslint
# - JS: http://jshint.com/docs/cli/
#
# Author: [email protected]
@f3r
f3r / tidy-html5-installer.sh
Last active June 26, 2018 10:03
Tidy-HTML5 Installer for mac
#!/bin/sh
#
# HTML Tidy with HTML5 support
# https://github.com/htacg/tidy-html5
#
# Available after install at /usr/local/tidy-html
INSTALL_PATH=/tmp/tidy-html5
brew install cmake
git clone [email protected]:htacg/tidy-html5.git $INSTALL_PATH
@f3r
f3r / subl-config.md
Last active October 10, 2015 04:31
Sublime Text 3 Configuration for git

Everybody has terrible commit messages in some point in their life. Sometimes every single day.

Zac Holman

Making a better Git commit

Try to limit using the -m commit flag. git commit -m "A crappy commit message" and use git commit with no flags.

If using the simpler git commit command it should open up sublime text, where you can construct a better commit by following some of these simple steps.

@f3r
f3r / The Technical Interview Cheat Sheet.md
Last active September 2, 2015 03:31 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@f3r
f3r / rbenv.md
Created August 10, 2015 06:26
rbenv installation notes

Installing Ruby

Install rbenv

$ brew update
$ brew install rbenv ruby-build

Paths and Shims