This file contains hidden or 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 options = { | |
"yesMessage": "YES!", | |
"noMessage": "No", | |
"target": "#isitlaksatime", | |
"day": 5, // 5 for friday | |
"hour": 12 // 12 for noon! | |
}; | |
This file contains hidden or 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
require_component('processService'); | |
var task = { | |
execute: function(context) { | |
var logger = context.buildLogger; | |
logger.addLogEntry("Hello World!"); | |
return { | |
taskState: "successful", | |
resultData: {}, | |
taskIdentifier: context; |
This file contains hidden or 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
case class X(x: Int, y :Int) | |
//this is what drives the mower | |
private def doSomething(delta): X = x match { | |
case X(x,1) => update(x,1 + delta) | |
case _ => X(1,2) | |
} |
This file contains hidden or 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
# Copyright (c) 2012 The Chromium Embedded Framework Authors. All rights | |
# reserved. Use of this source code is governed by a BSD-style license that | |
# can be found in the LICENSE file. | |
from optparse import OptionParser | |
from subprocess import Popen, PIPE, STDOUT | |
from tempfile import mktemp | |
import os | |
import shlex | |
import shutil |
This file contains hidden or 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
//test.js | |
export = { | |
//rename this to hello | |
a:function(), | |
c:function(); | |
d:function(); | |
} | |
//some other file |
This file contains hidden or 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 elements = Array.prototype.slice.call(document.querySelectorAll('*')), | |
counts = {}; | |
elements.forEach(function(i) { | |
if(!counts[i.tagName]) { counts[i.tagName] = 1 } | |
else { counts[i.tagName]++ } | |
i.id = i.tagName + counts[i.tagName] | |
}); |
This file contains hidden or 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
<div class="container"> | |
<div class="prelude"> </div> | |
<div class="line"></div> | |
<div class="line"></div> | |
<div class="line"></div> | |
<div class="line"></div> | |
<div class="line"></div> <- style this element | |
<div class="conclusion"></div> | |
</div> |
This file contains hidden or 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
March talk outline | |
AMD - quick intro | |
What is commonjs | |
What is AMD | |
Why this is cool | |
Testing - | |
Unit testing |
This file contains hidden or 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/LayoutTests/fast/borders/border-radius-parsing-expected.txt b/LayoutTests/fast/borders/border-radius-parsing-expected.txt | |
index e4618b0..f3dac8e 100644 | |
--- a/LayoutTests/fast/borders/border-radius-parsing-expected.txt | |
+++ b/LayoutTests/fast/borders/border-radius-parsing-expected.txt | |
@@ -1,5 +1,15 @@ | |
Testing border-radius: 10px; | |
SUCCESS | |
+Testing border-radius: 10px 20px 30px 40px; | |
+SUCCESS | |
+Testing border-radius: 10px 20px 30px 40px 50px; |
This file contains hidden or 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 assumes osx. and that you have read https://developers.google.com/chrome-developer-tools/docs/contributing | |
1. Easiest way to run a basic server is just to use python, you should already have that installed. | |
2. The docs say "Set up a local web server that would serve files from WebKit/Source/WebCore/inspector on some port (8090)" this is out of date. | |
the correct path is /path/to/checkedout/blink/Source/devtools run python -m SimpleHTTPServer in this directory. Starts on 8000 by default change with python -m SimpleHTTPServer 8090 | |
3. Running chrome from the command line, you want to run something like | |
/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --user-data-dir=/Users/wyles/blink/chromeServerProfile --remote-debugging-port=9222 --remote-debugging-frontend="http://localhost:8000/front_end/inspector.html" | |
Note - i found that paths are not expanded so use a full path not ~/ for your home directoy. |
OlderNewer