The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
| { | |
| "name": "nightwatch_webcrawler", | |
| "description": "A web crawler sample based on nightwatch.", | |
| "version": "0.0.1", | |
| "author": { | |
| "name": "tonypai", | |
| "email": "tony77794@gmail.com" | |
| }, | |
| "homepage": "http://github.com/tpai", | |
| "dependencies": { |
| #Website Contract | |
| ##[DATE] | |
| ##Summary: | |
| I’ll always do my best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. I’ve no desire to trick you into signing something that you might later regret. What I do want is what’s best for both parties, now and in the future. | |
| So in short; | |
| You [CLIENT NAME], is hiring me, [YOUR NAME] trading as nothingrandom, located at [ADDRESS], to [THE JOB YOU ARE DOING] for the estimated total price of [ESTIMATED PRICE] as outlined in our previous correspondence. Of course it’s a little more complicated, but I’ll get to that. |
| import Queue | |
| initial_page = "http://www.initial_page.com" | |
| url_queue = Queue.Queue() | |
| seen = set() | |
| seen.insert(initial_page) | |
| url_queue.put(initial_page) |
| """ A web photo, picture grabber """ | |
| import sys | |
| import urllib | |
| import urllib2 | |
| from HTMLParser import HTMLParser | |
| import re | |
| ''' | |
| The WretchWebParser is used to parse the content HTML of wretch.cc | |
| ''' |
| import java.io.BufferedReader; | |
| import java.io.File; | |
| import java.io.FileNotFoundException; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| import java.io.Reader; | |
| import java.net.HttpURLConnection; | |
| import java.net.MalformedURLException; | |
| import java.net.URI; |
| machine: | |
| timezone: Asia/Tokyo | |
| xcode: | |
| version: 7.3 | |
| environment: | |
| XCODE_SCHEME: *** | |
| XCODE_WORKSPACE: ***.xcworkspace | |
| GYM_CODE_SIGNING_IDENTITY: 'iPhone Distribution: ***. (***)' | |
| dependencies: | |
| cache_directories: |
| 'use strict'; | |
| /** | |
| * Authentication with token and email for every server request. (Sets HTTP headers) | |
| * | |
| * This interceptor shows the error from the server (i18n key). | |
| * Also sets global error variable if the request fails and redirects the user to '/' when he is not authorized. | |
| * @see http://engineering.talis.com/articles/client-side-error-logging/ | |
| */ | |
| app.factory('authInterceptor', function ($rootScope, $q, $cookies, $location, $timeout) { |
| import React from 'react' | |
| var Child = React.createClass({ | |
| getInitialState: function(){ | |
| console.log('Child getInitialState'); | |
| return { value: 'start'} | |
| }, | |
| getDefaultProps: function(){ | |
| console.log('Child getDefaultProps'); |