--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/freebsd.rst Mon Mar 21 21:52:12 2011 +0200
@@ -0,0 +1,16 @@
+-*- mode: outline; coding: utf-8 -*-
+
+* FreeBSD ports.
+
+Configure package:
+
+ $ sudo make config
+
+Build package:
+
+ $ sudo make
+
+Install package:
+
+ $ sudo make install
+
--- a/hg.rst Wed Mar 09 23:07:55 2011 +0200
+++ b/hg.rst Mon Mar 21 21:52:12 2011 +0200
@@ -61,6 +61,28 @@
[defaults]
log = -f
+* Clone specific branches.
+
+ $ hg clone http://your/repo -r $branch
+
+* Closing branches.
+
+ $ hg branches
+$branch (inactive)
+...
+ $ hg branches -a
+... # no $branch
+ $ hg up -r $branch
+ $ hg ci --close-branch -m "Bla-bla-bla"
+ $ hg up -r default
+ $ hg branches
+... # no $branch
+ $ hg branches -c
+$branch (inactive)
+...
+
+To reopen closed branch just update to it and commit anything!
+
* Remove/rename files history from repo.
$ cat >filemap.txt <<EOF
--- a/windows-devel.rst Wed Mar 09 23:07:55 2011 +0200
+++ b/windows-devel.rst Mon Mar 21 21:52:12 2011 +0200
@@ -31,9 +31,7 @@
http://msdn.microsoft.com/en-us/library/ms220948.aspx
Application Verifier
-* Debugging.
-
-** windbg.
+* Debugging with windbg.
http://www.microsoft.com/whdc/devtools/debugging/default.mspx
Download and Install Debugging Tools for Windows
@@ -44,6 +42,20 @@
Debugging Tools for Windows 64-bit Version
download page
+** Break on dll load/unload.
+
+ sxe ld <module>
+ sxe ud <module>
+
+** Set breakpoint by pattern and/or on specific module.
+
+ bm <module>!<name> # set breakpoints on 'module' with name 'name'
+ bm *!<prefix>* # set breakpoints on all names with prefix 'prefix'
+ bm <module>!* # set breakpoints on all names in module 'module'
+
+'bp', 'bm' commands sets software breakpoints, debugger replaces the processor instruction with a
+break instruction.
+
* Running at startup.
HKCU\Software\Microsoft\Windows\CurrentVersion\Run