Post-it

  • discard/TRIM for SSD with etx4, LVM, LUKS encrypted devices

    Cheatcheat to enable TRIM (discard) in a SSD with ext4, lvm and luks encrypted devices. Ext4 In /etc/fstab add discard as option of the ext4 filesystem. If you are using LVM: In /etc/lvm/lvm.conf change issue_discards from 0 to 1. For Luks crypto: Append option discard in /etc/crypttab. Line should end like luks,discard. . Append rd.luks.options=discard…

  • Building a 40-thread monster PC for less than the price of a E Core i7

    http://www.techspot.com/review/1218-affordable-40-thread-xeon-monster-pc/

  • Create root user on Gitlab, when you can’t define root’s password

    When Gitlab it’s installed, the first access to the site allows you to define the password for the root (administrative) account. But due to a bug/error when I installed it on Debian testing (Stretch) i always git the standard registration box, not for root. Googling, i found i was not the only one bitten by…

  • Hints on package removal for Debian-based systems

    The following hints are on how to identify packages that can be removed from a Debian-based system. My motivations on trimming the system are optimal use of resources, the less packages the better from my point of view, but never less than needed. As well as reduce potential attack vectors. – Delete downloaded packages cache:…

  • 180TB of Good Vibrations – Storage Pod 3.0

    180TB of Good Vibrations – Storage Pod 3.0

  • packet filter

    SYN flood http://en.wikipedia.org/wiki/SYN_flood echo 1 > /proc/sys/net/ipv4/tcp_syncookies   XMAS packet http://en.wikipedia.org/wiki/Christmas_tree_packet iptables -A INPUT -p tcp –tcp-flags ALL ALL -j DROP   SMURF http://www.nordu.net/articles/smurf.html echo 1 > /proc/sys/net/ipv4/icp_echo_ignore_broadcasts   TCP Null http://lab.gsi.dit.upm.es/semanticwiki/index.php/TCP_Null_Scan iptables -A INPUT -p tcp –tcp-flags ALL NONE -j DROP      

  • JB 4.1.2 for SGS2 (ROM XXLSJ)

    ROM XXLSJ appeared for Samsung Galaxy 2 (I9100) which provides JB, from Samsung, for these devices. Long after others, as Cyanogenmod, launch a JB ROM for the SGS2, the manufacturer leaks an unofficial ROM. XDA thread here.  

  • Comparison of Linux schedulers (BFS vs stock)

    graysky’s performance comparison of current schedulers (BFS vs stock scheduler) across various hardware in this comprehensive pdf: cpu_schedulers_compared.pdf  

  • Remove maildir duplicates

    Kevin Deldycke’s maildir-deduplicate. It ignores the X-MIMETrack header by default and compares headers using the SHA224 digest. It does not consider the message body at all. It automatically deletes duplicates without asking for confirmation. It assumes your mailbox is in /Users/kevin/Maildir. 🙂

  • The CryptoParty Handbook

    https://cryptoparty.org/wiki/CryptoPartyHandbook The 392 page, Creative Commons licensed handbook is designed to help those with no prior experience to protect their basic human right to Privacy in networked, digital domains. By covering a broad array of topics and use contexts it is written to help anyone wishing to understand and then quickly mitigate many kinds of…

Got any book recommendations?