Easy example on how to put marker on a d3.js map.
You got 2 options:
- using d3.geo.path() which does all the work for you
- using svg circles and translating them via projection(d.geometry.coordinates)
# best practice: linux | |
nano ~/.pgpass | |
*:5432:*:username:password | |
chmod 0600 ~/.pgpass | |
# best practice: windows | |
edit %APPDATA%\postgresql\pgpass.conf | |
*:5432:*:username:password | |
# linux |
#!/usr/bin/env python3 | |
# Download the latest successful build artifacts from Jenkins using Python 3 | |
# John McGehee 1/25/2016 | |
# | |
# Based on the Python 2 version by supertom: https://gist.github.com/supertom/2759847 | |
import argparse | |
import codecs | |
import io | |
import json |
using UnityEngine; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Threading; | |
class BitmapEncoder | |
{ | |
public static void WriteBitmap(Stream stream, int width, int height, byte[] imageData) |
Easy example on how to put marker on a d3.js map.
You got 2 options:
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="Rule" stopProcessing="true"> | |
<match url="^(.*)$" ignoreCase="false" /> | |
<conditions> | |
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> | |
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> |
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="Index"> | |
<match url="^(.*)$" /> | |
<conditions> | |
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> | |
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> |
@echo off | |
:: http://stackoverflow.com/questions/328017/path-to-msbuild | |
:: http://www.csharp411.com/where-to-find-msbuild-exe/ | |
:: http://timrayburn.net/blog/visual-studio-2013-and-msbuild/ | |
:: http://blogs.msdn.com/b/visualstudio/archive/2013/07/24/msbuild-is-now-part-of-visual-studio.aspx | |
setlocal | |
:vswhereModernTry | |
:: https://github.com/Microsoft/vswhere/wiki/Find-MSBuild | |
:: Normal output example of `vswhere -legacy -latest -property installationPath` has no trailing back-slash: |
{ | |
"name": "Root", | |
"children": [ | |
{ | |
"name": "Branch 1", | |
"children": [ | |
{"name": "Leaf 3"}, | |
{"name": "Leaf 4"} | |
] | |
}, |
#Gradle | |
.gradle/ | |
build/ | |
# Eclipse | |
.classpath | |
.project | |
.settings/ | |
bin/ |
size
value in @page
, and the height
and width
properties of body
.front.png
of the same dimensions as the card.prince index.html card.pdf
.