This Python script utilizes the GeoPy geocoding library to batch geocode a number of addresses, using various services until a pair of latitude/longitude values are returned.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is an example config file for cartesian style printers. | |
# One may copy and edit this file to configure a new cartesian | |
# printer. | |
# DO NOT COPY THIS FILE WITHOUT CAREFULLY READING AND UPDATING IT | |
# FIRST. Incorrectly configured parameters may cause damage. | |
# See docs/Config_Reference.md for a description of parameters. | |
##################################################################### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
M104 S0 ;chauffage de l'extrudeuse éteint | |
M140 S0 ;chauffe-lit chauffant éteint | |
G91 ;positionnement relatif | |
G1 E-1 F300 ;rétracter un peu le filament avant de soulever la buse, pour libérer une partie de la pression | |
G1 Z+0.5 E-5 X-20 Y-20 F9000 ;déplacez Z un peu et retirez le filament encore plus | |
G28 X0 Y0 ;déplacez X / Y jusqu'à la butée min, de sorte que la tête soit à l'écart | |
G90 ;positionnement absolu | |
G1 Y190 F9000 ;le lit se déplace vers l'avant | |
M84 ;steppers off |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
M104 S0 ;chauffage de l'extrudeuse éteint | |
M140 S0 ;chauffe-lit chauffant éteint | |
G91 ;positionnement relatif | |
G1 E-1 F300 ;rétracter un peu le filament avant de soulever la buse, pour libérer une partie de la pression | |
G1 Z+0.5 E-5 X-20 Y-20 F9000 ;déplacez Z un peu et retirez le filament encore plus | |
G28 X0 Y0 ;déplacez X / Y jusqu'à la butée min, de sorte que la tête soit à l'écart | |
G90 ;positionnement absolu | |
G1 Y190 F9000 ;le lit se déplace vers l'avant | |
M84 ;steppers off |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
M104 S0 ; turn off extruder | |
M140 S0 ; turn off heatbed | |
M107 ; turn off fan | |
G91 ; relative positioning | |
G1 Z25 ; raise head 25mm | |
G90 ; back to absolute positioning | |
G1 X0 Y220; home X axis and push Y forward | |
M84 ; disable motors | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Python script for batch geocoding of addresses using the Google Geocoding API. | |
This script allows for massive lists of addresses to be geocoded for free by pausing when the | |
geocoder hits the free rate limit set by Google (2500 per day). If you have an API key for paid | |
geocoding from Google, set it in the API key section. | |
Addresses for geocoding can be specified in a list of strings "addresses". In this script, addresses | |
come from a csv file with a column "Address". Adjust the code to your own requirements as needed. | |
After every 500 successul geocode operations, a temporary file with results is recorded in case of | |
script failure / loss of connection later. | |
Addresses and data are held in memory, so this script may need to be adjusted to process files line |
Two common cases which make the install of Python packages harder due to networking issues are: a) Install behind a Proxy b) Install without access to the internet
In the case where the target machine connects to the internet over a network proxy, export the following environment vars, as appropriate - http_proxy
and https_proxy
. Eg:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* WP Import, Ver 2015.01.04 | |
* (C) 2015 by ZoRg Soft | |
* MODx Notes - WP Import модуь для импорта записей из Wordpress | |
* http://agarkov.org/modx-x/evo-wpimport | |
*/ | |
$theme = $modx->config['manager_theme']; | |
$basePath = $modx->config['base_path']; |
LEMP is the new LAMP. If you were an Apache user like most of us, simply follow this guide to easily deploy and learn develop to develop on Nginx.
Be sure that you are already running Linux be it Ubuntu, CentOS or RHEL. However, this guide will demonstrate installation guide for Ubuntu Server 14.04 LTS.
###Minimal Portfolio with MODX and Isotope.js ####Use hierarchical resource (parent->child) to structure categories ####Demo here : http://tinyurl.com/n5slndh
####MODX Extra:
- pdoResources in pdoTools http://modx.com/extras/package/pdotools
NewerOlder