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
| <!DOCTYPE html> | |
| <body style="width: 100%; font-family: helvetica,arial,sans-serif"> | |
| <h1>Enhanced Pivotal Tracker Story Links!</h1> | |
| <a style="align:center; font-size:40pt; text-decoration: none" href='javascript:void(function(){storyIdPattern = /.*\/([0-9]+)/;storyInternalIdPattern = /story_copy_link_(.*)/;var buttons=document.querySelectorAll("button.link[data-clipboard-text]");for (i = 0; i < buttons.length; i++) {var b=buttons[i];var textAttr=b.attributes.getNamedItem("data-clipboard-text");var storyId=storyIdPattern.exec(textAttr.value)[1];var idAttr=b.attributes.getNamedItem("id");var storyInternalId=storyInternalIdPattern.exec(idAttr.value)[1];var storyTitle=document.getElementById("story_name_"+storyInternalId).value;var idButton=document.getElementById("story_copy_id_"+storyInternalId);idButton.attributes.getNamedItem("data-clipboard-text").value=storyTitle + " [#"+storyId+"]"}}())'>Enhance Story Links</a> | |
| <p>To use it: | |
| <ol> | |
| <li>Drag the above link to your bookmarks bar! | |
| <li>Expand one or more stor |
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
| #!/bin/bash | |
| set -e | |
| set -x | |
| if [ -z "$1" ]; then | |
| echo "Usage: $0 <stemcell_name.tgz>" | |
| exit 1 | |
| fi |
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
| #!/bin/bash | |
| RUN_DIR=/var/vcap/sys/run/hello-go | |
| LOG_DIR=/var/vcap/sys/log/hello-go | |
| PIDFILE=${RUN_DIR}/pid | |
| case $1 in | |
| start) | |
| mkdir -p $RUN_DIR $LOG_DIR |
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
| #!/bin/sh | |
| # To enable this hook, copy it into .git/hooks/pre-commit in your project's workspace | |
| # or use the reinstall-git-hook-everywhere.sh script | |
| if git rev-parse --verify HEAD >/dev/null 2>&1 | |
| then | |
| against=HEAD | |
| else | |
| # Initial commit: diff against an empty tree object | |
| against=4b825dc642cb6eb9a060e54bf8d69288fbee4904 |
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
| alias gf='git fetch --all' | |
| alias gpo='git push origin' | |
| alias gpu='git push upstream' | |
| alias gt='git log --oneline --decorate --all --graph' | |
| alias gd='git diff' | |
| alias gs='git status' |
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
| TabPanelWithDropdowns tabPanel = new TabPanelWithDropdowns(); | |
| RootLayoutPanel.get().add(tabPanel); | |
| tabPanel.addItem("First", new Text("This is the content in pane 1")); | |
| tabPanel.addItem("Second", new Text("This is the content in pane 2")); | |
| tabPanel.addItem("Third", new Text("This is the content in pane 3")); | |
| tabPanel.addItem("Really really really really really long tab name", new Text("This is the content in pane 4")); | |
| tabPanel.addItem("Fifth", new Text("This is the content in pane 5")); | |
| DropDownContents dropDownContents = tabPanel.addDropdownTab("Dropdown"); |
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
| package ca.fuerth.misc; | |
| import static java.lang.Long.*; | |
| import java.io.BufferedReader; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| public class Memorator { |
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
| package ca.fuerth.gwt.playground.client; | |
| import com.google.gwt.core.client.JavaScriptObject; | |
| import com.google.gwt.core.shared.GWT; | |
| public class NativeCallbackExample { | |
| public native void installGlobalFunction(String functionName) /*-{ | |
| var me = this; | |
| $wnd[functionName] = function(message, callback) { |
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
| 00:04:47.928 [ERROR] Remote connection lost | |
| <pre>com.google.gwt.dev.shell.BrowserChannel$RemoteDeathError: Remote connection lost | |
| at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:304) | |
| at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547) | |
| at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364) | |
| at java.lang.Thread.run(Thread.java:724) | |
| Caused by: com.google.gwt.dev.shell.BrowserChannelException: Invalid message type RETURN | |
| at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:304) | |
| at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547) | |
| at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364) |
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
| package ca.fuerth.misc; | |
| import static org.junit.Assert.*; | |
| import java.sql.Date; | |
| import java.text.DateFormat; | |
| import java.util.TimeZone; | |
| import org.junit.Test; |