- Version followed by release date.
- Maintain "Unreleased" version in draft in preparation for release.
- "Added" section for new features added.
- MAJOR increment in semantic versioning would mean incompatible changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| redis-cli KEYS "Sidekiq:*:stat:processed:*" | xargs -n 100 redis-cli DEL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Usage: | |
| # - Install npm | |
| # - Configure package.json | |
| # - Place source code in "src/" | |
| # - Outputs to "app.js" | |
| npm run build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Better to be root | |
| sudo bash | |
| # Change IP address (static) | |
| nano /etc/network/interfaces | |
| # Update hostnames | |
| nano /etc/hostname | |
| nano /etc/hosts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Change settings below if font renderings appear to thin or bold. | |
| # 0: Always disabled. | |
| # 1: Always enabled. | |
| # 2: Disabled for dark themes. | |
| # 3: Disabled for dark themes on high-DPI displays (default). | |
| # Generaly, set the value to 1 if renderings appear too thin | |
| defaults write com.macromates.TextMate.preview fontSmoothing 1 | |
| # Reset to default |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This example will make Adobe Source Code Pro font look snug in TextMate. | |
| # Adjust space above the line | |
| defaults write com.macromates.TextMate.preview fontAscentDelta -float -2 | |
| # Adjust space below the line | |
| defaults write com.macromates.TextMate.preview fontLeadingDelta -float 0 | |
| # Reset to default | |
| defaults delete com.macromates.TextMate.preview fontAscentDelta |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install Homebrew; this will prompt you to install Xcode Command Line Developer Tools | |
| $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # Agree to Xcode license; necessary for fresh install | |
| $ sudo xcodebuild -license | |
| # Install RVM | |
| $ \curl -sSL https://get.rvm.io | bash -s stable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Download the legacy format for NGINX compatibility | |
| wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz | |
| wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz | |
| # Unzip | |
| gunzip Geo*.gz | |
| # Copy to /usr/share/GeoIP/ | |
| cp Geo*.dat /usr/share/GeoIP/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http { | |
| # Shared cache size; 1MB = 4000 sessions | |
| ssl_session_cache shared:SSL:10m; | |
| # Decrease timeout if resources are low | |
| ssl_session_timeout 10m; | |
| # Good-bye SSL | |
| ssl_protocols TLSv1.1 TLSv1.2; | |
| ssl_prefer_server_ciphers on; | |
| ssl_ciphers ECDH+AESGCM:ECDH+AES256:ECDH+AES128:!ADH:!AECDH:!MD5; | |
| # OCSP stapling |