Skip to content

Instantly share code, notes, and snippets.

View andreitr's full-sized avatar

andrei andreitr

View GitHub Profile
const { signTypedData, data, error } = useSignTypedData();
const handleSign = async () => {
try {
const domain = {
name: 'Sign referral',
version: '1',
[
{
id: 61,
name: "Going West",
year: "1935",
url: "http://uploads5.wikiart.org/images/jackson-pollock/going-west.jpg",
color_values: null,
color_percent: null,
created_at: "2015-09-24T02:30:13.413Z",
updated_at: "2015-09-24T02:30:13.413Z"
no such file to load -- lib/ms7
org/jruby/RubyKernel.java:1027:in `require'
/mnt/hgfs/Development/ms7/sentry/sentry_server/config/application.rb:10:in `(root)'
org/jruby/RubyKernel.java:1027:in `require'
/mnt/hgfs/Development/ms7/sentry/sentry_server/Rakefile:1:in `(root)'
org/jruby/RubyKernel.java:1046:in `load'
/mnt/hgfs/Development/ms7/sentry/sentry_server/Rakefile:5:in `(root)'
org/jruby/RubyKernel.java:1046:in `load'
org/jruby/RubyKernel.java:1066:in `eval'
/home/ms7/.rvm/gems/jruby-1.7.2@sentry_server/bin/ruby_noexec_wrapper:14:in `(root)'
Don't know how to build task 'jasmine'
/home/ms7/.rvm/gems/jruby-1.7.2@global/gems/rake-10.0.3/lib/rake/task_manager.rb:49:in `[]'
/home/ms7/.rvm/gems/jruby-1.7.2@global/gems/rake-10.0.3/lib/rake/application.rb:142:in `invoke_task'
/home/ms7/.rvm/gems/jruby-1.7.2@global/gems/rake-10.0.3/lib/rake/application.rb:101:in `top_level'
org/jruby/RubyArray.java:1613:in `each'
/home/ms7/.rvm/gems/jruby-1.7.2@global/gems/rake-10.0.3/lib/rake/application.rb:101:in `top_level'
/home/ms7/.rvm/gems/jruby-1.7.2@global/gems/rake-10.0.3/lib/rake/application.rb:110:in `run_with_threads'
/home/ms7/.rvm/gems/jruby-1.7.2@global/gems/rake-10.0.3/lib/rake/application.rb:95:in `top_level'
/home/ms7/.rvm/gems/jruby-1.7.2@global/gems/rake-10.0.3/lib/rake/application.rb:73:in `run'
/home/ms7/.rvm/gems/jruby-1.7.2@global/gems/rake-10.0.3/lib/rake/application.rb:160:in `standard_exception_handling'
//
// DSPhotoController.m
// DoodleStash
//
// Created by Andrei Taraschuk on 11/24/12.
// Copyright (c) 2012 Andrei Taraschuk. All rights reserved.
//
#import "DSPhotoController.h"
#import "DSConfirmController.h"
25 Oct 2012 19:33:52,462 D11ABF2937C977BD5FA48FA8FA5E8100 ERROR GrailsExceptionResolver – ConcurrentModificationException occurred when processing request: [GET] /dir/venue/search Stacktrace follows: java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
at java.util.AbstractList$Itr.
next(AbstractList.java:343)
at ly.close.services.mobile.VenueService$_updateExistingLinks_closure4.doCall(VenueService.groovy:276)
at ly.close.services.mobile.VenueService.updateExistingLinks(VenueService.groovy:266)
at ly.close.services.mobile.VenueService.matchDeals(VenueService.groovy:111)
at ly.close.controllers.mobile.VenueController$_closure2.doCall(VenueController.groovy:120)
at ly.close.springfilters.auth.AJAXLogoutFilter.doFilter(AJAXLogoutFilter.groovy:69)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<actionScriptProperties analytics="false" mainApplicationPath="Sputnik.as" projectUUID="d746f323-700d-44a9-86fc-8f444891db35" version="10">
<compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="true" fteInMXComponents="false" generateAccessible="true" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="js/swf" removeUnusedRSL="true" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
<excludedEntries>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_charts.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="1" linkType="1" path="${PROJECT_FRAMEWORKS}/lo
{"classification":null,"icon_link":null,"is_raster":false,"unique_name":"","data_attributes":null,"tags":"","link":"http://demo.geoiq.com/overlays/5382.json","extent":[-74.0216840296502,40.7097120456983,-73.9386750455634,40.8235120258762],"state":"complete","permissions":[{"group_id":61,"permissions":{"download":true,"edit":true,"view":true}},{"group_id":627,"permissions":{"download":true,"view":true}}],"short_classification":"Y","name":"Devices - Ten Minute Cache","feature_count":833554,"stream_id":5382,"pagination":{"limit":100000,"sort":null,"start":0,"total":833554},"stats":{"period":{"max": "2011/12/07 18:50:00 -0500", "min": "2011/10/04 18:50:00 -0400"},"count":{"median": null, "max": 1153, "mean": 2.35401905575404, "stdev": 7.14916250945749, "variance": 51.1105245866325, "min": 1}},"url_type":null,"description":"10-minute aggregated caches to NYC Census Block","title":"Devices - Ten Minute Cache","calculation_params":null,"source":"","contributor":{"url":"http://demo.geoiq.com/users/andrew","name":"and
@andreitr
andreitr / gist:647988
Created October 26, 2010 22:34
Two Layers
http://mercator.nrel.gov/cgi-bin/nrel_wms?REQUEST=GetMap&LAYERS=us%5Fstates%2Cus%5Fincome%5Fdist&HEIGHT=256&WIDTH=256&FORMAT=image%2Fpng&VERSION=1%2E1%2E1&SRS=EPSG%3A900913&TRANSPARENT=true&service=WMS&BBOX=-10018754.17000,-10018754.17000,0.00001,-0.00001
@andreitr
andreitr / gist:647975
Created October 26, 2010 22:29
WMS Request
http://mercator.nrel.gov/cgi-bin/nrel_wms?REQUEST=GetMap&LAYERS=solar%5Flanduse%5Fex%2Creservations%2CNGasRateResClass%2Cffvs%5Fby%5Fcounty%2Cmsm%5Fh2%5Fprod%5Fstate%5Fpetroleum%2Cdoe%5Ffleet%2CDSL%5FDensity%2CH%5FElectricCostRes%2CH%5FNGasCostRes%2Cus%5Falt%5Ffuel%5Fstations%5Fcng%2Csolar%5Fregions%2Cdod%5Fmilitary%2Cwrez%5Fhubs%2CH2fueling%5Fstations%2Cutah%5Fgeothermal%5Fzones%2Cepa%5Fsites%2Ccan%5Fhydro%2Cus%5Fcities%2Cethanol%5Fplant%5Flocations%5Fidle%2Clandfills%2Clandfills%5Fwo%5Fprojects%2Cwrez%5Fsolar%5Ffilter%5F02%2Cwind%5Fgap%5Fex%2Cverizon%5Ffleet%2CPolk07%2Cbio%5Fprime%5Fmills%5Fvibe%2Csolar%5Furban%5Fex%2CElectricRateComClass%2Chawaii%5Fag%5FE%2CH%5FH2ProdCostNGasInd%2CHProdFacilities%2CH%5FH2ProdCostElecRes%2Cwrez%5Fwind%5Ffilter%2CNGasRateComClass%2CperezANN%2Cbio%5Fregions%2Cbiodiesel%5Fplant%5Flocations%2CH2ProdCostNGasCom%2Clandfills%5Fw%5Fprojects%2CWADNR%5FNAP%5FNRCA%2Cblm%5Facec%2CH%5Fproductionfacilities%2CElectricRateIndClass%2Cwind%5Ffilter%2Celn%5Favoid%5Fareas%2Chydro%5Fpnts%2Cegri