Skip to content

Instantly share code, notes, and snippets.

Volkan Unsal volkanunsal

View GitHub Profile
View schema
# Table name: units
#
# id :bigint(8) not null, primary key
# name :string not null
# visibility :string not null
# status :string not null
# floor :string
# suite :string
# rentable_sqft :integer default(0), not null
# use :string not null
View tenant2.txt
address
perks
lease_start
lease_expiration
asking_price_per_sqft_cents
contract_value_per_sqft_cents
asking_price_per_sqft_currency
contract_value_per_sqft_currency
use
facebook_link
View tenant.rb
# Table name: tenants
#
# id :bigint(8) not null, primary key
# name :string
# category :string
# subcategories :text default([]), is an Array
# status :string not null
# url :string
# phone :string
# email :string
View BirdOfPrey.json
{
"name": "Bird of Prey",
"globals": {
"active_guide": "#9D550FB0",
"background": "#111111",
"bracket_contents_foreground": "#F8F8F2A5",
"bracket_contents_options": "underline",
"brackets_foreground": "#F8F8F2A5",
"brackets_options": "underline",
"caret": "#F8F8F0",
View volkan.zsh-theme
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} %{$fg_bold[blue]%}(%{$fg[red]%}${RUBY_VERSION}%{$fg_bold[blue]%}) $(git_prompt_info)'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
View workflows.chunk-b0b3aaf8e4dc3100289d.js.map
{"version":3,"file":"workflows.chunk-b0b3aaf8e4dc3100289d.js","sources":["webpack:///workflows.chunk-b0b3aaf8e4dc3100289d.js"],"sourcesContent":["(window.webpackJsonp=window.webpackJsonp||[]).push([[\"workflows\"],{\"1BAd\":function(e,n,t){\"use strict\";t.r(n);var r=t(\"qKvR\"),c=t(\"wSuE\"),a=(t(\"q1tI\"),t(\"V3KQ\")),o=t.n(a),s=t(\"XGHY\");n.default=Object(c.hot)(function(){var e=[];return s.keys().forEach(function(n){var t=function(e){return o()(e.match(/\\/(.+)\\.svg$/)[1].replace(\"_\",\" \"))}(n),r=window.location+\"/svg/\"+n;e.push({name:t,path:r})}),Object(r.c)(\"div\",{className:\"container\"},Object(r.c)(\"div\",{className:\"page-header\"},Object(r.c)(\"h1\",null,\"List of all workflows\")),Object(r.c)(\"ul\",{className:\"list-unstyled\"},e.map(function(e,n){return Object(r.c)(\"li\",{key:n,className:\"mb-4\"},Object(r.c)(\"a\",{target:\"_blank\",rel:\"noopener noreferrer\",href:e.path},e.name),Object(r.c)(\"a\",{target:\"_blank\",rel:\"noopener noreferrer\",href:e.path},Object(r.c)(\"img\",{src:e.
View click1.txt
web.1 | Started POST "/graphql" for 127.0.0.1 at 2019-09-30 07:26:26 -0400
web.1 | Processing by GraphqlController#execute as */*
web.1 | Parameters: {"operationName"=>"getListPanelProjects", "variables"=>{"filters"=>{"type"=>["Tenant"], "bbox"=>"-74.00665283203126,40.694956309550584,-73.87516021728517,40.79873682494156", "dashboardId"=>"lic-development-map", "isAtParcel"=>nil}, "first"=>10, "after"=>nil, "before"=>nil}, "query"=>"query getListPanelProjects($filters: FiltersInput!, $first: Int!, $before: String, $after: String) {\n projectList(filters: $filters, first: $first, before: $before, after: $after) {\n totalCount\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n __typename\n }\n nodes {\n id\n resourceId\n type\n name\n latlon\n category\n status\n fillColor\n __typename\n }\n __typename\n }\n}\n", "graphql"=>{"operationName"=>"getListPanelProjects", "variables"=>{"filters"=
@volkanunsal
volkanunsal / request.json
Created Mar 29, 2019
Carto response missing `metadata.layers[0].tilejson.raster`
View request.json
{
"analyses": [
{
"id": "hoboken_parcels_2018",
"type": "source",
"params": {
"query": "SELECT cartodb_id, the_geom, the_geom_webmercator FROM hoboken_parcels_2018"
}
},
{
View gist:5634ef3182dfe5d5a1fd4ee4ccd422dd
Warning: Permanently added 'github.com,192.30.253.113' (RSA) to the list of known hosts.
remote: Enumerating objects: 124317, done.
remote: Counting objects: 100% (122849/122849), done.
remote: Compressing objects: 100% (24435/24435), done.
remote: Total 120781 (delta 96165), reused 118908 (delta 94550), pack-reused 0
Receiving objects: 100% (120781/120781), 52.97 MiB | 18.03 MiB/s, done.
@volkanunsal
volkanunsal / proposal.md
Last active Nov 30, 2018
Geostamping on Cardano
View proposal.md

Geostamping is an active area of research in the Cardano community. In the last year, Cardano Foundation released a report detailing how a geostamp (combination of a timestamp and a geolocation) could be created for the blockchain using the open source GeoGnomo project.[1][2] The three geocoding techniques implemented by GeoGnomo include: QTS (Quarternary Triangular System), QRS (Quarternary Rectangular System) and VRS (Variable Rectangular System.) These algorithms work by dividing the earth into self-similar rectangles or triangles and giving each shape a unique label. Compared to the traditional approach of geocoding by latitude/longitude, these systems come with the benefit of a compact, human-readable representation, but at the cost of precision. The space-filling shapes used by GeoGnomo are not very precise because each algorithm uses only one type of shape, i.e. a triangle or a rectangle. Higher levels of resolution can be achieved by using Hilbert curves, a fractal shape that can fill a geometric spac

You can’t perform that action at this time.