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
There comes a time in every developer's life when it's time to move on. Sometimes it's your choice, sometimes the choice is made for you, either way you're going. This post is about how I've dealt with both situations. | |
Your Choice | |
So you've decided it's time for you to move on. | |
There are a few questions that you need some solid answers to first. | |
Why are you leaving? |
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
(function ($) { | |
"use strict"; | |
var nextLinkRegex = /<a.* href='(.*)'>Older Posts<\/a>/g, | |
picturesRegex = /<a.*><img.*><\/a>/g, | |
$babyPictureList = $('#baby_pictures'); | |
(function scrapePictures(url) { | |
var nextUrl = null; |
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
import os | |
import unittest | |
import xmlrpclib | |
from google.appengine.datastore import datastore_stub_util | |
from google.appengine.ext import testbed | |
from webtest.app import TestApp | |
import main | |
class TestingHighReplicationConsistencyPolicy(datastore_stub_util.BaseHighReplicationConsistencyPolicy): | |
def _ShouldApply(self, txn, meta_data): |
NewerOlder