Skip to content

Instantly share code, notes, and snippets.

Patrick Debois jedi4ever

View GitHub Profile
jedi4ever /
Created Jan 13, 2017 — forked from vizath/
SlimerJS on AWS EC2 with webgl support

There is not a lot of doc or posts about making an headless renderer with webgl support. Here are few of my findings

I tried things on Heroku, but I was not able to make anything work.

Next, I tried EC2 t2.micro, only to find out that OpenGL needs a graphic card to execute (sure, there are things like mesa that I didn't tried, but it looked like I needed to build Chrome and I didn't want to go that way).

The only easy solution that I found was AWS EC2 GPU Instances. They are pretty much overpriced for what I'm trying to acheive, but it worked. You need to use an AMI that support the Nvidia GRID thing. eg and its CentOS.

Slimer need Firefox and Firefox need shared libraries that we need to install (we will use a custom repo).

jedi4ever / index.js
Created Dec 6, 2015 — forked from joshhunt/index.js live reload for Apple TV TVML app
View index.js
import 'babel-polyfill';
import firstView from 'views/first';
import * as liveReload from 'lib/liveReload';
App.onLaunch((launchOptions) => {
jedi4ever /
Last active Aug 29, 2015 — forked from mediabounds/
A small bash script to re-sign iOS applications.
# !/bin/bash
# Copyright (c) 2011 Float Mobile Learning
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
#!/usr/bin/env bash
sudo apt-get install libssl-dev
sudo gem install fpm
tar -zxvf ruby-1.9.2-p180.tar.gz
cd ruby-1.9.2-p180
time (./configure --prefix=/usr && make && make install DESTDIR=/tmp/installdir)
cd ..
You can’t perform that action at this time.