How to set up a quick geocoding system on google spreadsheets.
- Create a new spreadsheet
- Open the Scripts editor and paste the script attached
- Use on your spreadsheet this new formula
=searchMapzen(place_cell,mapzen_api_key)
border:none | |
height:696 | |
license:MIT |
<?php | |
/** | |
* This plugin creates a new paragraph entity based on the source. | |
* | |
* @MigrateProcessPlugin( | |
* id = "mds_paragraph" | |
* ) | |
*/ | |
class ParagraphMigrateProcessor extends ParagraphProcessBase { |
// Run from the dev tools console of any Youtube video | |
// Accurate as of July 2, 2020. | |
// | |
// Copy and paste this into the dev console in a browser with the desired video loaded. | |
// | |
// NOTE: Some Youtube videos do not directly expose the video url in the response. | |
// This script doesn't currently attempt to handle those. It will work for most other general video types though. | |
(async () => { | |
const html = await fetch(window.location.href).then((resp) => resp.text()).then((text) => text); |
<?php | |
/** | |
* Display a list of the 10 most favorited posts | |
* @see https://wordpress.org/plugins/favorites/ | |
*/ | |
$favorites_query = new WP_Query(array( | |
'post_type' => array('post'), | |
'posts_per_page' => 10, | |
'meta_key' => 'simplefavorites_count', | |
'orderby' => 'meta_value_num', |
Config is 2vCPU, 2 GB RAM and running Debian 7 on 64 bits.
apt-get update
apt-get upgrade
apt-get install htop
Add localadmin user
adduser localadmin
apt-get install sudo
var intersections, // Geojson | |
map, | |
delaware, // Lat/Lng of center of Delaware | |
streetMapUrl, | |
streetMapLayer, | |
geosearch, | |
legend, | |
polyindex, // Custom ID for each point. | |
highlightStyle = { | |
fillColor: 'green', |
import sys | |
import colorsys | |
from colorz import colorz | |
WALLPAPER = '/home/james/.wallpaper' | |
COLORS = '/home/james/.colors' | |
XRESOURCES = '/home/james/.Xresources' | |
cols = '' | |
xres = """ |