This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-2.0.3.min.js"></script> | |
<!-- https://raw.githubusercontent.com/fernandojunior/prototype_class.js/v1.0.0/prototype_class.min.js --> | |
<script type="text/javascript" src="prototype_class.min.js"></script> | |
<script type="text/javascript"> | |
// needs prototype_class.min.js (https://github.com/fernandojunior/prototype_class.js) and jquery | |
var SaikuUtils = Class.simple_extend({ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//----------------------------------------------------------------------- | |
// Part of the LINQ to JavaScript (JSLINQ) v2.10 Project - http://jslinq.codeplex.com | |
// Copyright (C) 2009 Chris Pietschmann (http://pietschsoft.com). All rights reserved. | |
// This project is licensed under the Microsoft Reciprocal License (Ms-RL) | |
// This license can be found here: http://jslinq.codeplex.com/license | |
//----------------------------------------------------------------------- | |
(function() { | |
JSLINQ = window.JSLINQ = function(dataItems) { | |
return new JSLINQ.fn.init(dataItems); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://stackoverflow.com/questions/3083180/querying-data-with-javascript | |
http://stackoverflow.com/questions/6786307/what-options-are-available-for-client-side-javascript-orm | |
http://www.getbreezenow.com/breezejs | |
- http://jaydata.org/ | |
+- http://zef.me/2774/persistence-js-an-asynchronous-javascript-orm-for-html5gears/ | |
+ http://www.getbreezenow.com/breezejs | |
++ http://jsinq.codeplex.com/ | |
+++ http://jslinq.codeplex.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// author: Fernando Felix do Nascimento Junior | |
// License: The MIT License | |
// example | |
forEach({ | |
data: [1, 2, 3, 4, 5, 6], | |
timeout: 5000, | |
step_by: 2, | |
callback: function (value) { | |
console.log(value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://demo.analytical-labs.com/saiku/serverdocs/rest.html | |
[{ | |
"url": "http://localhost:8080/pentaho/plugin/saiku/api/admin/discover", | |
"type": "get", | |
"description": "Returns the datasources available." | |
}, | |
{ | |
"url": "http://localhost:8080/pentaho/plugin/saiku/api/admin/repository?type=saiku&path=/home/admin/001.saiku", | |
"type": "get", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.saiku.web; | |
import java.net.URL; | |
import java.util.UUID; | |
import junit.framework.TestCase; | |
import org.apache.commons.httpclient.HttpClient; | |
import org.apache.commons.httpclient.UsernamePasswordCredentials; | |
import org.apache.commons.httpclient.methods.GetMethod; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://gist.io/ | |
http://www.roughdraft.io/ | |
http://htmlpreview.github.io/ | |
https://rawgit.com/ | |
http://bl.ocks.org/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script to install Pillow dependencies on Ubuntu based on | |
# https://pillow.readthedocs.org/installation.html#linux-installation | |
# http://askubuntu.com/questions/507459/pil-install-in-ubuntu-14-04-1-lts | |
# http://stackoverflow.com/questions/2967224/gcc-error-trying-to-install-pil-in-a-python2-6-virtualenv | |
# By Fernando Felix do Nascimento Junior | |
# become superuser | |
sudo su |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script based on How to install mongoDB on Ubuntu Tutorial (http://www.mkyong.com/mongodb/how-to-install-mongodb-on-ubuntu/) | |
# By Fernando Felix do Nascimento Junior | |
# become superuser | |
sudo su | |
# add mongodb 10gen package to /etc/apt/sources.list.d | |
touch /etc/apt/sources.list.d/mongo.list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.pentaho.agilebi.modeler.ModelerException: java.lang.NullPointerException | |
at org.pentaho.agilebi.spoon.XulUI.<init>(XulUI.java:76) | |
at org.pentaho.agilebi.spoon.perspective.AgileBiModelerPerspective.createTabForModel(AgileBiModelerPerspective.java:122) | |
at org.pentaho.agilebi.spoon.ModelerHelper.createEmptyModel(ModelerHelper.java:660) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:622) | |
at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) | |
at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) |