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 Spooler
net stop "Print Spooler"
and net start "Print Spooler"
Restart
button on the Print Spooler
item in services.msc