wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zipunzip 8-07-14_MegaCLI.zipI recently happened upon a very interesting implementation of popen() (different API, same idea) called popen-noshell using clone(2), and so I opened an issue requesting use of vfork(2) or posix_spawn() for portability. It turns out that on Linux there's an important advantage to using clone(2). I think I should capture the things I wrote there in a better place. A gist, a blog, whatever.
This is not a paper. I assume reader familiarity with
fork()in particular and Unix in general, though, of course, I link to relevant wiki pages, so if the unfamiliar reader is willing to go down the rabbit hole, they should be able to come ou
| // How to download telegram sticker images | |
| /* | |
| 1. Go to Telegram Web; | |
| 2. Open console (F12); | |
| 3. Paste the code below in the console and press Enter; | |
| 4. Open your stickers menu and make sure you see the sticker pack you want to download (so Telegram will load it). | |
| 5. At the console paste and run "downloadStickers()" any time you want to download a pack. | |
| 6. [Convert .webm to another format](http://www.freewaregenius.com/convert-webp-image-format-jpg-png-format/); | |
| 7. Happy hacking. |
| <? | |
| /** | |
| * Generates a offline-mode player UUID. | |
| * | |
| * @param $username string | |
| * @return string | |
| */ | |
| public static function constructOfflinePlayerUuid($username) { | |
| //extracted from the java code: | |
| //new GameProfile(UUID.nameUUIDFromBytes(("OfflinePlayer:" + name).getBytes(Charsets.UTF_8)), name)); |
1) Filter Table
Filter is default table for iptables. So, if you don’t define you own table, you’ll be using filter table. Iptables’s filter table has the following built-in chains.