View WindowsSetup.cmd
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
choco install cmdermini -y | |
choco install git -y | |
choco install putty -y | |
choco install winscp -y | |
choco install awscli -y | |
choco install jdk11 -y | |
choco install jdk8 -y | |
choco install maven -y | |
choco install python -y |
View HashCodeTest.java
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 io.github.rodrik.commons; | |
import java.time.LocalDate; | |
import java.util.Arrays; | |
import org.apache.commons.lang3.builder.CompareToBuilder; | |
import org.apache.commons.lang3.builder.EqualsBuilder; | |
import org.apache.commons.lang3.builder.HashCodeBuilder; | |
import org.junit.Test; | |
import org.junit.runner.RunWith; |
View setup-ubuntu-windows.sh
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 | |
# Install Windows Subsystem for Linux | |
# Install Ubuntu from the Windows Store | |
# Install Hyper | |
# https://hyper.is/ | |
# Edit the config | |
# Find the shell line and change it to shell: 'C:\\Windows\\System32\\bash.exe' | |
# Add Inconsolata to the fonts |
View pom.xml
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
<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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>io.github.rodrik</groupId> | |
<artifactId>spring-boot-was</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>war</packaging> | |
<properties> | |
<java.version>1.6</java.version> | |
</properties> |
View gist:296f99e39c9d055d6a57
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 br.com.gcargo.manager.web.controller.util; | |
import java.awt.Color; | |
import java.awt.image.BufferedImage; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import javax.imageio.ImageIO; | |
import com.lowagie.text.pdf.Barcode128; |