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
{ | |
thing_id: 56778, | |
user_id: 5079854, | |
description: "rad stuff", | |
comments: [ | |
{ user_id: 93, text: "you stink!!" }, | |
{ user_id: 991, text: "very nice" } | |
], | |
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
{ | |
thing_id: 56778, | |
user_id: 5079854, | |
description: "rad stuff", | |
comments: [ | |
{ user_id: 93, text: "you stink!!" }, | |
{ user_id: 991, text: "very nice" } | |
], | |
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
-- Query one. | |
select thing_id, user_id, description | |
from things | |
where thing_id=56778; | |
-- Query two. | |
select user_id, text | |
from thing_comments | |
where thing_id=56778 | |
order by creation_time asc; |
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
*** Welcome to IELM *** Type (describe-mode) for help. | |
ELISP> load-path | |
("~/lib/site-lisp/gist" "~/lib/site-lisp/gist.el" "/Users/mcfunley/lib/site-lisp/haskell-mode/" "~/lib/site-lisp/confluence2" "/Applications/Emacs.app/Contents/share/emacs/site-lisp/w3m/" "/Users/mcfunley/scala/misc/scala-tool-support/emacs" "~/lib/site-lisp" "/Applications/Emacs.app/Contents/Resources/site-lisp" "/Applications/Emacs.app/Contents/Resources/lisp" "/Applications/Emacs.app/Contents/Resources/lisp/url" "/Applications/Emacs.app/Contents/Resources/lisp/toolbar" "/Applications/Emacs.app/Contents/Resources/lisp/textmodes" "/Applications/Emacs.app/Contents/Resources/lisp/progmodes" "/Applications/Emacs.app/Contents/Resources/lisp/play" "/Applications/Emacs.app/Contents/Resources/lisp/org" "/Applications/Emacs.app/Contents/Resources/lisp/obsolete" "/Applications/Emacs.app/Contents/Resources/lisp/nxml" "/Applications/Emacs.app/Contents/Resources/lisp/nxml/char-name" "/Applications/Emacs.app/Contents/Resources/lisp/nxml/char-name/un |
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
try: | |
from cStringIO import StringIO | |
except ImportError: | |
from StringIO import StringIO | |
import re | |
hex_digit = re.compile('[0-9a-fA-F]') | |
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
@use_selenium | |
def test_search_box_gets_focus_after_selecting_search_type(self): | |
self.se.open('/') | |
self.se.click(self.search_facet) | |
self.wait_for_facet_dropdown() | |
self.se.click(self.facet(1)) | |
self.wait_for_facet_dropdown_cleared() | |
try: | |
path = self.search_input[:-1] + ' and contains(@class, "focus")]' |
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
user_id | |
--------- | |
8770 | |
46139 | |
5012713 | |
775 | |
5218284 | |
5266865 | |
5341247 | |
5649962 |
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
/* timestamp_pl_interval() | |
* Add a interval to a timestamp data type. | |
* Note that interval has provisions for qualitative year/month and day | |
* units, so try to do the right thing with them. | |
* To add a month, increment the month, and use the same day of month. | |
* Then, if the next month has fewer days, set the day of month | |
* to the last day of month. | |
* To add a day, increment the mday, and use the same time of day. | |
* Lastly, add in the "quantitative time". | |
*/ |
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
def _wait_for_dropdown_count(self, c): | |
# this has the .closed class on it when it's hidden. | |
self.se.wait_for_function( | |
'function($) { ' | |
' return $("#search-facet > ul.closed").length == %s;' | |
'}' % c) |
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
<danhome> hey guys the monthly billing job is running [22:33] | |
<danhome> it will still be in progress at 4AM | |
*** #dbteam modes: + | |
<danhome> jallspaw rtreat ^^ [22:43] | |
<danhome> | |
https://jira.etsycorp.com/confluence/display/ENG/Grunt#Grunt-%7B%7Bbillingemails%7D%7D |
OlderNewer