find
implementations have a -print0
option.find . -depth -mindepth 1 -print0 | while IFS="" read -r -d "" entry; do if [ -f "${entry}" ]; then b="$(basename "${entry}")"; n="$(echo "${b}" | tr -d '\001-\037/\\:*?"<>|')"; if [ "${b}" != "${n}" ]; then d="$(dirname "${entry}")"; [ -f "${d}/${b}" ] && mv "${entry}" "${d}/${n}"; fi; fi; done
mail.serverDefaultStoreContractID
preference sets the default storage engine for new accounts and the mail.server.server5.storeContractID
preference (substitute the number 9 with the given server id) stores the engine name/implementation for a specific server/account. The default value for these is @mozilla.org/msgstore/berkeleystore;1
standing for the mbox format and @mozilla.org/msgstore/maildirstore;1
stands for the Maildir format. The latter is experimental though and should be handled with care (ie. at least frequent backups).IFS=$'\n' sh -c 'for i in $(grep "^processor" /proc/cpuinfo); do dd if=/dev/urandom of=/dev/null bs=1024 & done'
dd
, each pulling pseudo-random data from /dev/urandom
(actually the kernel providing this pseudo-random data creates the CPU load). The number of dd
instances is taken from the number of processors reported by /proc/cpuinfo
. To stop the extra load, you can easily kill all instances via killall dd
(assuming there're no other dd
instances running on the server that you've the right/permission to kill and that were not started by this one-liner). And this doesn't even require root access, any user will do. Of course on servers using advanced resource control (eg. cgroups) this won't work since the kernel will limit the total load one user can put on the system (regardless of how many processes you start up).git clone https://android.googlesource.com/platform/system/extras
cd extras
git checkout android-4.1.1_r1
simg2img
:cd ext4_utils
gcc -o simg2img -lz sparse_crc32.c simg2img.c
cd ../../
./extras/ext4_utils/simg2img system.img system.raw.img
./extras/ext4_utils/simg2img userdata.img userdata.raw.img
mkdir /mnt/my_system /mnt/my_userdata
mount -t ext4 -o loop system.raw.img /mnt/my_system
mount -t ext4 -o loop userdata.raw.img /mnt/my_userdata
cd extras/ext4_utils
gcc -o make_ext4fs -lz make_ext4fs_main.c make_ext4fs.c ext4fixup.c ext4_utils.c allocate.c backed_block.c output_file.c contents.c extent.c indirect.c uuid.c sha1.c sparse_crc32.c wipe.c
cd ../../
PATH="$PATH:$(pwd)/extras/ext4_utils/make_ext4fs" ./extras/ext4_utils/mkuserimg.sh -s /mnt/my_system_dir my_system.img ext4 /tmp 512M
simg2img
and make_ext4fs
from here.about:config
geo.enabled
geo.enabled
line in the list so it's value changes to "false"
Recent comments
2 years 11 weeks ago
3 years 33 weeks ago
3 years 33 weeks ago
3 years 35 weeks ago
3 years 36 weeks ago
3 years 43 weeks ago
3 years 43 weeks ago
3 years 43 weeks ago
3 years 43 weeks ago
3 years 43 weeks ago