Skip to content

Instantly share code, notes, and snippets.

View RGkevin's full-sized avatar
🎯
Focusing

Kevin López RGkevin

🎯
Focusing
View GitHub Profile
@RGkevin
RGkevin / output
Created March 3, 2017 08:27 — forked from rxaviers/output
List of all JavaScript timezones (date.toString()) on linux node.js
/usr/share/zoneinfo/Hongkong
> Wed Jan 01 2014 00:00:00 GMT+0800 (HKT)
> Mon Sep 01 2014 00:00:00 GMT+0800 (HKT)
/usr/share/zoneinfo/Pacific/Easter
> Wed Jan 01 2014 00:00:00 GMT-0500 (EASST)
> Mon Sep 01 2014 00:00:00 GMT-0600 (EAST)
/usr/share/zoneinfo/Pacific/Norfolk
> Wed Jan 01 2014 00:00:00 GMT+1130 (NFT)
@RGkevin
RGkevin / animation.sass
Last active October 17, 2015 07:41
Fade in and Fade out between pages javascript
$fading-time: 250ms
$fading-shown-opacity: 100
$fading-hidden-opacity: 0
// $className
body.fade
opacity: $fading-hidden-opacity
transition-duration: $fading-time
transition-property: opacity
var t = 2000;
var o1 = $('#id-1');
var o2 = $('#id-2');
o2.fadeOut(10);
setTimeOut(function() {
o1.fadeOut(350);
o2.fadeIn(250);
}, t);
@RGkevin
RGkevin / main.html
Created May 28, 2015 11:12
ng template
<script type="text/ng-template" id="main.html">
<div class="row">
<div class="col-sm-3">
<div class="banner-info">
<div class="banner-info-header">
<h5 class="title">Overall Ranking</h5>
<div class="rg-counter-big" rg-count="overall.rank"></div>
</div>
<div class="banner-info-box">
<p>Overall ranking assessed compared to other healthcare organizations across VHA and UHC membership.</p>
@RGkevin
RGkevin / list
Created May 28, 2015 10:17
list
#IMAGE_PREFIX#novation/js/dm_dashboard/vendor/jquery.min.js
#IMAGE_PREFIX#novation/js/dm_dashboard/vendor/angular.min.js
#IMAGE_PREFIX#novation/js/dm_dashboard/vendor/angular-route.min.js
#IMAGE_PREFIX#novation/js/dm_dashboard/vendor/angular-sanitize.min.js
#IMAGE_PREFIX#novation/js/dm_dashboard/vendor/countUp.min.js
#IMAGE_PREFIX#novation/js/dm_dashboard/vendor/highcharts.js
#IMAGE_PREFIX#novation/js/dm_dashboard/vendor/highcharts-more.js
#IMAGE_PREFIX#novation/js/dm_dashboard/vendor/exporting.js
#IMAGE_PREFIX#novation/js/dm_dashboard/scripts/app.js
#IMAGE_PREFIX#novation/js/dm_dashboard/scripts/controllers/main.js
@RGkevin
RGkevin / fixed-temo
Created May 8, 2015 20:49
Position fixed inside fixed
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Foo</title>
<style>
.wrapper {
position: fixed;
transform: translate(-50%, -50%);
@RGkevin
RGkevin / ng-elements-picker-single
Created February 24, 2015 23:38
ng-elements-picker-single
.ng-elements-picker .title-section {
border: 1px solid #ededed;
border-top-width: 0;
background-color: white;
text-align: left;
padding: 10px;
font-weight: bold;
color: #61cfb9;
}
@RGkevin
RGkevin / ng-elements-picker-with-bootstrap
Created February 24, 2015 23:36
ng elements picker with bootstrap
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/kevinlopez\/Development\/Kipo_Business_Web_Application\/app\/lib\/sass-bootstrap\/lib\/_normalize\.scss}line{font-family:\0000322}}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
@RGkevin
RGkevin / auth.js
Created February 10, 2015 22:12
auth service
'use strict';
angular.module('kipoApp')
.service('Auth', [
'Restangular',
'$cookieStore',
'ReportsSession',
function (
Restangular,
$cookieStore,
@RGkevin
RGkevin / test-link.js
Created April 10, 2014 23:12
test-links.js