Skip to content

Instantly share code, notes, and snippets.

package com.rsvalerio.spring;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import org.atteo.classindex.ClassIndex;
import org.springframework.beans.factory.ObjectFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.embedded.FilterRegistrationBean;
import org.springframework.context.MessageSource;
platforms:
- name: EL
versions:
- all
- 5
- 6
- 7
- name: GenericUNIX
versions:
- all
GVCast - Pod cast do geracao de valor
http://geracaodevalor.com/gvcast/site/index
Empreendedorismo
NerdCast
http://jovemnerd.com.br/categoria/nerdcast/
Humor/Geek
Inglês na ponta da língua
http://www.inglesnapontadalingua.com.br/category/podcast
@rsvalerio
rsvalerio / ansible-galaxy-local
Created August 19, 2015 03:45
Shortcut to run playbooks wihtout the need of -i 'localhost,'
#!/bin/bash
ansible-playbook "$1" -i 'localhost,'
@rsvalerio
rsvalerio / pom.xml
Last active August 29, 2015 14:20
maven quality report config example
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.pmenos.ecommerce</groupId>
<artifactId>exportacao</artifactId>
<name>exportacao_ecommerce</name>
<packaging>jar</packaging>
@rsvalerio
rsvalerio / main.yml
Created April 18, 2015 01:10
ansible Java 1.7 openjdk
---
- name: Install Java 1.7
yum: name=java-1.7.0-openjdk state=present
@rsvalerio
rsvalerio / restful.txt
Last active October 11, 2016 15:07
O que é Restfull
Http Specification
http://www.w3.org/Protocols/HTTP/1.0/spec.html
Dr. Tesis creating restfull
https://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm
Restfull Maturity Level
http://www.crummy.com/writing/speaking/2008-QCon/act3.html
Martin fowler explaining Restfull Maturity Level
@rsvalerio
rsvalerio / .editorconfig
Created February 11, 2015 23:00
editor config
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*.java]
indent_style = space
indent_size = 4
@rsvalerio
rsvalerio / Package Control.sublime-settings
Last active August 29, 2015 14:13
package-sublime-config
/**
* Created with gist plugin
*/
{
"auto_upgrade_last_run": null,
"in_process_packages":
[
],
"installed_dependencies":
[
@Configuration
@EnableWebMvcSecurity
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
@Bean
public ServiceProperties serviceProperties() {
ServiceProperties serviceProperties = new ServiceProperties();
serviceProperties.setService("https://localhost:8443/cas-sample/j_spring_cas_security_check");
serviceProperties.setSendRenew(false);
return serviceProperties;