This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table> | |
<thead> | |
<tr> | |
<th>Payment</th> | |
<th>Issue Date</th> | |
<th>Amount</th> | |
<th>Period</th> | |
</tr> | |
</thead> | |
<tbody> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//base font | |
$bf: 16; | |
@mixin bp($bp, $min-max: min-width) { | |
$em: $bp/$bf; | |
@media(#{$min-max}: #{$em}em) { @content; } | |
} | |
//including the mixin | |
.element { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('body').click(function(event) { | |
var el, rfs; | |
if ($('body').hasClass('fullscreen')) { | |
el = document; | |
rfs = el.cancelFullScreen || el.webkitCancelFullScreen || el.mozCancelFullScreen; | |
$('body').removeClass('fullscreen'); | |
} else { | |
el = document.documentElement; | |
rfs = el.requestFullScreen || el.webkitRequestFullScreen || el.mozRequestFullScreen; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// http://eslint.org/docs/rules/ | |
"env": { | |
"browser": true, | |
"es6": true, | |
}, | |
"globals": { | |
"$": true, | |
"jQuery": true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Polyfill for rAF | |
window.requestAnimFrame = (function() { | |
return window.requestAnimationFrame || | |
window.webkitRequestAnimationFrame || | |
window.mozRequestAnimationFrame || | |
function(callback) { | |
window.setTimeout(callback, 1000 / 60); | |
}; | |
})(); |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AD": { | |
"iso": "AD", | |
"iso3": "AND", | |
"numeric": 20, | |
"fips": "AN", | |
"reference": { | |
"geonames": 3041565, | |
"openstreetmap": 9407, | |
"wikipedia": "en:Andorra" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loadData() { | |
this.setState({ | |
...this.state, | |
requestInProgress: true, | |
}); | |
return this.http.get(url).pipe( | |
tap(data => { | |
this.setState({ | |
...this.state, | |
data: data, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sendDailyWisdom() { | |
var FIRST_ROW = 2; | |
var ss = SpreadsheetApp.getActiveSpreadsheet().getSheets()[0]; | |
var rows = ss.getRange(FIRST_ROW, 1, ss.getLastRow(), 1).getValues(); | |
var randomWisdomRow = Math.floor(Math.random() * (rows.length - FIRST_ROW + 1)) + FIRST_ROW; | |
var randomWisdom = ss.getRange(randomWisdomRow, 1).getValue(); | |
var source = ss.getRange(randomWisdomRow, 2).getValue(); | |
var htmlBody = | |
'<div style="width: 500px; font-family: Times New Roman; font-size: 18px;">' + | |
randomWisdom + |
OlderNewer