I hereby claim:
- I am nescalante on github.
- I am nescalante (https://keybase.io/nescalante) on keybase.
- I have a public key ASC3oFjYocyI4u00eWZah9r6j39GwjHosiOYn-hG04IC-Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
👶 Small change
♻️ Code is now updated
🐘 Unneeded newline
💇 Refactor here
🐩 Caution
<div id="root"></div> | |
<script src="https://api-notebook.anypoint.mulesoft.com/scripts/embed.js"></script> | |
<script> | |
var exec = [ | |
'App.middleware.register(\'persistence:change\', function (notebook, next, done) {', | |
' App.postMessage.trigger(\'persistence:change\', {', | |
' meta: notebook.meta,', | |
' content: notebook.content', | |
' });', | |
' return done();', |
[].forEach.call($$("*"),(a)=>{if(a.style)a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16)}) |
if (!document.getElementsByClassName) { | |
document.getElementsByClassName = function(search) { | |
var d = document, elements, pattern, i, results = []; | |
if (d.querySelectorAll) { // IE8 | |
return d.querySelectorAll("." + search); | |
} | |
if (d.evaluate) { // IE6, IE7 | |
pattern = ".//*[contains(concat(' ', @class, ' '), ' " + search + " ')]"; | |
elements = d.evaluate(pattern, d, null, 0, null); | |
while ((i = elements.iterateNext())) { |
I, Nicolas Escalante, have read and do accept the MuleSoft Contributor Agreement | |
at http://www.mulesoft.org/legal/contributor-agreement.html | |
Accepted on Thu Dec 11 2014 18:56:55 GMT-0300 (Argentina Standard Time) |
IF ( OBJECT_ID('dbo.RunScript') IS NOT NULL ) | |
DROP PROCEDURE dbo.RunScript | |
GO | |
CREATE PROCEDURE dbo.RunScript | |
@scriptUrl nvarchar(max) | |
AS | |
BEGIN | |
SET NOCOUNT ON |
SET @scriptName = '$(fileName)' | |
DECLARE @count int | |
select @count = count(Name) from Script where Name = @scriptName and RanOk = 1 | |
IF (@count = 0) | |
BEGIN | |
BEGIN TRY | |
BEGIN TRANSACTION |
var container = (function() { | |
var instances = {}; | |
return { | |
set: function (key, value) { | |
instances[key] = value; | |
}, | |
get: function (key) { | |
return instances[key] | |
} |
function batch(array, size, callback, done) { | |
var index = 0, | |
processed = 0; | |
while (index < size) { | |
next(); | |
} | |
function next() { | |
var item = array[index]; |