I hereby claim:
- I am db on github.
- I am deanburge (https://keybase.io/deanburge) on keybase.
- I have a public key ASAKqLVU07P23MBnACj_E8uajxjrGZsQql8J51Kq6k4WEQo
To claim this, I am signing this object:
{ | |
"name": "resly", | |
"version": "1.0.0", | |
"main": "submitResume.js", | |
"type": "module", | |
"scripts": { | |
"test": "jest" | |
}, | |
"keywords": [], | |
"author": "", |
Import-Module WebAdministration | |
set-Location IIS:\AppPools | |
$AppPools = dir | |
foreach ($AppPool in $AppPools) | |
{ | |
Write-Host "$AppPool.Name -> checking" | |
if($AppPool.state -ne "Started") | |
{ | |
Write-Host "- $AppPool.Name found stopped - starting it" | |
Start-WebAppPool -Name $AppPool.Name |
I hereby claim:
To claim this, I am signing this object:
.row > *:not(.columns) { | |
outline: 1px solid #c00; | |
} | |
.row > *:not(.columns):after { | |
color: white; | |
font: bold 13px arial; | |
background: #c00; | |
padding: 3px; | |
content: "grid: row child has no columns"; | |
} |
function getPercentageOfElementAreaViewable(el) { | |
var viewport = { width: window.innerWidth, height: window.innerHeight }; | |
var rect = el.getBoundingClientRect(); | |
var area = rect.width * rect.height; | |
var visibleHeight = rect.height; | |
var visibleWidth = rect.width; | |
// deduct amount out of viewport at top | |
if (rect.top < 0) visibleHeight += rect.top; |
Use the Bulletproof Git Workflow, and before code review:
Publish a pre-release version of the package:
// ----------------------------------------------------------------------------- command | |
define('command', ['underscore', 'backbone'], function(_, Backbone) { | |
var Command = function() {}; | |
Command.prototype = _.extend({}, Backbone.Event, { | |
ALWAYS: 'always.command', | |
DONE: 'done.command', |
class FloatUtil | |
{ | |
public static function fixedFloat(v:Float, ?precision:Int = 2):Float | |
{ | |
return Math.round( v * Math.pow(10, precision) ) / Math.pow(10, precision); | |
} | |
} |
(function safeConsole() { | |
if (typeof window.console == "undefined") { window.console = {}; } | |
for (var methods = "log,warn,error,info,dir".split(","), safe=function(){}, method; method=methods.pop();) { | |
window.console[method] = window.console[method] || safe; | |
} | |
})(); |