Skip to content

Instantly share code, notes, and snippets.

View vicmancb's full-sized avatar

Victor Cataño vicmancb

View GitHub Profile
@vicmancb
vicmancb / cloudSettings
Last active October 21, 2021 21:08
VSCode Settings
{"lastUpload":"2021-10-21T21:08:44.839Z","extensionVersion":"v3.4.3"}
{
"content": {
"status": "ACTIVE",
"operations": {
"delete": {
"allowed": true,
"restriction": "HAS_MODELED"
}
},
"reports": [],
@vicmancb
vicmancb / getCalc-Response.json
Last active January 13, 2017 20:27
calculator
{
"data" : {
"distributors" : 13,
"customers" : 22
}
}
@vicmancb
vicmancb / esteEsUnRequest.json
Last active December 5, 2016 21:21
ejemplo para diego
{
"name" : "Victor",
"email" : "vcatano3@psl.com.co"
}

Building a desktop application with Electron

This is a tutorial for building a Markdown-to-HTML renderer using Electron. It is meant to accompany my session on Building a desktop application with Electron at JSConf Colombia.

The slides for the first part of the presentation are available here.

About Steve

Steve is the Director of Academics for the Front-End Engineering program at the Turing School of Software and Design in Denver, Colorado, USA.

{
"url": "http://www.thisistheurl.com"
}
@vicmancb
vicmancb / paygate.json
Last active September 29, 2016 16:50
RankComparison and paygates
{
"links": {
"next": false,
"last": "2016-08-31"
},
"distributor_id": "12878",
"datetime": "2016-08-31T00:00:00Z",
"distributor_picture": "//assets.kyani.net/uploads/12878/pteZM.150706.200.jpg",
"percent_complete": 0.47,
"ranks": {
@vicmancb
vicmancb / jorge.json
Last active September 10, 2016 01:55
ejemplo para jorge
{
"name": "Jorge Luis Mena Vasco",
"cedula": 1234,
"altura" : 200d,
"gusto-musical" : [
"Vallenatos",
"Punk"
]
}
function distance(lat1, lon1, lat2, lon2) {
var radlat1 = Math.PI * lat1/180
var radlat2 = Math.PI * lat2/180
var theta = lon1-lon2
var radtheta = Math.PI * theta/180
var dist = Math.sin(radlat1) * Math.sin(radlat2) + Math.cos(radlat1) * Math.cos(radlat2) * Math.cos(radtheta);
dist = Math.acos(dist)
dist = dist * 180/Math.PI
dist = dist * 60 * 1.1515
dist = dist * 1.609344