Skip to content

Instantly share code, notes, and snippets.

View fperucic's full-sized avatar

Fran Peručić fperucic

View GitHub Profile
@oscarlorentzon
oscarlorentzon / index.html
Last active January 16, 2025 17:44
MapillaryJS + OpenLayers
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title></title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<link href='https://unpkg.com/[email protected]/dist/mapillary.min.css' rel='stylesheet' />
<link rel="stylesheet" href="https://openlayers.org/en/v5.2.0/css/ol.css" type="text/css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css">
@in4lio
in4lio / vCard_S30.py
Last active July 18, 2025 16:02
Сonvert vCards into suitable for Nokia Series 30+ format
r"""
vCard_S30.py -- Convert vCards into suitable for Nokia Series 30+ format, or
How to solve the only one phone number per contact problem.
1) Import contacts "contacts.vcf" from Google account (vCard format).
2) Place it beside this script.
3) Run the script with Python 2.7.
4) Copy the result "backup.dat" into "Backup" folder on the phone SD card.
5) Restore contacts from backup on the phone.
@bradbrowne
bradbrowne / create-spatial-index-on-esri-shapefile-using-ogrinfo.cmd
Last active September 23, 2022 19:37
Create Spatial Index on Esri Shapefile using ogrinfo
ogrinfo -sql "CREATE SPATIAL INDEX ON PROPERTY_VIEW" "PROPERTY_VIEW.shp"
@wonkoderverstaendige
wonkoderverstaendige / ZMQ_DEBUG.props
Created November 18, 2013 02:22
ZeroMQ C++ example server with corresponding Python client. From http://zguide.zeromq.org/page:all
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_PropertySheetDisplayName>ZMQ_DEBUG</_PropertySheetDisplayName>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>%ZMQ_DIR%\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>