Kategorie: Uncategorized
natural scrolling with mouse wheel on ubuntu
If you are tired of this unnatural scolling in ubuntu, then the solution is quiet simple: Add a file to you home directory called .Xmodmap. Add this line to the file:
pointer = 1 2 3 5 4 6 7 8 9 10 11 12
dd on mac osx
If you are using dd on mac osx please read this article on how to speed up things a lot.
Spannungsfeld Politik und Wissenschaft
Wenn der Innenminister das nächste mal von Wissenschaft redet, sollten wir ihm alle ins Gesicht lachen:
http://scienceblogs.de/frischer-wind/2017/05/30/anlasslose-massenueberwachung-und-der-satz-von-bayes/
Und es funktioniert doch…
Akten – Was nicht in der Welt ist – Politik – Süddeutsche.de
Lesson learned: Akten sind wichtig. Ohne sie können wir keine Demokratie leben.
custom rom and Android file system encryption
My phone failed to encrypt after I rooted it. So this is the solution:
The problem is, that there is no space left for the encryption header. so you need to make the partition smaller in order to encrypt it.
- install TWRP and go into the console
- find out what is your data partition. it should be something like /dev/block/mmcblk0XX
mount
- umount your data partition
umount /data umount /sdcard
- Now display the block count of your partition (e.g. 6661115)
tune2fs -l /dev/block/mmcblk0pXX
- wirte this „Block count:“ on a paper and reduce it by 8. This should be something like 32kB.
- check your partition before reducing it.
-
e2fsck -f -p /dev/block/mmcblk0pXX
- Now you can reduce the partition size by invoking:
resize2fs /dev/block/mmcblk0p26 6661107
- now you need to reorder your file system with this command:
e2fsck -f -p /dev/block/mmcblk0p26
- restart and encrypt your file system.