Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| const crypto = require('crypto') | |
| const sha1 = path => new Promise((resolve, reject) => { | |
| const hash = crypto.createHash('sha1') | |
| const rs = fs.createReadStream(path) | |
| rs.on('error', reject) | |
| rs.on('data', chunk => hash.update(chunk)) | |
| rs.on('end', () => resolve(hash.digest('hex'))) | |
| }) |
| #!/bin/bash | |
| # Bash Script by https://gist.github.com/mitchellkrogza | |
| # ************************************************************ | |
| # This script clears the log file and database of Fail2Ban | |
| # This resets Fail2Ban to a completely clean state | |
| # Useful to use after you have finished testing all your jails | |
| # and completed your initial setup of Fail2Ban and are now | |
| # putting the server into LIVE mode | |
| # ************************************************************ |
| apt-get install make git g++ gcc zlib1g zlib1g-dev libxml2 libxml2-dev -y | |
| # https://developers.google.com/speed/webp/docs/compiling#building | |
| cd /usr/local/src | |
| wget http://downloads.webmproject.org/releases/webp/libwebp-0.4.3.tar.gz | |
| tar -xvzf libwebp-0.4.3.tar.gz | |
| cd libwebp-0.4.3 | |
| ./configure |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
We have moved: https://github.com/magnetikonline/linuxmicrosoftievirtualmachines
Due to the popularity of this Gist, and the work in keeping it updated via a Gist, all future updates will take place at the above location. Thanks!