Skip to content

Instantly share code, notes, and snippets.

View monde's full-sized avatar
📼

Mike Mondragon monde

📼
  • Okta
View GitHub Profile
indexer
{
mem_limit = 4096M
}
searchd
{
listen = 0.0.0.0:9312
log = /Users/mikemondragon/projects/hark/search-engine/spec/dummy/log/searchd.log
query_log = /Users/mikemondragon/projects/hark/search-engine/spec/dummy/log/searchd.query.log
* executing `production'
triggering start callbacks for `deploy'
* executing `multistage:ensure'
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
triggering before callbacks for `deploy:update_code'
* executing `hark:mark_deployment_times'
updating the cached checkout on all servers
@monde
monde / ts.log
Created February 10, 2012 19:26
mikemondragon@dragon-hark-mbp 10003 ~/projects/hark/hark (develop)?
$ alias brake
alias brake='bundle exec rake'
mikemondragon@dragon-hark-mbp 10004 ~/projects/hark/hark (develop)?
$ brake --trace ts:rebuild 2>&1 | tee ts.log
** Invoke ts:rebuild (first_time)
** Invoke thinking_sphinx:rebuild (first_time)
** Invoke thinking_sphinx:app_env (first_time)
** Execute thinking_sphinx:app_env
@monde
monde / fluid.display.ascii.js
Created February 8, 2012 20:21
codes to Nick Kwiatek's ascii js animation page (http://nkwiatek.com/)
// this is in the process of being rewritten and optimized
/**
* Copyright (c) 2011 Nick Kwiatek <http://nkwiatek.com>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em,
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup,
menu, footer, header, nav, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0; }
================================================================================
== expiring caches for collection mblzgqgvpz Glengarry Glen Ross
views/collection_head_mblzgqgvpz
views/collection_show_quote_list_mblzgqgvpz
views/collection_show_unique_performances_mblzgqgvpz
views/popular_clips_ppslxghmfvmblzgqgvpz
-- expiring caches for clip jkwfmhjtbp Leads are weak
views/clips_head_jkwfmhjtbp
views/clip_show_feature_left_jkwfmhjtbp
-- expiring caches for clip jjvvbxysmm You can't close
$ ruby -rrubygems -Ilib -e "require 'mms2r'; require 'pp'; require 'logger'; mms = MMS2R::Media.new(Mail.read('yahoo_mail.txt'), :logger => Logger.new(STDOUT)); pp mms.media; pp mms.number; pp mms.carrier; pp mms.mail.parts.first.body"
I, [2012-01-18T23:13:22.361798 #16992] INFO -- : MMS2R::Media created
I, [2012-01-18T23:13:22.373058 #16992] INFO -- : MMS2R::Media processing
I, [2012-01-18T23:13:22.392366 #16992] INFO -- : MMS2R::Media writing file /tmp/mike/mms2r/132690569569845YahooMailNeoweb39301mailmudyahoocom_5b9274c1e5d6f0d2cc51cf13029e4cb350eb540b/1/1326957202.3911154.txt
I, [2012-01-18T23:13:22.395197 #16992] INFO -- : MMS2R::Media writing file /tmp/mike/mms2r/132690569569845YahooMailNeoweb39301mailmudyahoocom_5b9274c1e5d6f0d2cc51cf13029e4cb350eb540b/2/1326957202.3946183.html
{"text/plain"=>
["/tmp/mike/mms2r/132690569569845YahooMailNeoweb39301mailmudyahoocom_5b9274c1e5d6f0d2cc51cf13029e4cb350eb540b/1/1326957202.3911154.txt"],
"text/html"=>
["/tmp/mike/mms2r/132690569569845YahooMailNeoweb393
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360
{\fonttbl\f0\fnil\fcharset0 Monaco;}
{\colortbl;\red255\green255\blue255;}
\margl1440\margr1440\vieww20400\viewh11880\viewkind0
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
\f0\fs20 \cf0 Delivered-To: herman@socialthinkinc.com\
Received: by 10.227.7.18 with SMTP id b18cs70769wbb;\
Wed, 11 Jan 2012 14:56:24 -0800 (PST)\
Received: by 10.50.183.166 with SMTP id en6mr1015233igc.7.1326322582258;\
Started GET "/collections/nfngpynlrd-the-godfather" for 127.0.0.1 at 2012-01-06 15:32:18 -0800
Processing by CollectionsController#show as */*
Parameters: {"id"=>"nfngpynlrd-the-godfather"}
SessionId:
Useragent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8r zlib/1.2.3
Collection Load (0.1ms) SELECT `collections`.* FROM `collections` WHERE `collections`.`pid` = 'nfngpynlrd' LIMIT 1
Clip Load (0.3ms) SELECT `clips`.* FROM `clips` WHERE `clips`.`id` IN (1277442, 1277452, 1277462, 1277472, 1277482, 1277492, 1277502, 1277512, 1278262, 1277672)
Started GET "/collections/nfngpynlrd-the-godfather" for 127.0.0.1 at 2012-01-06 15:30:21 -0800
Processing by CollectionsController#show as */*
Parameters: {"id"=>"nfngpynlrd-the-godfather"}
SessionId:
Useragent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8r zlib/1.2.3
Collection Load (0.2ms) SELECT `collections`.* FROM `collections` WHERE `collections`.`pid` = 'nfngpynlrd' LIMIT 1
Clip Load (0.3ms) SELECT DISTINCT `clips`.* FROM `clips` INNER JOIN `media_file_clips` ON `media_file_clips`.`clip_id` = `clips`.`id` INNER JOIN `clip_links` ON `clips`.`id` = `clip_links`.`clip_id` WHERE `clip_links`.`clip_linkable_id` = 6134 AND `clip_links`.`clip_linkable_type` = 'Collection' AND (clips.published = 1 AND clips.deleted = 0 AND clips.removed = 0 AND clips.private = 0 AND clips.duplicate = 0 AND media_file_clips.id is not null and media_file_clips.media_file_id <> 3069) ORDER BY clips.curated_position_idx asc, listens_week DESC LIMIT 10 OFFSET 0