- 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
# snippet is placed into public domain by | |
# anatoly techtonik <[email protected]> | |
# http://stackoverflow.com/questions/8151300/ignore-case-in-glob-on-linux | |
import fnmatch | |
import os | |
import re | |
def findfiles(which, where='.'): |
#signals.py | |
from django.dispatch import Signal | |
user_login = Signal(providing_args=["request", "user"]) | |
#views.py | |
from foo import signals |
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
#!python | |
"""See main.__doc__""" | |
import os | |
import logging | |
import glob | |
import unittest | |
import sys |
#include <string.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <ifaddrs.h> | |
#include <sys/types.h> | |
#include <sys/ioctl.h> | |
#include <sys/socket.h> | |
#include <linux/wireless.h> | |
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>
# download docx2txt by Sandeep Kumar | |
wget -O docx2txt.pl http://www.cs.indiana.edu/~kinzler/home/binp/docx2txt | |
# make a wrapper | |
echo '#!/bin/bash | |
docx2txt.pl $1 -' > docx2txt | |
chmod +x docx2txt | |
# make sure docx2txt.pl and docx2txt are your current PATH. Here's a guide | |
http://shapeshed.com/using_custom_shell_scripts_on_osx_or_linux/ |
import json | |
import luigi | |
import luigi.hdfs | |
import luigi.hadoop | |
import pandas as pd | |
import numpy | |
import pandas | |
luigi.hadoop.attach(numpy, pandas) |
# delete local tag '12345' | |
git tag -d 12345 | |
# delete remote tag '12345' (eg, GitHub version too) | |
git push origin :refs/tags/12345 | |
# alternative approach | |
git push --delete origin tagName | |
git tag -d tagName |
var formidable = require('formidable'), | |
http = require('http'), | |
util = require('util'); | |
var FileUploadService = {}; | |
FileUploadService.purpose = function(){ | |
console.log("\n"); | |
console.log("-----------------------------------------------"); |