Skip to content

Instantly share code, notes, and snippets.

//@font-face{
// font-family: 'OpenSans';
// src: url('fonts/opensans/OpenSans-Regular-webfont.eot');
// src: url('fonts/opensans/OpenSans-Regular-webfont.eot?iefix') format('eot'),
// url('fonts/opensans/OpenSans-Regular-webfont.woff') format('woff'),
// url('fonts/opensans/OpenSans-Regular-webfont.ttf') format('truetype'),
// url('fonts/opensans/OpenSans-Regular-webfont.svg#webfont') format('svg');
//}
//@font-face{
// font-family: 'OpenSansBd';
2014-05-14T20:26:13.923148+00:00 app[worker.1]: 2014-05-14T20:26:13Z 2 TID-orm80tptg RemoveMessageWorker JID-08eba62a0e94058c26801aa3 INFO: start
2014-05-14T20:26:13.939023+00:00 app[worker.1]: 2014-05-14T20:26:13Z 2 TID-orm80tptg RemoveMessageWorker JID-08eba62a0e94058c26801aa3 INFO: done: 0.016 sec
2014-05-14T20:26:28.251887+00:00 app[worker.1]: 2014-05-14T20:26:28Z 2 TID-orm80tptg TweetWorker JID-8a8f01d9913ba9ea0896b726 INFO: done: 0.006 sec
2014-05-14T20:26:28.246067+00:00 app[worker.1]: 2014-05-14T20:26:28Z 2 TID-orm80tptg TweetWorker JID-8a8f01d9913ba9ea0896b726 INFO: start
2014-05-14T20:27:33.086199+00:00 app[worker.1]: 2014-05-14T20:27:33Z 2 TID-orm80tptg RetweetWorker JID-ad5ea80e63474689e920b7b2 INFO: start
2014-05-14T20:27:33.094441+00:00 app[worker.1]: 2014-05-14T20:27:33Z 2 TID-orm80tptg RetweetWorker JID-ad5ea80e63474689e920b7b2 INFO: done: 0.008 sec
2014-05-14T20:28:28.848018+00:00 app[worker.1]: 2014-05-14T20:28:28Z 2 TID-orm80tptg TweetWorker JID-c4c6663050586a8275f87768 INFO: start
2014-05-
/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, strict:true, undef:true, unused:true, curly:true, browser:true, devel:true, jquery:true, indent:4, maxerr:50, laxcomma:true, indent:false, unused: false */
/*global Pusher:false, Handlebars:false, Modernizr:false, store:false, performance:false */
;(function($, doc, win){
"use strict";
var $app, appEnvironment, realtime_templates = {};
var pusherIsConnected=false;
var $pings, pingInterval;
var meetingId, meetingChannelName, meetingChannel;
@dopa
dopa / gist:11385224
Created April 28, 2014 21:57
ACTE Email HTML - Day 2
<center>
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;margin: 0;padding: 0;background-color: #363636;height: 100% !important;width: 100% !important;">
<tbody><tr>
<td align="center" valign="top" id="bodyCell" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;margin: 0;padding: 0;border-top: 0;height: 100% !important;width: 100% !important;">
<!-- BEGIN TEMPLATE // -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
<tbody><tr>
<td align="center" valign="t
@dopa
dopa / gist:7952215
Created December 13, 2013 22:06
Color Cycle
.color-cycle {
color: hsla(270,95%,69%,0.25) !important
}
@-webkit-keyframes colors {
0% {
color: hsla(270,95%,69%,0.25)
}
15% {
<div class="nested-fields speaker-slot-fields">
<div id="speaker_from_list">
<%= f.association :speaker, :collection => current_organizer.org.speakers(:order => 'name') %>
&nbsp;
<%= link_to_remove_association f, { :class => "dIB vaM" } do %><i class="fui-cross"></i><% end %>
</div>
</div>
<%= simple_form_for([@meeting,@event], :html => {:class => 'form-horizontal' }) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<ul class="tabs">
<li>
<input type="radio" checked name="tabs" id="tab1">
<label class="tab-label" for="tab1">Basics</label>
<div id="tab-c1" class="tab-c animated fadeIn">
@dopa
dopa / gist:7118466
Created October 23, 2013 13:11
Cocoon Events+Speakers Issue Models and Controllers
Thank you!
Relevant parts of models:
class Event < ActiveRecord::Base
  attr_accessible :meeting_id,
                  :session_name,
                  :description,
                  :event_type_id,
                  :start_date_time,
socket.on('authenticate', function(data) {
var room = '';
socket.userId = data.userId;
connections[socket.userId] = socket; // Must be keyed on userId - that's the whole point
socket.room = room;
socket.join(room);
});
rror: http response not OK: 403
at IncomingMessage.module.exports.send (/home/deployer/production/memecube/node_modules/book-raven/node_modules/raven/lib/transports/http.js:41:27)
at IncomingMessage.EventEmitter.emit (events.js:126:20)
at IncomingMessage._emitEnd (http.js:366:10)
at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)
at CleartextStream.socketOnData [as ondata] (http.js:1485:20)
at CleartextStream.CryptoStream._push (tls.js:544:27)
at SecurePair.cycle (tls.js:898:20)
at EncryptedStream.CryptoStream.write (tls.js:285:13)
at Socket.ondata (stream.js:38:26)