The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#!/usr/bin/env bash | |
# Bulk convert shapefiles to geojson using ogr2ogr | |
# For more information, see http://ben.balter.com/2013/06/26/how-to-convert-shapefiles-to-geojson-for-use-on-github/ | |
# | |
# usage: geojsonize *.zip | |
# | |
# Note: Assumes you're in a folder with one or more zip files containing shape files | |
# and Outputs as geojson with the crs:84 SRS (for use on GitHub or elsewhere) |
import requests | |
from bs4 import BeautifulSoup | |
sitemap = 'http://www.nasa.gov/sitemap/sitemap_nasa.html' | |
r = requests.get(sitemap) | |
html = r.content | |
soup = BeautifulSoup(html, 'html.parser') | |
links = soup.find_all('a') |
We are exploring our options for "Terms of use" and "Privacy policy" generation
I've shared this contact for use by Creative, Digital and Marketing Agencies (or any company for that matter) to use when contracting a Freelance Web Developer on digital projects. Feel free to fork, amend and use for your own projects however please be nice and credit where credit is due and take a note of the disclaimer on this document.
My aim is to create a realistic, agreeable contract with as little unreadable jargon as possible. Hopefully this example contract achieves that and is useful to you, feel free to comment so I can amend.
PS: feel free to remove this section (of course) when using in your final docs.
# This example will return both the URL and title for the frontmost tab of the active browser, separated by a newline. | |
# Keep in mind that by using `using terms from`, we’re basically requiring that referenced browser to be available on the system | |
# (i.e., to use this on "Google Chrome Canary" or "Chromium", "Google Chrome" needs to be installed). | |
# This is required to be able to use a variable in `tell application`. If it is undesirable, the accompanying example should be used instead. | |
tell application "System Events" to set frontApp to name of first process whose frontmost is true | |
set currentTabUrl to "" | |
set currentTabTitle to "" | |
if (frontApp is "Safari") or (frontApp is "Webkit") then |