The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
I hereby claim:
To claim this, I am signing this object:
#!/usr/env python | |
# coding: utf-8 | |
import requests | |
from datetime import date, timedelta | |
from os.path import isfile, expanduser, exists, join | |
from os import makedirs | |
def getDateSuffix(t): | |
if 4 <= t.day <= 20 or 24 <= t.day <= 30: |
//instructions: run in the console of your browser with index page open | |
var i,x, | |
dict = [], | |
uniqueDict = [], | |
txt = document.body.textContent.toLowerCase().replace(/[&\/\\#,+()$~%.'":*?<>{}(\d+)\[\]]|[\n$]/gmi,'').trim(), | |
txt2 = txt.split(' '); | |
txt2.forEach(function (element, index) { | |
if(element.length>0){ | |
reg = new RegExp('\\b'+element+'\\b','gi'); |