- https://dancres.github.io/Pages/
- https://ferd.ca/a-distributed-systems-reading-list.html
- http://the-paper-trail.org/blog/distributed-systems-theory-for-the-distributed-systems-engineer/
- https://github.com/palvaro/CMPS290S-Winter16/blob/master/readings.md
- http://muratbuffalo.blogspot.com/2015/12/my-distributed-systems-seminars-reading.html
- http://christophermeiklejohn.com/distributed/systems/2013/07/12/readings-in-distributed-systems.html
- http://michaelrbernste.in/2013/11/06/distributed-systems-archaeology-works-cited.html
- http://rxin.github.io/db-readings/
- http://research.microsoft.com/en-us/um/people/lamport/pubs/pubs.html
- http://pdos.csail.mit.edu/dsrg/papers/
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
| #!/usr/bin/env ruby | |
| require 'getoptlong' | |
| require 'yaml' | |
| #need to sync stdout with collectd execs! | |
| $stdout.sync = true | |
| if File.readable? '/etc/mcollective/facts.yaml' | |
| facts=YAML::load(File.open('/etc/mcollective/facts.yaml')) | |
| else |
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
| #!/usr/bin/env ruby | |
| # | |
| # this is a special meta-check. It runs ping checks against all hosts in | |
| # the /endpoints API and sends individual results directly to sensu-client via | |
| # the udp/3030 client socket. this is different from the normal sensu check model | |
| # where individual scripts run and their exit status and output is used to create | |
| # a single event. | |
| # | |
| # the reason for this check is to be able to dynamically ping a list of hosts | |
| # without the race conditions and timing issues involved with creating individual |
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
| Renew Puppet CA cert. | |
| Not the perfect idea, but should alleviate the need to resign every cert. | |
| What you need from existing puppet ssl directory: | |
| ca/ca_crt.pem | |
| ca/ca_key.pem | |
| Create an openssl.cnf: | |
| [ca] |
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
| # get the SHA-1 digest of the subjectPublicKeyInfo of a certificate as used by Chromium's preloaded public key pinning | |
| # http://src.chromium.org/viewvc/chrome/trunk/src/net/http/transport_security_state_static.h?r1=191212&r2=191211&pathrev=191212 | |
| curl -s https://pki.google.com/GIAG2.crt | openssl x509 -inform der -pubkey -noout | openssl pkey -pubin -outform der | openssl dgst -sha1 | |
| # (stdin)= 43dad630ee53f8a980ca6efd85f46aa37990e0ea | |
| # get the base64-encoded SHA-256 digest of the subjectPublicKeyInfo of a certificate as used by HTTP Public Key Pinning | |
| # (http://tools.ietf.org/html/draft-ietf-websec-key-pinning-11) | |
| curl -s https://pki.google.com/GIAG2.crt | openssl x509 -inform der -pubkey -noout | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | base64 | |
| # 7HIpactkIAq2Y49orFOOQKurWxmmSFZhBCoQYcRhJ3Y= |
As compiled by Kevin Wright a.k.a @thecoda
(executive producer of the movie, and I didn't even know it... clever huh?)
please, please, please - If you know of any slides/code/whatever not on here, then ping me on twitter or comment this Gist!
This gist will be updated as and when I find new information. So it's probably best not to fork it, or you'll miss the updates!
Monday June 16th
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
| Clean Code - Martin | |
| Code Complete - McConnell | |
| Compilers - Aho | |
| Computer Networks (5th Edition) - Tanenbaum | |
| Design Patterns - Gamma, et al | |
| Domain-Driven Design - Evans | |
| Growing Object-Oriented Software, Guided by Tests - Freeman, et al | |
| Introduction to Automata Theory, Languages, and Computation - Hopcroft | |
| Purely Functional Data Structures - Okasaki | |
| Refactoring - Fowler |
Inspired by "Parsing CSS with Parsec".
Just quick notes and code that you can play with in REPL.
By @kachayev
Dashlane supports three methods of login :
- UKI : Provide a previously-given unique-key-identifier as the uki parameter. TODO : How do we get UKIs ?
- Token : Provide a (not-completely) one-time token as the "token" parameter. To generate a token, send a request to /6/authentication/sendtoken with login=email
- OTP : Probably for Google Authenticator.
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
| <?php | |
| use GuzzleHttp\Client; | |
| trait MailTestHelper | |
| { | |
| /** | |
| * @var \GuzzleHttp\Client | |
| */ | |
| protected $client; |