No one has a fucking clue how to write secure AngularJS apps. Prove me wrong! I’m sorry to contribute to the heap of spam on the internet with no real content, however this still seems to hold true almost 3 years later.
Read ArticleSoftware RAID replace failed harddisk
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md3 : active raid1 sda4[3] sdb4[2] 2778744127 blocks super 1.2 [2/1] [_U] [>....................] recovery = 1.3% (38884416/2778744127) finish=534.3min speed=85452K/sec md2 : active raid1 sda3[3] sdb3[2] 134216632 blocks super 1.2 [2/2] [UU] md1 : active raid1 sda2[3] sdb2[2] 524276 blocks super 1.2 [2/2] [UU] md0 : active (auto-read-only) raid1 sda1[3] sdb1[2] 16776120 blocks super 1.2 [2/2] [UU] unused devices: <none> mdadm --manage /dev/md0 --fail /dev/sda1 mdadm --manage /dev/md1 --fail /dev/sda2 mdadm --manage /dev/md2 --fail /dev/sda3 mdadm --manage /dev/md3 --fail /dev/sda4 mdadm --manage /dev/md0 --remove /dev/sda1 mdadm --manage /dev/md1 --remove /dev/sda2 mdadm --manage /dev/md2 --remove /dev/sda3 mdadm --manage /dev/md3 --remove /dev/sda4 shutdown and remove failed disk boot mdadm --manage /dev/md0 --add /dev/sda1 mdadm --manage /dev/md1 --add /dev/sda2 mdadm --manage /dev/md2 --add /dev/sda3 mdadm --manage /dev/md3 --add /dev/sda4 watch cat /proc/mdstat |
SPF: SPF Record Syntax
SPF: SPF Record Syntax.
Read Articlesystemd open file limit aka ulimit -n
|
1 2 3 |
[Service] LimitMEMLOCK=infinity LimitNOFILE=65535 |
I’m using archlinux. In /etc/security/limits.conf
|
1 2 |
* - nofile 65535 * - memlock unlimited |
Session rememberme easy to remember ;)
I was searching around, since it has been a while since I’ve worked at this level with sessions and the gist of it is: session lifetime = 0 means remove cookie after browser is closed session lifetime < 0 means remove cookie right now session lifetime > 0 means remove cookie after int seconds This…
Read Article