Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am amstrix on github.
  • I am amstrix (https://keybase.io/amstrix) on keybase.
  • I have a public key ASDkm007pnpQmiSszzEqkGzjYaMzyjG-cPFMiO2lVmeI3wo

To claim this, I am signing this object:

@AMStrix
AMStrix / gist:493989c868dbc55aa87b6fe4cefb9677
Created December 19, 2017 16:56
git repo on s3 for mac setup
https://wiki.eclipse.org/JGit/User_Guide#Taking_JGit_for_a_Spin
http://so-wh.at/entry/2014/11/28/S3%E3%82%92git%E3%81%AE%E3%83%AA%E3%83%A2%E3%83%BC%E3%83%88%E3%83%AA%E3%83%9D%E3%82%B8%E3%83%88%E3%83%AA%E3%81%AB%E3%81%99%E3%82%8B
brew install maven
git clone https://github.com/winebarrel/jgit.git
~/src/jgit$ mvn clean install
cd org.eclipse.jgit.pgm/target/jgit
prompt$ ./jgit version
@AMStrix
AMStrix / jorgfunc.html
Last active December 7, 2017 04:58
Simple function graph implemented in JS/HTML
<!DOCTYPE html>
<html>
<head>
<title>Canvas code example</title>
<script type="text/javascript">
// http://www.javascripter.net/faq/plotafunctiongraph.htm
function fun1(x) {return Math.sin(x); }
function fun2(x) {return Math.cos(3*x);}
@AMStrix
AMStrix / edison-ubilinux-mraa-java
Last active November 24, 2015 06:22
Installation and setup of an Intel Edison with Ubilinux + MRAA + UMP + Java (November 2015)
The MRAA/UMP Java libs come prebuilt with the default distro that Intel provides.
But if you wanna do ubilinux, the following may work.
1) Download Ubilinux and flash to Edison (2 decent guides below)
https://learn.sparkfun.com/tutorials/loading-debian-ubilinux-on-the-edison
http://www.emutexlabs.com/ubilinux/29-ubilinux/218-ubilinux-installation-instructions-for-intel-edison
* Once you have the image loaded with wifi and ssh working, go to step 2 *
2) Manually install Java
a) http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html