Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mih4ajlo
mih4ajlo / da.json
Created October 3, 2021 16:09
geojson bg opstine
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<?php
/**
* PHP class to convert Latitude & Longitude coordinates into UTM & Lambert Conic Conformal Northing/Easting coordinates.
*
* This class encapsulates the methods for representing a geographic point on the earth in three different coordinate systema. Lat/Long, UTM and Lambert Conic Conformal.
*
* Code for datum and UTM conversion was converted from C++ code written by Chuck Gantz (chuck.gantz@globalstar.com) from http://www.gpsy.com/gpsinfo/geotoutm/
* This code was converted into PHP by Brenor Brophy (brenor@sbcglobal.net) and later refactored for PHP 5.3 by Hans Duedal (hd@onlinecity.dk).
*
@mih4ajlo
mih4ajlo / graph.json
Last active October 16, 2018 16:23
Combination collapsing and http://bl.ocks.org/eyaler/10586116
{
"graph": [],
"links": [
{"source": 0, "target": 1},
{"source": 0, "target": 2},
{"source": 0, "target": 3},
{"source": 0, "target": 4},
{"source": 0, "target": 5},
{"source": 0, "target": 6},
{"source": 1, "target": 3},
@mih4ajlo
mih4ajlo / graph.json
Created October 3, 2018 08:24
Testing collapsable layout with non-tree data
{
"nodes": [
{"x": 469, "y": 410},
{"x": 493, "y": 364},
{"x": 442, "y": 365},
{"x": 467, "y": 314}
],
"links": [
{"source": 0, "target": 1},
{"source": 1, "target": 2},
@mih4ajlo
mih4ajlo / index.html
Created September 7, 2018 14:33
zadnji
<!DOCTYPE html>
<meta charset="utf-8">
<style>
circle {
stroke-width: 1.5px;
}
line {
stroke: #999;
@mih4ajlo
mih4ajlo / .gitignore
Last active September 3, 2018 10:36 — forked from GerHobbelt/.gitignore
Test force layout tree
# Editor backup files
*.bak
*~
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Org chart</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/orgchart/2.1.1/css/jquery.orgchart.min.css">
@mih4ajlo
mih4ajlo / data.json
Created July 23, 2018 04:13
data for testing
[
{
"SourceID": "5b5555e56de1b95352c9e7ce",
"BundleGroupID": 0,
"PrimaryProductType": "Association",
"EffectiveDate": "2018-07-17T06:36:02 -02:00",
"Demographics": {
"PostalCode": 58000,
"StateAbbreviation": "NM",
"County": "random",