most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat| # Karthik's Personal DNS Blocklist | |
| # Please feel free to add more to the list. | |
| # | |
| # License: | |
| # CC Attribution 3.0 (http://creativecommons.org/licenses/by/3.0/) | |
| 127.0.0.1 localhost | |
| ::1 localhost | |
| 127.0.0.1 telemetry.astro.build |
| #!/bin/bash | |
| ######################################### | |
| # This script will install redis, | |
| # and download a pre-configured config | |
| ######################################### | |
| ### Set the log file path | |
| cd ~ | |
| set_log_path=$(cd && pwd) | |
| log_file="$set_log_path/skcript.log" |
| ### Get InfluxDB up and running for your Grafana stack | |
| docker run -d -p 8086:8086 -p 2003:2003 -p 8083:8083 \ | |
| -e INFLUXDB_GRAPHITE_ENABLED=true \ | |
| -e INFLUXDB_ADMIN_ENABLED=true \ | |
| influxdb |
| ### Get a Grafana instance up and running with persistent storage | |
| ### Grafana Dockerfile | |
| ### Create a storage: | |
| docker run -d -v /var/lib/grafana --name grafana-storage busybox:latest | |
| ### Run Grafana | |
| docker run \ | |
| -d \ |
| docker run -d -p 8086:8086 -p 2003:2003 -p 8083:8083 \ | |
| -e INFLUXDB_GRAPHITE_ENABLED=true \ | |
| -e INFLUXDB_ADMIN_ENABLED=true \ | |
| influxdb | |
| docker run \ | |
| -d \ | |
| -p 3000:3000 \ | |
| --name=grafana \ | |
| --volumes-from grafana-storage \ |
| # [General] | |
| 0.0.0.0 instagram.com | |
| 0.0.0.0 kickass.cd | |
| 0.0.0.0 ewatchseries.to | |
| 0.0.0.0 mqtt-mini.facebook.com | |
| 0.0.0.0 fmovies.is |
| # Run it from the root of your Jekyll site like bash Jekyll-S3.sh | |
| ## | |
| # Configuration options | |
| ## | |
| STAGING_BUCKET='s3://<YOUR-S3-BUCKET-NAME>' | |
| LIVE_BUCKET='s3://<YOUR-S3-BUCKET-NAME>' | |
| SITE_DIR='_site/' | |
| ## |
| # | |
| # CORS header support | |
| # | |
| # One way to use this is by placing it into a file called "cors_support" | |
| # under your Nginx configuration directory and placing the following | |
| # statement inside your location block(s): | |
| # | |
| # include cors_support; | |
| # | |
| # A limitation to this method is that Nginx doesn't currently send headers |
| var React = require('react'); | |
| var events = require('add-event-listener'); | |
| var isVisible = require('../isVisible'); | |
| var LazyLoad = React.createClass({ | |
| displayName: 'LazyLoad', | |
| propTypes: { | |
| distance: React.PropTypes.number, | |
| component: React.PropTypes.node.isRequired, | |
| children: React.PropTypes.node.isRequired |