- 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
include RELEASE-VERSION | |
include version.py | |
# Anything else you normally use | |
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
#!/bin/bash | |
# Parameters | |
socket="/run/foo.sock" | |
dump="/tmp/capture.pcap" | |
# Extract repetition | |
port=9876 | |
source_socket="$(dirname "${socket}")/$(basename "${socket}").orig" |
# Ignored by AndroidStudio | |
*.iws | |
# Folders related to builds | |
.gradle/ | |
*/build/ | |
# Local settings (regenerated by Android Studio) | |
.idea/workspace.xml | |
local.properties |
! turn the scroll wheel upside-down | |
pointer = 1 2 3 5 4 | |
! make CapsLock work as modbutton3 | |
keycode 66 = Hyper_L | |
clear lock | |
clear mod3 | |
clear mod4 |
#!/usr/local/bin/python3.2 | |
import encodings | |
import os | |
import re | |
import subprocess | |
import syslog | |
import sys | |
import time |
diff --git a/src/db.cpp b/src/db.cpp | |
index e494d28..8347208 100644 | |
--- a/src/db.cpp | |
+++ b/src/db.cpp | |
@@ -88,7 +88,7 @@ bool CDBEnv::Open(boost::filesystem::path pathEnv_) | |
dbenv.set_errfile(fopen(pathErrorFile.string().c_str(), "a")); /// debug | |
dbenv.set_flags(DB_AUTO_COMMIT, 1); | |
dbenv.set_flags(DB_TXN_WRITE_NOSYNC, 1); | |
- dbenv.log_set_config(DB_LOG_AUTO_REMOVE, 1); | |
+ // dbenv.log_set_config(DB_LOG_AUTO_REMOVE, 1); |
-module(p3). | |
-export([prime_sieve/1, solution/0, solution/1]). | |
% generate a list of all primes smaller than N | |
prime_sieve(N) when is_integer(N) -> | |
prime_sieve([ 2 ] ++ [ X || X <- lists:seq(3, N) ]); | |
prime_sieve([]) -> []; | |
prime_sieve([H|C]) -> | |
[ H ] ++ prime_sieve(lists:filter(fun(X)-> (X rem H) /= 0 end, C)). |
# the following two lines give a two-line status, with the current window highlighted | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' | |
# huge scrollback buffer | |
defscrollback 5000 | |
# no welcome message | |
startup_message off |