A Pen by Fabio Zendhi Nagao on CodePen.
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
function flatten(array) { | |
// environment checks | |
if (typeof Array.forEach !== "function") | |
throw "Environment doesn't support `Array.forEach`. You must update the environment or use a polyfill."; | |
if (typeof Array.isArray !== "function") | |
throw "Environment doesn't support `Array.isArray`. You must update the environment or use a polyfill."; | |
// validate input | |
if (!Array.isArray(array)) | |
throw "Argument MUST be an array"; | |
// short circuit edge cases |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
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
<parser | |
id="asp_section" | |
displayName="Visual Basic (.NET|Script|for Applications)" | |
commentExpr="(?m:((?<=').*?$)|((?i:REM)([\t ].*?)?$))" | |
> | |
<classRange | |
mainExpr="(?s:(?<SCOPE>(?i:CLASS|TYPE)).*?(?i:END[\t ]\k<SCOPE>))" | |
displayMode="node" | |
> | |
<className> |
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
var c = document.getElementById("details_texts_selects") | |
, ss = c.getElementsByTagName("select") | |
, i, len | |
; | |
for(i = 0, len = ss.length; i < len; i++) procSelect(ss[i]); | |
function procSelect(s) { | |
var p = s.parentNode | |
, ul = document.createElement("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
<?xml version="1.0"?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | |
<xsl:output method="text"/> | |
<!-- x := 5 --> | |
<xsl:variable name="x" select="5"/> | |
<!-- y := factorial(x) --> | |
<xsl:variable name="y"> |
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
<% | |
' Class: EntityModel | |
' | |
' Evolved entities are hybrid EAV and BLOB open schema trees. This class models | |
' the Entity itself, a tree of EntityModel_Nodes. | |
' | |
' Dependencies: | |
' | |
' - base.asp |
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
<job> | |
<reference object="ADODB.Stream" /> | |
<object id="stmANSI" progId="ADODB.Stream" /> | |
<object id="stmUTF8" progId="ADODB.Stream" /> | |
<script language="VBScript"> | |
Option Explicit | |
With stmANSI | |
.Open | |
.LoadFromFile "ANSI.txt" |
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
/* +-----------------------------------------------------------------------------+ | |
* |This file is part of ASP Xtreme Evolution. | | |
* |Copyright © 2007, 2009 Fabio Zendhi Nagao | | |
* | | | |
* |ASP Xtreme Evolution is free software: you can redistribute it and/or modify | | |
* |it under the terms of the GNU Lesser General Public License as published by | | |
* |the Free Software Foundation, either version 3 of the License, or | | |
* |(at your option) any later version. | | |
* | | | |
* |ASP Xtreme Evolution is distributed in the hope that it will be useful, | |
NewerOlder