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
https://pythonhosted.org/Flask-CMS/ | |
http://flask.pocoo.org/snippets/114/ | |
http://quokkaproject.org/ | |
http://in.pycon.org/funnel/2014/205-building-a-cms-in-flask | |
https://github.com/Opentaste/bombolone/ |
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
https://stormpath.com/blog/part-one-flask-authentication-problem/ | |
http://flask-stormpath.readthedocs.org/en/latest/ | |
http://blog.miguelgrinberg.com/post/restful-authentication-with-flask | |
https://github.com/miguelgrinberg/Flask-HTTPAuth | |
https://flask-login.readthedocs.org/en/latest/ | |
http://pythonhosted.org/Flask-OAuth/ | |
http://stackoverflow.com/questions/17512572/rauth-flask-how-to-login-via-twitter | |
http://www.shea.io/facebook-authentication-for-flask-apps/ | |
https://github.com/lingthio/Flask-User |
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
https://github.com/may-day/olap | |
http://bkanuka.com/articles/python-connect-to-olap/ | |
http://mondrian.pentaho.com/documentation/installation.php | |
https://github.com/olap4j/olap4j | |
http://stackoverflow.com/questions/3793215/query-olap-mondrian-mdx-xmla-with-a-python-interface | |
https://research.cip.cgiar.org/docs/mondrian/Tutorial_Mondrian.pdf | |
http://lists.pentaho.org/pipermail/mondrian/2014-October/004999.html | |
http://maxrohde.com/2011/04/27/large-war-file-cannot-be-deployed-in-tomcat-7/ | |
http://pentaho.dlpage.phi-integration.com/mondrian/mysql-foodmart-database | |
https://github.com/ThoughtWorksInc/mondrian-xmla-spike |
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
#install pip | |
sudo apt-get install python-pip | |
# | |
pip install SQLAlchemy |
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
mkdir -p /path/to/somewhere/hostbdir | |
sshfs user@hostb:/path/to/some/dir/on/hostb /path/to/somewhere/hostbdir | |
# to unmount it you can do | |
fusermount -u /path/to/somewhere/hostbdir | |
# http://www.linuxquestions.org/questions/linux-software-2/how-does-one-make-a-virtual-ssh-directory-4175424521/ |
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
# instalacao no ubuntu | |
apt-get install git | |
# iniciar git no diretorio | |
git init | |
# relaciona um repositorio remoto ao diretorio "origin" | |
git remote add origin [email protected]:account/repository_name.git | |
# puxa a branch "master" do repositorio para o diretorio "origin" |
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
# The code below will read all the game information for you. | |
# On each game turn, information will be available on the standard input, you will be sent: | |
# -> the total number of visible enemies | |
# -> for each enemy, its name and distance from you | |
# The system will wait for you to write an enemy name on the standard output. | |
# Once you have designated a target: | |
# -> the cannon will shoot | |
# -> the enemies will move | |
# -> new info will be available for you to read on the standard input. | |
""" |
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
/** | |
* Based on Parse.FacebookUtils. A provider for use the modified openFB in Parse. | |
* @author Fernando Felix do Nascimento Junior* | |
**/ | |
(function(root) { | |
root.Parse = root.Parse || {}; | |
var Parse = root.Parse; | |
var _ = Parse._; | |
var PUBLIC_KEY = "*"; |
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
Hello World |
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
/** | |
* Retorna o valor de um parametro da url | |
* @param name Nome do parametro | |
* @ref http://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript | |
**/ | |
function getParameter(name) { | |
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); | |
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), | |
results = regex.exec(location.search); | |
return results === null ? null : decodeURIComponent(results[1].replace(/\+/g, " ")); |