Skip to content

Instantly share code, notes, and snippets.

View FantomJAC's full-sized avatar

Shotaro Uchida FantomJAC

  • SF Bay Area, California
View GitHub Profile
@FantomJAC
FantomJAC / update-jfx.sh
Created December 4, 2013 23:40
A rootfs tool for OpenJFX8 custom sdk build.
#!/bin/bash
#
# Copyright (c) 2013 Shotaro Uchida <fantom@xmaker.mx>
#
# 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 Software is
# furnished to do so, subject to the following conditions:
@FantomJAC
FantomJAC / openjfx8-armv7hf-beagleboard.patch
Last active December 30, 2015 07:39
Beagleboard(armv7hf) build patch for OpenJFX8 (b118)
diff -r 25d3cad95e8b build.gradle
--- a/build.gradle Thu Nov 28 08:49:58 2013 -0800
+++ b/build.gradle Wed Dec 04 15:35:16 2013 -0800
@@ -1128,8 +1128,8 @@
if (IS_COMPILE_PANGO) {
// TODO: embedded support
- addNative(project, "fontFreetype", ["linux"])
- addNative(project, "fontPango", ["linux"])
+ addNative(project, "fontFreetype", ["linux", "armv7hf"])
@FantomJAC
FantomJAC / gist:6007794
Created July 16, 2013 11:07
適当JSON
import java.nio.CharBuffer;
import java.util.HashMap;
import java.util.Map;
public class Parser {
public static final char START_OBJECT = '{';
public static final char KEY = ':';
public static final char VALUE = ',';
public static final char END_OBJECT = '}';
@FantomJAC
FantomJAC / oatuh2-dev-note
Created September 1, 2012 10:42
Restlet OAuth2.0 draft30 extension development note.
OAuth 2.0 draft30 Note.
1.7. HTTP Redirections
* We use '307 Temporary Redirect' via #redirectTemporary method generally.
1.8. Interoperability
* TBD: Client implementations.
2. Client Registration
* ClientStore has 2 methods to specify client type(confidential/public).