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-container.css v1 */ | |
.table-container{ | |
display: table; | |
height: 100%; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.table-container > *{ | |
display: table-cell; | |
vertical-align: middle; |
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
// getBootstrap4Grid.js v1.2.1 | |
function getBootstrap4Grid( windowWidth = window.outerWidth ){ | |
if( typeof windowWidth == 'string' ){ | |
windowWidth = +windowWidth; | |
}; | |
if( windowWidth == 1 ){ | |
windowWidth = window.outerWidth; | |
windowWidth = ( windowWidth < 576 ) ? windowWidth = 1 : windowWidth; | |
windowWidth = ( windowWidth >= 576 && windowWidth < 768 ) ? windowWidth = 2 : windowWidth; | |
windowWidth = ( windowWidth >= 768 && windowWidth < 992 ) ? windowWidth = 3 : windowWidth; |
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
<!-- eqcss-tests.html v1 --> | |
<!doctype html> | |
<html lang="pt-br"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> |
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
// lightcase-default-options.js v1 | |
$('.is-lightcase').lightcase({ | |
'video': { | |
'width': 16000, | |
'height': 9000, | |
'poster': '', | |
'preload': 'auto', | |
'controls': true, | |
'autobuffer': true, | |
'autoplay': 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
// noty-default-options.json v1 | |
new Noty({ | |
"text": "ABC", | |
"type": "success", | |
"layout": "topRight", | |
"theme": "sunset", | |
"timeout": 5000, | |
"visibilityControl": true | |
}).show(); |
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
// mergeArray.js v1.0.1 | |
function mergeArray(arrayA, arrayB) { | |
newArray = []; | |
for (let i = 0; i < arrayA.length; i++) { | |
newArray.push(arrayA[i]); | |
}; | |
for (let i = 0; i < arrayB.length; i++) { | |
newArray.push(arrayB[i]); | |
}; | |
return newArray; |
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
// excelMoneyFormat.js v1.0.1 | |
function excelMoneyFormat(number, prefix = '', suffix = '', toFixedNumber = 2) { | |
return prefix + number.toFixed(toFixedNumber).replace('.', ',') + suffix; | |
}; |
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
//js-youtube-speeds alpha.js v0.1 | |
let waitJquery = setInterval(function() { | |
if ($ == jQuery && jQuery != undefined) { | |
clearInterval(waitJquery); | |
$('.ytp-button.ytp-settings-button').on('click', function() { | |
setTimeout(function() { | |
$('.ytp-menuitem').each(function() { | |
if ($(this).text().indexOf('Velocidade') > -1) { | |
$(this).css('background', 'red'); | |
$(this).attr('onclick', 'jsVelocidade()'); |
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
//array-prototypes.js v1 | |
// isArray v1 | |
function isArray(array) { | |
return Object.prototype.toString.call(array) == '[object Array]'; | |
}; | |
if (!Array.isArray) { | |
Array.isArray = function(array) { | |
return isArray(array); | |
}; |
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
// json-prototypes.js v1 | |
// isJSON.js v1 | |
function isJSON(json) { | |
let realJSON = {}; | |
if (json.constructor == realJSON.constructor) { | |
return true; | |
}; | |
return false; | |
}; |