Skip to content

Instantly share code, notes, and snippets.

Finnian Anderson developius

Block or report user

Report or block developius

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
developius / Dockerfile
Created Nov 4, 2017
ffmpeg + opencv dockerfile
View Dockerfile
FROM python:2.7
RUN apt-get update -qy && apt-get install -qy libmp3lame-dev libopenjpeg-dev pkg-config yasm libav-tools libspeex-dev libtheora-dev libvorbis-dev libx264-dev
RUN wget
RUN tar xvjf ffmpeg-3.4.tar.bz2
WORKDIR /root/ffmpeg-3.4
developius / Dockerfile
Last active May 9, 2018 — forked from alexellis/Dockerfile
Sentiment Analysis function for FaaS
View Dockerfile
FROM python:2.7-alpine
RUN pip install textblob
RUN python -m textblob.download_corpora
ADD /usr/bin
RUN chmod +x /usr/bin/fwatchdog
WORKDIR /root/
View gist:f5d3089fdf80563c33095cff1d9867bd
Verifying that +developius is my blockchain ID.
developius / .bashrc
Last active Jun 1, 2016 — forked from popey456963/.bashrc
Bash RC File
View .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
developius / compare.js
Last active Dec 7, 2015
Node vs PHP vs Python
View compare.js
console.log("--- Node.js ---");
var a = "";
var b = "wrong";
var reg = /(?:(?:\r\n)?[ \t])*(?:(?:(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)?[ \t])*))*@(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*))*|(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)?[ \t])*)*\<(?:(?:\r\n)?[ \t])*(?:@(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?
developius / debugging.func.php
Last active Oct 22, 2015
Useful PHP debugging functions
View debugging.func.php
This code is licensed under the Apache 2.0 license available here:
function debug($a) {
if (is_string($a) || is_int($a)) {
echo $a."<br>";
else {
echo "<pre>";
echo "</pre>";
developius / mac.bash_login
Created Jul 30, 2015
Preferred ~/.bash_login config
View mac.bash_login
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/mysql/bin
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
alias ls='ls -GFh'
developius /
Last active Nov 23, 2019
Setup SSH keys for use with GitHub/GitLab/BitBucket etc

Create a new repository, or reuse an existing one.

Generate a new SSH key:

ssh-keygen -t rsa -C ""

Copy the contents of the file ~/.ssh/ to your SSH keys in your GitHub account settings.

Test SSH key:

developius /
Created Mar 24, 2015
Recursively enter all sub directories of current directory and run git pull in them
for x in `ls`; do cd $x && git pull && cd ../; done
developius / GitHub-stats.js
Created Mar 23, 2015
jQuery functions to get data about a GitHub repository
View GitHub-stats.js
jQuery.githubUser = function(username, callback) {
jQuery.githubRepoContributors = function(username, repo, callback) {
jQuery.githubOrgMembers = function(org,callback){
jQuery.getJSON('' + org + '/public_members?callback=?',callback)
You can’t perform that action at this time.