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/perl | |
# Hello World | |
use strict; | |
use warnings; | |
my @message = ("Hello"," ", "World","\n"); | |
print for (@message); | |
__END__ |
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
renderUI: function() { | |
var instance = this, | |
templateNode = instance.get('templateNode'), | |
labelNode = instance.get('labelNode'); | |
A.FormBuilderCheckBoxField.superclass.renderUI.apply(instance, arguments); | |
// labelNode.insert(templateNode, labelNode, 'before'); | |
// Works, result is <input><label></label></input> |
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
theme.css.fast.load=false | |
theme.images.fast.load=false | |
javascript.fast.load=true | |
javascript.log.enabled=false | |
layout.template.cache.enabled=false | |
browser.launcher.url= |
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
{ | |
"**/__tests__/*.js": { | |
"alternate": "{}.js", | |
"type": "test" | |
}, | |
"*.js": { | |
"alternate": "{dirname}/__tests__/{basename}.js", | |
"type": "source" | |
} | |
} |
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 sh | |
# | |
# Pulls down changes in each Repo | |
# | |
read -r -d '' USAGE << 'END_USAGE' | |
usage: ./update-cloud.sh [-uh] [-g "gradle tasks"] | |
u : pull down master changes in each module | |
g : run gradle task in each folder | |
./update-cloud.sh -g "clean deploy" | |
h : print help |
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
import Http exposing (encodeUri) | |
url : String -> List ( String, String ) -> String | |
url base = | |
let | |
encodeParts ( key, value ) = | |
(encodeUri key) ++ "=" ++ (encodeUri value) | |
in | |
(++) base << (++) "?" << String.join "&" << List.map encodeParts |
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 {OrderedSet} = Immutable; | |
const x = OrderedSet([]); | |
const y = OrderedSet([2, 3, 4, 5, 6]); | |
const z = x.concat(y); | |
console.log(z === y); | |
// This will log `false`. |
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
module Parser exposing (..) | |
import Combine exposing (..) | |
import Combine.Char exposing (char) | |
import Combine.Num exposing (int) | |
type Program | |
= Program Expr |
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
// Type Defs | |
declare namespace JSX { | |
interface ElementAttributesProperty { | |
props; | |
} | |
} | |
interface ConfigAttr<T> { | |
valueFn: () => T; |
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
{namespace MyComponent} | |
{template .render} | |
{@param attributes: attributes} | |
<button {$attributes}>Hello World</button> | |
{/template} | |
/* Caller Side */ |
OlderNewer