Skip to content

Instantly share code, notes, and snippets.

Mole Poblano

  1. 150mg Almendras fritas
  2. 100mg chile mulato
  3. 100mg chile ancho
  4. 100mg chile pasilla -- largo, liso, y delgado
  5. 100mg pasas fritas
  • se pone todas las semillas del chile a tostar
g++ -Wall -O3 -ldb -I/usr/local/include \
-I/usr/local/include/db44 \
-L/usr/local/lib/db44 \
-L/usr/local/lib \
-o dumpHTTP dumpHTTP.cpp
In file included from dumpHTTP.cpp:10:
address.hpp: In function ‘std::string ethernetToText(const char*)’:
address.hpp:36: error: ‘memcpy’ was not declared in this scope
address.hpp: In function ‘std::pair<unsigned int, unsigned int> cidrToRange(std::string)’:
address.hpp:72: error: ‘strtoul’ was not declared in this scope
a bunch of qa1s before this...
qa1 199ms
qa1 227ms
qa1 196ms
qa1 203ms
qa1 195ms
qa1 184ms
qa1 201ms
qa1 180ms
$ irb -r rubygems -r sequel
irb(main):001:0> db = Sequel.connect("mysql://root@localhost/vertuoconseil?encoding=utf8")
=> #<Sequel::MySQL::Database: "mysql://root@localhost/vertuoconseil">
irb(main):002:0> db.tables
require 'rubygems'
gem 'data_objects', '= 0.9.11'
gem 'dm-core', '= 0.9.11'
require 'myapp'
run Sinatra::Application
#!/usr/bin/env ruby
require 'rubygems'
require 'sequel'
@db = Sequel.connect("postgres://postgres@localhost/mydb")
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.0/lib/thin/server.rb:51: uninitialized constant Thin::Server::Forwardable (NameError)
require 'rubygems'
require 'main'
run Sinatra::Application
require 'thread'
require 'benchmark'
N = 200000
def competition(&block)
t1 = Thread.new {
for i in 1..N
block.call
end
task :environment do
require File.dirname(__FILE__) + '/lib/all'
end
require 'benchmark'
namespace :bench do
task :write => :environment do
puts Benchmark.realtime {
1000.times { |x| c = Counting.new; c.num = x; c.save; }
}