- Update HISTORY.md
- Commit the changes:
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
- Update version number (can also be minor or major)
bumpversion patch
# Copyright (c) 2011-2013, Marek Stepniowski | |
# All rights reserved. (FreeBSD License). | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# 1. Redistributions of source code must retain the above copyright notice, this | |
# list of conditions and the following disclaimer. | |
# 2. Redistributions in binary form must reproduce the above copyright notice, | |
# this list of conditions and the following disclaimer in the documentation |
import cProfile | |
import os | |
import pstats | |
import time | |
from datetime import datetime | |
from functools import wraps | |
from io import StringIO | |
from logging import getLogger | |
logger = getLogger(__name__) |
@mixin linear { | |
@media screen and (max-width: 45em) { | |
@content; | |
} | |
} | |
@mixin mobile-landscape { | |
@media screen and (max-width: 30em) { | |
@content; | |
} |
A Muttator Reference Sheet / Cheat Sheet | |
Muttator v0.6 for Thunderbird v3.0 and 3.1.* (muttator-20100629.xpi) | |
The main thing to know about using Muttator is that there are two primary modes, EX mode and MESSAGE mode, | |
and keyboard mappings can work very differently in the two modes. It's not obvious which mode you're in; | |
you have to look at the bottom left of your Thunderbird window where the status line with either be blank | |
(EX mode) or will say "-- MESSAGE --". There is also an odd "-- CARET --" mode that you'll probably want | |
to <ESC> out of as soon as possible. |
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
// C++ includes used for precompiling -*- C++ -*- | |
// Copyright (C) 2003-2013 Free Software Foundation, Inc. | |
// | |
// This file is part of the GNU ISO C++ Library. This library is free | |
// software; you can redistribute it and/or modify it under the | |
// terms of the GNU General Public License as published by the | |
// Free Software Foundation; either version 3, or (at your option) | |
// any later version. |
#!/bin/bash | |
packlist=`mktemp` | |
git gc 2>&1 | | |
grep '^warning: packfile .* cannot be accessed$' | | |
cut -d' ' -f3 | | |
sort -u > $packlist | |
packs_count=`wc -l < $packlist` | |
temp=`mktemp` |
Press minus + shift + s
and return
to chop/fold long lines!
import json | |
from os.path import exists | |
from selenium import webdriver | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.common.exceptions import TimeoutException | |
class GoogleGroupsScraper(object): | |
""" A simple class to scrape a google group. """ |