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
(ns rdp.core | |
(:require [om.core :as om :include-macros true] | |
[om.dom :as dom :include-macros true] | |
[cljs.core :refer [clj->js]] | |
)) | |
(defonce app-state (atom {:templates ["something {x.y.(\"foo\")} something else" | |
"a {b.c.(\"d } e\")} f {c.g.(\"h\")}" | |
":{ }:"]})) | |
(defn children [parent s] |
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
/* global Application, ObjC, $ */ | |
/** | |
* repozish.js | |
* | |
* this is an example of using os x yosemite's "JavaScript for Automation": | |
* | |
* https://developer.apple.com/library/prerelease/mac/releasenotes/interapplicationcommunication/rn-javascriptforautomation/index.html | |
* | |
* it repositions some windows based on some position settings. you can run |
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 fs = require('fs'); | |
var rework = require('rework'); | |
var reworkNpm = require('rework-npm'); | |
var reworkVisit = require('rework-visit'); | |
module.exports = function(filename) { | |
var map = {}; | |
rework(fs.readFileSync(filename, 'utf8')) |
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
diff --git a/widgets/subscriber-search/index.js b/widgets/subscriber-search/index.js | |
index e045c4c..71d45ef 100644 | |
--- a/widgets/subscriber-search/index.js | |
+++ b/widgets/subscriber-search/index.js | |
@@ -114,7 +114,7 @@ define([ | |
var vm = this.options.viewmodel; | |
var hopefullyMobileNumber = vm.searchQuery(); | |
- visitSubscriberProfile(hopefullyMobileNumber); | |
+ visitSubscriberProfile(hopefullyMobileNumber, 'replaceState'); |
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
<!doctype html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<div> | |
<ul> | |
<li><a></a></li> | |
<li><a id=el></a></li> |
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 iterable = {}; | |
iterable[Symbol.iterator] = function() { | |
var count = 0; | |
return { | |
next: function() { | |
return ++count <= 3? | |
{value: 'item ' + count, done: false} : | |
{value: undefined, done: true}; | |
} | |
} |
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
Using worker: worker-linux-10-2.bb.travis-ci.com:travis-linux-15 | |
Installing an SSH key | |
$ git clone --depth=50 git@github.com:WaterfallEngineering/frontend.git WaterfallEngineering/frontend | |
Cloning into 'WaterfallEngineering/frontend'... | |
remote: Counting objects: 1393, done. | |
remote: Compressing objects: 100% (990/990), done. | |
remote: Total 1393 (delta 445), reused 1006 (delta 286) |
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(){var none={"facebook":{"status":"ACTIVE"},"mms":{"status":"ACTIVE"},"twitter":{"status":"ACTIVE"},"push":{"status":"ACTIVE"}};var inactive={"fixedBroadcastMessage":{"status":"INACTIVE","position":"APPEND","message":"appended message"},"fixedSubscriptionConfirmMessage":{"status":"INACTIVE","position":"SUBSTITUTE","message":"substituted confirm message"},"mms":{"status":"INACTIVE"},"twitter":{"status":"INACTIVE"},"numberMasking":{"status":"INACTIVE"},"push":{"status":"INACTIVE"},"fixedSubscriptionAlreadySubscribedMessage":{"status":"INACTIVE","position":"SUBSTITUTE","message":"substituted already subscribed message"},"fixedBasicTextMessage":{"status":"INACTIVE","position":"PREPEND","message":"prepended message"},"fixedSubscriptionOptInMessage":{"status":"INACTIVE","position":"SUBSTITUTE","message":"substituted opt-in message"},"facebook":{"status":"INACTIVE"}};var active={"fixedBroadcastMessage":{"status":"ACTIVE","position":"APPEND","message":"appended message"},"fixedSubscriptionConfirmMessage":{"s |
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
Using worker: worker-linux-3-1.bb.travis-ci.com:travis-linux-17 | |
Installing an SSH key | |
$ git clone --depth=50 git@github.com:WaterfallEngineering/frontend.git WaterfallEngineering/frontend | |
Cloning into 'WaterfallEngineering/frontend'... | |
Warning: Permanently added the RSA host key for IP address '192.30.252.128' to the list of known hosts. | |
remote: Counting objects: 1382, done. | |
remote: Compressing objects: 100% (1035/1035), done. |
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 --harmony | |
function setup() { | |
var net = require('net'); | |
var fs = require('fs'); | |
var irc = require('irc-js'); | |
var Notifier = require('node-notifier'); | |
var notifier = new Notifier(); |