Skip to content

Instantly share code, notes, and snippets.

@edgardmessias
edgardmessias / RoundNumbersDecimal.js
Last active December 15, 2015 20:29
Rounding numbers with decimals. For Round, Floor and Ceil.
function roundNumber(num, dec) {
return Math.round(num * Math.pow(10, dec)) / Math.pow(10, dec);
}
function floorNumber(num, dec) {
return roundNumber(num - (5 / Math.pow(10, dec + 1)), dec);
}
function ceilNumber(num, dec) {
var numStr = num.toString();
// ==UserScript==
// @name ADBlock Dia A Dia Arapongas
// @namespace http://tampermonkey.net/
// @version 0.7
// @downloadURL https://gist.githubusercontent.com/raw/a91df53662778e2ff58a4820a9534a12/adblock_diaadiaarapongas.js
// @description Remover propagandas do Dia A Dia Arapongas!
// @author You
// @include /^https?://(www\.)?diaadiaarapongas\.com\.br/
// @grant none
// ==/UserScript==

Icons for Pentaho tools

/**
* Whatsapp injection script.
*
* You can use this script to get any module from Whatsapp Web page
*/
// Set the default webpackJson
window["webpackJsonp"] = window["webpackJsonp"] || [];
(function () {