Skip to content

Instantly share code, notes, and snippets.

View lucgilr's full-sized avatar

Lucía Gil Román lucgilr

  • VA, Spain
View GitHub Profile
@Sunil02kumar
Sunil02kumar / SK_StopWatch.cmp
Created September 14, 2018 17:01
Lightning Component for Stopwatch
<aura:component >
<aura:handler name="init" value="{! this }" action="{!c.doInit}"/>
<aura:attribute name="ltngCurrTime" type="String" default="00:00:00"/>
<aura:attribute name="ltngIsDisplayed" type="boolean" default="false"/>
<div class="slds-card slds-align_absolute-center" style="width:250px;padding:8px;" >
<div class="slds-grid slds-wrap" >
<div class="slds-col slds-size_1-of-1 slds-align_absolute-center" >
<b>Stopwatch</b>
</div>
@salamander2
salamander2 / hexgame.java
Created December 18, 2012 17:03
Hexagonal Grid in Java
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
/**********************************
This is the main class of a Java program to play a game based on hexagonal tiles.
The mechanism of handling hexes is in the file hexmech.java.
Written by: M.H.
Date: December 2012