This file contains 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
const domino = require('domino'); | |
const html = ` | |
<!DOCTYPE html> | |
<html> | |
<body> | |
<ul data-bind="foreach: list"> | |
<li data-bind="text: $data"></> | |
</ul> |
This file contains 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
#!/usr/bin/env node | |
// Script to update typings to their latest versions. | |
// Note that it should be executed in the folder where typings.json is. | |
const { exec, execSync } = require('child_process'); | |
const path = require('path'); | |
const typings = require(path.join(process.cwd(), 'typings.json')); | |
exec('typings ls', (error, _, stderr) => { | |
if (error) { |
This file contains 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
/****************************************************************************** | |
jquery.transformable.js v0.3.4 copyright 2013 Aaron Flin (aaron at flin dot org). | |
- fixed test for mozillaOverflowHiddenBug, which would improperly always return true | |
- todo: fix the parseFloat(computedStyle.[top|left]) in jQuery.fn.transformable.offsetNoGetBounds | |
so that it can handle %, or better yet, figure out a better way. Without a fix, I think | |
older Mozilla browsers will choke on a div with offsetParents that are not positioned in 'px' | |
jquery.transformable.js v0.3.3 copyright 2013 Aaron Flin (aaron at flin dot org). | |
- added initial support for dragging sortables in transformed divs. |
This file contains 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
[ | |
{"group":"US (Common)", | |
"zones":[ | |
{"value":"America/Puerto_Rico","name":"Puerto Rico (Atlantic)"}, | |
{"value":"America/New_York","name":"New York (Eastern)"}, | |
{"value":"America/Chicago","name":"Chicago (Central)"}, | |
{"value":"America/Denver","name":"Denver (Mountain)"}, | |
{"value":"America/Phoenix","name":"Phoenix (MST)"}, | |
{"value":"America/Los_Angeles","name":"Los Angeles (Pacific)"}, | |
{"value":"America/Anchorage","name":"Anchorage (Alaska)"}, |
This file contains 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
{ | |
"USD": { | |
"symbol": "$", | |
"name": "US Dollar", | |
"symbol_native": "$", | |
"decimal_digits": 2, | |
"rounding": 0, | |
"code": "USD", | |
"name_plural": "US dollars" | |
}, |
This file contains 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
<DnaLibrary Name="ExcelDna Test Dynamic Method" Language="C#"> | |
<Reference Name="System.Windows.Forms" /> | |
<![CDATA[ | |
using System; | |
using System.CodeDom.Compiler; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Reflection; | |
using System.Windows.Forms; | |
using Microsoft.CSharp; |