1. Create a file under the parent directory of the multiple project hg directories
Example:
#> cat webconf
[collections]
repos/ = .
[web]
allow_push = *
push_ssl = false
2. hg serve --web-conf ./webconf -d
sudo gpg --keyserver subkeys.pgp.net --recv-keys 55BE302B sudo gpg -a --export 55BE302B | sudo apt-key add -
man() {
env \
LESS_TERMCAP_mb=$(printf "\e[1;31m") \
LESS_TERMCAP_md=$(printf "\e[1;31m") \
LESS_TERMCAP_me=$(printf "\e[0m") \
LESS_TERMCAP_se=$(printf "\e[0m") \
LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
LESS_TERMCAP_ue=$(printf "\e[0m") \
LESS_TERMCAP_us=$(printf "\e[1;32m") \
man "$@"
}
-pedantic -Wall -Wextra -Wcast-align -Wcast-qual
-Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self
-Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wnoexcept
-Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow
-Wsign-conversion -Wsign-promo -Wstrict-null-sentinel
-Wstrict-overflow=5 -Wswitch-default -Wundef -Werror-Wno-unused-std=c99 -pedantic -Wall -Wextra -Wwrite-strings -Werror-ansi -pedantic -Wall -Wextra -Weffc++
My C++ version:-g -O -Wall -Wextra -Weffc++ -pedantic -Wformat=2 \ -Waggregate-return -Wcast-align \ -Wcast-qual -Wconversion \ -Wdisabled-optimization -Wfloat-equal \ -Winit-self -Winline \ -Winvalid-pch -Wunsafe-loop-optimizations -Wmissing-braces \ -Wmissing-format-attribute \ -Wmissing-include-dirs \ -Wpacked -Wpadded -Wpointer-arith \ -Wredundant-decls -Wshadow -Wstack-protector \ -Wswitch-default -Wswitch-enum \ -Wunknown-pragmas -Wunreachable-code -Wunused \ -Wvariadic-macros -Wwrite-strings \ -Wlogical-op -Wsign-conversion \ -Wstrict-overflow=5 -Wundef
"C:\Program Files\Windows Resource Kits\Tools\subinacl" /service Spooler /grant=<username>=TO SubInACL works on Windows 7.T grant parameter is for start service access and the O parameter is stop service access.<username> can:sc stop Spooler and sc start Spoolernet stop "Print Spooler" and net start "Print Spooler"Restart button on the Print Spooler item in services.mscDirectly define __USE_GNU is wrong, __USE_GNU is glibc internal macro that shouldn't be ever defined by apps.
The way to select GNU feature set in glibc headers is to define _GNU_SOURCE, either before including first include header in the source .c/.C file, or by defining it on the command line (-D_GNU_SOURCE).
# VBoxManage showvminfo "somevm" | grep USB
USB: enabled
# VBoxManage modifyvm "somevm" --usb on --usbehci on
# VBoxManage list usbhost Sun VirtualBox Command Line Management Interface Version 3.1.4 (C) 2005-2010 Sun Microsystems, Inc. All rights reserved. Host USB Devices: [...] UUID: 2a2c7255-3b90-448e-aa7a-b1c5710ddd79 VendorId: 0x054c (054C) ProductId: 0x0243 (0243) Revision: 1.0 (0100) Manufacturer: Sony Product: Storage Media SerialNumber: 6A08102832911 Address: 0x54c:0x243:256:/pci@0,0/pci108e,5347@2,1 Current State: Busy
# VBoxManage usbfilter add 0 --target "somevm" --name usbstick \ --vendorid 054C --productid 0243
# VBoxManage showvminfo "somevm" [...] Currently Attached USB Devices: UUID: 582313d4-1d51-41ea-a053-ba5ac552d2e5 VendorId: 0x054c (054C) ProductId: 0x0243 (0243) Revision: 1.0 (0100) Manufacturer: Sony Product: Storage Media SerialNumber: 6A08102832911 Address: 0x54c:0x243:256:/pci@0,0/pci108e,5347@2,1
ssmtp recipient_email@example.comTo: recipient_email@example.com
From: myemailaddress@gmail.com
Subject: test email
hello world!ssmtp myemailaddress@gmail.com < msg.txt
To: myemailaddress@gmail.com
From: myemailaddress@gmail.com
Subject: alert
The server is down!
Credit: http://tombuntu.com/index.php/2008/10/21/sending-email-from-your-system-with-ssmtp/
DEVICE=eth0
IPADDR=208.164.186.1
NETMASK=255.255.255.0
NETWORK=208.164.186.0
BROADCAST=208.164.186.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
|
sudo apt-get install deluge-common=1.3.0-0ubuntu1
Source: http://www.absolutelytech.com/2010/10/17/solved-apt-get-is-to-be-installed-errors-in-ubuntu/
[extensions]
hgext.extdiff =
[extdiff]
cmd.vimdiff =
[alias]
vi = vimdiff
vim = vimdiff