Skip to content

Instantly share code, notes, and snippets.

@jedi4ever
jedi4ever / main.cpp
Created April 28, 2021 09:05 — forked from metalinspired/main.cpp
TMC2209 UART
/**
* Author Milan Divkovic
*
* You can control the motor with following commands:
* 0: Disables the motor
* 1: Enables the motor
* + or -: Increase or decrease speed in respect to rotation direction
*/
#include <Arduino.h>
@jedi4ever
jedi4ever / ffmpeg-to-vmix.png
Created April 18, 2021 08:46 — forked from mhanney/ffmpeg-to-vmix.png
Stream webcam and audio source from PC to remote IP address using mpegts encapsulation and encoded with h264 and aac
ffmpeg-to-vmix.png
@jedi4ever
jedi4ever / readme.md
Created January 13, 2017 15:03 — forked from vizath/readme.md
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 https://aws.amazon.com/marketplace/pp/B00FYCDDTE and its CentOS.

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

@jedi4ever
jedi4ever / index.js
Created December 6, 2015 18:07 — forked from joshhunt/index.js
Socket.io live reload for Apple TV TVML app
import 'babel-polyfill';
import firstView from 'views/first';
import * as liveReload from 'lib/liveReload';
App.onLaunch((launchOptions) => {
firstView();
liveReload.connect(launchOptions);
});
@jedi4ever
jedi4ever / floatsign.sh
Last active August 29, 2015 14:26 — forked from mediabounds/floatsign.sh
A small bash script to re-sign iOS applications.
# !/bin/bash
# Copyright (c) 2011 Float Mobile Learning
# http://www.floatlearning.com/
#
# 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
@jedi4ever
jedi4ever / ruby-1.9.2-to-deb.sh
Created April 14, 2011 11:21 — forked from jtimberman/gist:881058
Ruby 1.9 fp- bash
#!/usr/bin/env bash
sudo apt-get install libssl-dev
sudo gem install fpm
wget ftp://ftp.ruby-lang.org//pub/ruby/1.9/ruby-1.9.2-p180.tar.gz
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 ..