Skip to content

Instantly share code, notes, and snippets.

View RemLampa's full-sized avatar
🏠
Working from home

Rem "Kuya Dev" Lampa RemLampa

🏠
Working from home
View GitHub Profile
@RemLampa
RemLampa / machine.js
Created August 18, 2021 13:59
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@RemLampa
RemLampa / sample.json
Last active February 7, 2019 14:44 — forked from YizYah/sample-json.js
Sample JSON for Generating PDF
{
"pageMeta": {
"fileName": "<neighborhood>_<season>.pdf",
"margins": {
"left": "2.54cm",
"right": "2.54cm",
"top": "2.54cm",
"bottom": "2.54cm"
},
"font": "calibri",
@RemLampa
RemLampa / index.html
Created January 13, 2017 09:12
Random Quotes Generator
<div class = "text-center">
<h1 class="quote text-center text-primary"></h1>
<h4 class="author text-muted"></h4>
<button class="quoteButton btn btn-lg btn-default" type="button">Random Quote</button>
</div>
@RemLampa
RemLampa / index.html
Created January 13, 2017 09:12
Pomodoro Clock
<h1 id='title' class='text-primary'>Pomodoro Clock</h1>
<h3 id='status' class='text-muted'></h2>
<div id='timer-wrapper'>
<h1 id='timer' class='text-danger'><span id='minutes'></span>:<span id='seconds'></span></h1></div>
<div id='buttons'>
<button id='start-button' class='clock-control btn btn-lg btn-success'>START</button>
<button id='stop-button' class='clock-control btn btn-lg btn-danger hidden'>STOP</button>
<button id='resume-button' class='clock-control btn btn-lg btn-info hidden'>RESUME</button>
<button id='pause-button' class='clock-control btn btn-lg btn-warning hidden'>PAUSE</button>
</div>
@RemLampa
RemLampa / index.html
Created January 13, 2017 09:11
WikiSearch
<div id='main-wrapper'>
<div id='search-box-wrapper'><input type='text' id='search-box' class='form-control input-lg' placeholder='SEARCH WIKIPEDIA' /></div>
<div id='results-wrapper'></div>
</div>
@RemLampa
RemLampa / index.html
Created January 13, 2017 09:09
Tic-Tac-Toe
<h1 id="title" class="text-primary">Tic Tac Toe</h1>
<div id="options" class="modal fade" role="dialog" tabindex="-1">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Choose Your Side</h4>
</div>
<div class="modal-body">
<p class="lead text-center">Choose: "X" or "O"</p>
@RemLampa
RemLampa / index.html
Last active January 13, 2017 08:55
Simon Game
<div class="container" ng-app="simonApp" ng-controller="MainController">
<div class="row">
<simon-button position="upper-left"></simon-button>
<simon-button position="upper-right"></simon-button>
</div>
<div class="row">
<simon-button position="lower-left"></simon-button>
<simon-button position="lower-right"></simon-button>
</div>
<div id="controls" class="text-center">