Skip to content

Instantly share code, notes, and snippets.

@rponte
rponte / using-uuid-as-pk.md
Last active Nov 16, 2021
Não use UUID como PK nas tabelas do seu banco de dados
View using-uuid-as-pk.md

Pretende usar UUID como PK em vez de Int/BigInt no seu banco de dados? Pense novamente...

TL;TD

Não use UUID como PK nas tabelas do seu banco de dados.

Um pouco mais de detalhes

@MWins
MWins / project-ideas01.md
Last active Dec 5, 2021
Back end Projects - list
View project-ideas01.md

Project Ideas

Ok. I'm going to list off some ideas for projects. You will have to determine if any particular idea is good enough to include in a portfolio. These aren't creative ideas. They likely already exist. Some are way too advanced while others are simplistic.

I will recommend to post any project you make to github and make a github project page for it. Explain in as much detail as possible how you made it, how it can be improved etc. Document it.

If you pick an advanced idea, setup a development roadmap and follow it. This will show some project management skills.

Another piece of advice for those who are design challenged. Use different front end frameworks and use different themes for those frameworks to provide appealing designs without looking like yet another bootstrap site.

@afsinka
afsinka / FormView.java
Created Jan 28, 2017
Show PDF Files With PrimeFaces
View FormView.java
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;
@mscharhag
mscharhag / Java8DateTimeExamples.java
Created Feb 24, 2014
Examples for using the Java 8 Date and Time API (JSR 310)
View Java8DateTimeExamples.java
import java.time.*;
import java.time.format.DateTimeFormatter;
import java.time.format.FormatStyle;
import java.time.temporal.ChronoUnit;
import java.time.temporal.TemporalAdjusters;
import java.util.*;
import static java.time.temporal.TemporalAdjusters.*;
public class Java8DateTimeExamples {