I hereby claim:
- I am NullDev on github.
- I am nulldev (https://keybase.io/nulldev) on keybase.
- I have a public key whose fingerprint is 74A6 33A3 4DDA C6AB BDB6 01DD C2B3 DE4E F07F 9125
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Regular Colors | |
\[\033[0;30m\] # Black | |
\[\033[0;31m\] # Red | |
\[\033[0;32m\] # Green | |
\[\033[0;33m\] # Yellow | |
\[\033[0;34m\] # Blue | |
\[\033[0;35m\] # Purple | |
\[\033[0;36m\] # Cyan | |
\[\033[0;37m\] # White |
HTML:
<div id="t"></div>
JS:
var console={log:function(t){document.getElementById("t").innerHTML+=t+""}};
This is a (temporary fix) for visual composer messing up heights of grid elements on iPads.
Basically, visualcomposer just parses the device width and height very sloppy.
this results in a height property like this:
element {
height: 314x301;
}
"use strict"; | |
let path = require("path"); | |
let fs = require("fs"); | |
//////////////////////////////// | |
//----------------------------// | |
// Copyright (c) 2018 NullDev // | |
//----------------------------// | |
//////////////////////////////// |
JS:
/* -- Pagination -- */
var currPage = 1;
var numsPerPage = 6;
$(document).ready(function(){
$("div.content-single").hide();
$("div.content-single:lt(" + numsPerPage + ")").show();
Function.prototype.test = function(x){ | |
var arg1 = this(); | |
var arg2 = x; | |
console.log( | |
"Arg1: " + arg1 + | |
"\nArg2: " + arg2 | |
); | |
} |
Number.prototype["<=>"] = function(x){ | |
return Math.sign(this - x); | |
} | |
var result = 5 ["<=>"] `4`; | |
console.log(result); | |
// https://jsfiddle.net/veyar51m/ |