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
[dmckinley@dblists01 bin]$ readelf -s mongod | grep "js_" | |
340: 0000000000849305 4 OBJECT GLOBAL DEFAULT 15 js_try_str | |
341: 0000000000754ca6 306 FUNC GLOBAL DEFAULT 13 js_AllocRawStack | |
351: 00000000007502c9 50 FUNC GLOBAL DEFAULT 13 js_IsAboutToBeFinalized | |
363: 0000000000849278 6 OBJECT GLOBAL DEFAULT 15 js_break_str | |
364: 000000000071dbf0 78 FUNC GLOBAL DEFAULT 13 js_ValueToStringAtom | |
366: 000000000083ac4a 6 OBJECT GLOBAL DEFAULT 15 js_Error_str | |
368: 0000000000ada2a0 144 OBJECT GLOBAL DEFAULT 26 js_StringClass | |
372: 000000000083ac8e 10 OBJECT GLOBAL DEFAULT 15 js_TypeError_str |
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
[dmckinley@dblists01 bin]$ ldd mongod | |
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003cb9800000) | |
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x000000392f400000) | |
libm.so.6 => /lib64/libm.so.6 (0x0000003cb9400000) | |
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003cbc000000) | |
libc.so.6 => /lib64/libc.so.6 (0x0000003cb8c00000) | |
/lib64/ld-linux-x86-64.so.2 (0x0000003cb8800000) | |
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 |
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
/* 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
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
@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
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
*** 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
-- 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; |