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://chart.apis.google.com/chart?cht=qr&chs=500x500&choe=UTF-8&chld=H&chl=[HTTP_URL_HERE] |
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
| <script type="text/javascript"> | |
| var addthis_config = { | |
| data_ga_property: 'UA-123456-1', | |
| data_ga_social : true | |
| }; | |
| </script> |
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
| import time | |
| import datetime | |
| from OpenSSL import crypto as c | |
| from checks import AgentCheck | |
| class SSLCheckExpireDays(AgentCheck): | |
| def check(self, instance): | |
| metric = "ssl.expire_in_days" | |
| certfile = instance['cert'] | |
| cert_tag = 'cert:%s' % (certfile.split('/')[-1:],) |
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
| $ travis encrypt S3_ACCESS_KEY_ID=asdlfkjsadf --add env.global | |
| $ travis encrypt S3_SECRET_KEY=kajsdflkjasdfk --add env.global |
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
| markdown: redcarpet | |
| redcarpet: | |
| extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"] |
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
| source "https://rubygems.org" | |
| gem 'jekyll' | |
| gem 'redcarpet' | |
| gem 's3_website' | |
| gem 'nokogiri' | |
| gem 'json' |
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
| s3_id: <%= ENV['S3_ACCESS_KEY_ID'] %> | |
| s3_secret: <%= ENV['S3_SECRET_KEY'] %> | |
| s3_bucket: YOUR_WEBSITE_HERE | |
| max_age: | |
| "public/*": 6000 | |
| "*": 300 | |
| s3_endpoint: us-east-1 |
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
| language: ruby | |
| rvm: | |
| - 1.9.3 | |
| script: bundle exec jekyll build | |
| install: bundle install | |
| after_success: bundle exec s3_website push --headless |
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
| { "Version": "2008-10-17", "Id": "http referer policy", "Statement": [ { "Sid": "readonly policy", "Effect": "Allow", "Principal": "*", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::BUCKET_NAME_HERE/*" } ] } |
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
| auth, authpriv, cron, dæmon, kern, lpr, mail, mark, news, syslog, user, UUCP and local0 through local7. |