Skip to content

Instantly share code, notes, and snippets.

View mishawagon's full-sized avatar
🎯
Focusing

Misha Rabinovich mishawagon

🎯
Focusing
View GitHub Profile
Processing Admin::ProductsController#update (for 127.0.0.1 at 2009-12-01 12:29:06) [PUT]
Parameters: {"action"=>"update", "_method"=>"put", "authenticity_token"=>"r+KLUyyvKNpX1GCON0Sk9FynxDeQJucxVlf7zexTcyA=", "id"=>"adsf", "product"=>{"price"=>"3.0", "name"=>"adsf", "tax_category_id"=>"", "available_on"=>"", "shipping_category_id"=>"", "depth"=>"", "non_stock_url"=>"sfg", "weight"=>"", "meta_description"=>"", "meta_keywords"=>"", "on_hand"=>"0", "height"=>"", "sku"=>"", "description"=>"qwre", "width"=>""}, "controller"=>"admin/products"}
Taxonomy Load (0.8ms) SELECT * FROM `taxonomies`
Taxonomy Columns (1.0ms) SHOW FIELDS FROM `taxonomies`
Product Columns (1.5ms) SHOW FIELDS FROM `products`
SQL (1.0ms) SHOW TABLES
Property Columns (0.9ms) SHOW FIELDS FROM `properties`
Property Load (0.2ms) SELECT * FROM `properties` WHERE (`properties`.`name` = 'brand') LIMIT 1
SQL (0.8ms) SHOW TABLES
Taxon Load (0.3ms) SELECT `taxons`.* FROM `taxons` WHERE (`taxons`.taxonomy_id IN (4751998
conservatism city state country latitude longitude
0.41 Mesa AZ USA 33.415184 -111.831474
0.26 Oklahoma City OK USA 35.468491 -97.521263
0.25 Virginia Beach VA USA 36.852924 -75.977982
0.23 Colorado Springs CO USA 38.833881 -104.821365
0.18 Jacksonville FL USA 30.332184 -81.655647
0.16 Arlington TX USA 32.735592 32.735592
0.15 Anaheim CA USA 33.836594 -117.914299
0.08 Omaha NE USA 41.256538 -95.934502
0.07 Ulsa OK USA 36.15398 -95.992775
# ---------------------------------- WARNING ----------------------------------------
# Some of the data that you have obtained from this U.S. Geological Survey database
# may not have received Director's approval. Any such data values are qualified
# as provisional and are subject to revision. Provisional data are released on the
# condition that neither the USGS nor the United States Government may be held liable
# for any damages resulting from its use.
#
agency_cd site_no datetime tz_cd 174907_72019 174907_72019_cd
5s 15s 20d 6s 14n 10s
USGS 174237064474900 2019-01-21 00:00 AST 14.09 P
'use strict';
const csv = require('csv-parser');
const fs = require('fs');
const results = [];
csv({ separator: '\t' });
fs.createReadStream('usgs_small.txt')
@mishawagon
mishawagon / .block
Created March 4, 2019 23:28
State Icons
license: mit

Keybase proof

I hereby claim:

  • I am mishawagon on github.
  • I am mishawagon (https://keybase.io/mishawagon) on keybase.
  • I have a public key ASDb01y8d8k1pIH3apwwvWrZWngB1ha15j9PVNXI6S-2Sgo

To claim this, I am signing this object:

@mishawagon
mishawagon / training-day
Last active June 24, 2019 23:41
dadabotsSamleRNN Troubles
#first tried:
#$ THEANO_FLAGS=mode=FAST_RUN,device=cuda*,floatX=float32 python -u models/two_tier/two_tier32k.py --exp BEST_2TIER --n_frames 64 --frame_size 16 --emb_size 256 --skip_conn False --dim 1024 --n_rnn 3 --rnn_type GRU --q_levels 256 --q_type linear --batch_size 128 --weight_norm True --learn_h0 True --which_set krallice
#got this error:
Training!
0
Traceback (most recent call last):
File "models/two_tier/two_tier32k.py", line 614, in <module>