Skip to content

Instantly share code, notes, and snippets.

View santiago's full-sized avatar

Santiago Gaviria santiago

  • Ontoworks
  • Planet Earth
View GitHub Profile
static PurpleCoreUiOps core_uiops =
{
NULL,
NULL,
arg_obj->Get(core_ui_ops_ui_init_symbol),
NULL,
/* padding */
NULL,
NULL,
#client
#connection-manager
.username, .password, .connect-btn
:float left
.username, .password
p.label, input
:float left
El CSS sería ...
ul.buddy-list
- for (var i=0; i < 1; i++)
- bg = (i%2==0) ? 'even' : 'odd'
li.buddy-item.layout(class: bg, style: "display:none;")
span.status-icon.online
.buddy-info
p.name pumiprinsipis
p.message el de las garritas
img.buddy-photo(src:'/images/buddies/'+((i%2==0) ? 1 : 2)+'.jpg')
li.buddy-item.offline
No attribute named `nil_class_id` exists for table `snapshot_diffs`
Rails.root: /Users/santiago/Projects/groupBuying
Application Trace | Framework Trace | Full Trace
app/models/activity_block.rb:57:in `resource_calculations'
app/models/activity_block.rb:56:in `each'
app/models/activity_block.rb:56:in `resource_calculations'
app/models/chart.rb:20:in `generate_chart_data'
app/models/chart.rb:16:in `each'
app/models/chart.rb:16:in `generate_chart_data'
mysql> describe deals
-> ;
+----------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------------+---------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| name | varchar(255) | YES | | NULL | |
| permalink | varchar(255) | YES | | NULL | |
| deal_id | varchar(255) | YES | | NULL | |
| sale_price | decimal(10,0) | YES | | NULL | |
var sys = require('sys');
var xmpp = require('../lib/node-xmpp');
var argv = process.argv;
if (argv.length != 4) {
sys.puts('Usage: node echo_bot.js <my-jid> <my-password>');
process.exit(1);
}
var cl = new xmpp.Client({ jid: argv[2],
Along the tides of time
I come to you
And we talk again:
-Blame me here,
or abduct me from this pain
Let me see my real face
I´m scared, you´re away
Distant
Cold as glassed;
I, Lost as reflected.
@deals= Deal.where(:end_date.gte => time).not_in("business.locations" => [])
@deals= Deal.where(:end_date.gte => time).not_in({ :business => { :locations => []})
@deals= Deal.where(:end_date.gte => time, { :business => { "locations.nin" => []})
"tags": [
{
"name": "Restaurants",
"slug": "restaurants"
}
]
#require 'bundler/capistrano'
set :domain, 'group-buying.pogodan.com'
set :application, domain
set :db_prefix, 'group_buying'
default_run_options[:pty] = true
set :repository, "[email protected]:morrillt/groupBuying.git"
set :branch, "groupie"
set :scm, "git"