DB.create_table :test_ts2 do
primary_key :id
timestamp :xtimestamp1
timestamp :xtimestamp2
end
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
1. para hacer un caldo de bonito | |
1,300 de espinas y recorte de bonito, aceite de oliva, 65 gr de vino blanco, 1 litro de agua, sal fina | |
trocear las espinas y los recortes, dorar en sarten con oliva, aladir el vino, reducir y agregar el agua, cocinar 40 minutos, hasta tener un rico caldo, debe quedarnos entre 350 y 400 gr de caldo. reservar. | |
2.para el bonito confitado | |
500 gr de bonito | |
200 gr de aceite de oliva | |
sal | |
cortar el bonito en trozoz de 7 cm, salar. calentar el aceite a 90 grados, colocar el bonito en un bowl y cubrir con el aceite a 90 grados, dejar ahí mismo 12 minutos, sacar, reservar el aceite. | |
3. para hacer el escabeche | |
80 gr de ajo |
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
module Tor | |
class Controller | |
def signal(name) | |
send_command(:signal,name) | |
read_reply | |
end | |
end | |
end |
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
Gmail says: | |
Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning no-reply@sumavisos.com does not designate 190.224.160.24 as permitted sender) smtp.mail=no-reply@sumavisos.com; dkim=neutral (bad format) header.i=@mailing.sumavisos.com | |
host -t TXT mailing.sumavisos.com ns5.zoneedit.com | |
Using domain server: | |
Name: ns5.zoneedit.com | |
Address: 50.22.254.144#53 | |
Aliases: |
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
1.9.3p194 :008 > pp JSON.parse(HTTPI.post( "http://safertaxi.com.ar/proxy.php?route=/backend/cars/near_me", "data[location][longitude]=-58.493&data[location][latitude]=-34.62062").body) | |
[{"Car"=> | |
{"latitude"=>"-34.600246650000000", | |
"longitude"=>"-58.465137900000000", | |
"plate"=>"LLS072", | |
"driver_id"=>39973, | |
"id"=>1018, | |
"Driver"=> | |
{"is_available"=>false, | |
"id"=>39973, |
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
mysql> select json_extract('{"phones":["555-5555"],"emails":["info@x.com.ar"]}',"$.emails[0]"); | |
+----------------------------------------------------------------------------------+ | |
| json_extract('{"phones":["555-5555"],"emails":["info@x.com.ar"]}',"$.emails[0]") | | |
+----------------------------------------------------------------------------------+ | |
| NULL | | |
+----------------------------------------------------------------------------------+ |
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
require 'rack/urlmap' | |
require 'rack/mock' | |
describe Rack::URLMap do | |
it "dispatches domain-specific routes correctly" do | |
map = Rack::URLMap.new("http://foo.org/" => lambda { |env| | |
[200, | |
{ "Content-Type" => "text/plain", | |
"X-Position" => "foo.org", | |
"X-Host" => env["HTTP_HOST"] || env["SERVER_NAME"], |
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
Usando este dataset http://data.buenosaires.gob.ar/dataset/barrios/resource/0bb5510f-bbbf-471c-a758-849f3656fb70 (barrios.shp) | |
y con esta linea de ogr2ogr: | |
`ogr2ogr -t_srs EPSG:4326 -f GeoJSON barrios.json barrios.shp` | |
me genera un barrios.json | |
```json |
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
class { | |
apt: ; | |
'percona': | |
server => true, | |
percona_version => "5.6", | |
} | |
Class['apt'] -> Class['percona'] |
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
1: 172.16.1.1 2.832ms | |
1: 172.16.1.1 0.292ms | |
2: 184.173.144.41-static.reverse.softlayer.com 1.593ms | |
3: ae13.dar01.sr01.wdc01.networklayer.com 0.764ms | |
4: ae8.bbr02.eq01.wdc02.networklayer.com 1.828ms | |
5: be-100-pe01.ashburn.va.ibone.comcast.net 6.128ms | |
6: pos-3-10-0-0-cr01.ashburn.va.ibone.comcast.net 3.368ms | |
7: he-0-12-0-1-pe07.ashburn.va.ibone.comcast.net 2.210ms | |
8: n-a.GW12.IAD8.ALTER.NET 1.688ms asymm 9 | |
9: 0.xe-8-0-1.GW1.MIA19.ALTER.NET 27.694ms asymm 12 |
OlderNewer