Skip to content

Instantly share code, notes, and snippets.

View heat's full-sized avatar
🌚
Working from home

Onezino Moreira heat

🌚
Working from home
View GitHub Profile
@d6y
d6y / kalgn-enum-planets.scala
Last active January 15, 2021 21:17
Planets Example using Klang DIY Enum
/*
The Oracle Java enum Planets example using the Klang DIY Enum, modified to include ordering.
*/
object KlangEnumPlanets extends App {
trait Enum { //DIY enum type
import java.util.concurrent.atomic.AtomicReference //Concurrency paranoia
type EnumVal <: Value //This is a type that needs to be found in the implementing class
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active May 7, 2024 01:27
A badass list of frontend development resources I collected over time.
@heat
heat / gist:1177150
Created August 28, 2011 20:07
last sub-header richfaces style change
<style>
.tabela-alterada .rich-table-subheader th:last-child {
background-color : #fff;
}
</style>
<rich:panel header="teste">
<rich:dataTable value="#{reBeam.alunos}" var="aluno" styleClass="tabela-alterada" >
<f:facet name="header">
<rich:columnGroup>