Skip to content

Instantly share code, notes, and snippets.

View FMCalisto's full-sized avatar
🎲
Researching

Francisco Maria Calisto FMCalisto

🎲
Researching
View GitHub Profile
@pedroreissantos
pedroreissantos / DbaseClean.java
Last active March 13, 2016 20:09
Exemplos de introdução aos componentes do projeto (Engenharia de Software, IST, 2016)
/*
* DbaseClean
* Drop a database, if exists, and create a new empty one.
* Collect database info from a resource file.
*
* When using embeded in an application must be called outside a transaction
* (@Atomic) or connection to the same database server!
*
* javac DbaseClean.java
* java -cp mysql-connector-java-5.1.38.jar:. DbaseClean
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.1.*",
"doctrine/dbal": "^2.5"
@pedroreissantos
pedroreissantos / fenix-framework-jvstm-ojb.properties
Last active February 24, 2016 20:36
Setup do projeto )Engenharia de Software, IST, 2016)
# using special INFER_APP_NAME to do just that
appName=INFER_APP_NAME
# FIXME: replace DBASE USER PASSWD
dbAlias=//localhost:3306/DBASE?useUnicode=true&characterEncoding=UTF-8&clobCharacterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
dbUsername=USER
dbPassword=PASSWD
var Col = require('react-bootstrap/lib/Col')
var PageHeader = require('react-bootstrap/lib/PageHeader')
var React = require('react')
var Row = require('react-bootstrap/lib/Row')
var {connect} = require('react-redux')
var {reduxForm} = require('redux-form')
var DateInput = require('./DateInput')
var FormField = require('./FormField')
var LoadingButton = require('./LoadingButton')
@nylki
nylki / char-rnn recipes.md
Last active August 1, 2026 05:16
char-rnn cooking recipes

do androids dream of cooking?

The following recipes are sampled from a trained neural net. You can find the repo to train your own neural net here: https://github.com/karpathy/char-rnn Thanks to Andrej Karpathy for the great code! It's really easy to setup.

The recipes I used for training the char-rnn are from a recipe collection called ffts.com And here is the actual zipped data (uncompressed ~35 MB) I used for training. The ZIP is also archived @ archive.org in case the original links becomes invalid in the future.

<build>
<plugins>
<plugin>
<!--
Generates JAXWS classes for all of the WSDL files in $[project.base.dir}/src/wsdl.
-->
<groupId>org.jvnet.jax-ws-commons</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>2.3</version>
<executions>
@mpellegrini
mpellegrini / maven-jaxws-plugin_withClientJar.xml
Last active November 3, 2016 19:51
Generate WSDL First using -clientjar option. Also unzips the modified artifacts to be packaged in the WAR
<build>
<plugins>
<plugin>
<!--
Generates JAXWS classes for all of the WSDL files in $[project.base.dir}/src/wsdl.
-->
<groupId>org.jvnet.jax-ws-commons</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>2.3</version>
<executions>
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 31, 2026 19:44
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@SQiShER
SQiShER / UpdateEnvironmentPlist.sh
Created May 17, 2012 16:46
Two simple commands to resolve problems with Maven installed via Homebrew
defaults write ~/.MacOSX/environment.plist M2_HOME `brew --prefix maven`/libexec
defaults write ~/.MacOSX/environment.plist M2 `brew --prefix maven`/libexec/bin