Authorization and Authentication are hard. when you only have to implement them once (as you do within a monolith) instead of over and over again, it makes the developer happy :-), and maybe leads to less implementation failures.
When you have a bunch of microservices, this is something that has to be considered.
Implement it once or in every microservice, or something in between?
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
| <meta name="format-detection" content="telephone=no"> | |
| <meta name="format-detection" content="date=no"> | |
| <meta name="format-detection" content="address=no"> | |
| <meta name="format-detection" content="email=no"> |
This Gist give some tips in order to remove AWS Glacier Vault with AWS CLI (ie. https://aws.amazon.com/en/cli/).
$ aws glacier initiate-job --job-parameters '{"Type": "inventory-retrieval"}' --vault-name YOUR_VAULT_NAME --account-id YOUR_ACCOUNT_ID --region YOUR_REGION
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
| # Python Libraries | |
| import re | |
| # Django Packages | |
| from django import template | |
| register = template.Library() | |
| _re_camel_humps = re.compile('([a-z])([A-Z0-9])') | |
| """ |
A Pen by Alexandre Laurent on CodePen.
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
| container_commands: | |
| 01_fix_static_cors: | |
| command: "/tmp/fix_static_cors.sh" | |
| files: | |
| "/tmp/fix_static_cors.sh": | |
| mode: "000755" | |
| owner: root | |
| group: root | |
| content: | | |
| #!/bin/bash |
JFFS script to isolate configured guest wifi networks on AsusWRT Merlin into a seperate VLAN.
Original script from: http://www.snbforums.com/threads/ac56u-how-to-add-bridges-with-dhcp-servers.20326/#post-189032
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
| /** | |
| * Module definition and dependencies | |
| */ | |
| angular.module('Api.DuplicateRequestsFilter.Decorator', []) | |
| /** | |
| * Config | |
| */ | |
| .config(function($provide) { |
This write-up is intended to show how docker can be run with devicemapper storage on ubuntu 14.
- Update the kernel on ubuntu 14. Yes, this is required to make docker work with 3.16 kernel version.
sudo apt-get install linux-image-generic-lts-utopic
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
| <!-- https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html --> | |
| <a href="maps://?q=dallas" data-rel="external">iOS launch in apple maps</a> | |
| <!-- https://developers.google.com/maps/documentation/ios/urlscheme --> | |
| <a href="comgooglemaps://?q=dallas" data-rel="external">iOS launch in google maps</a> | |
| <a href="geo://0,0?q=dallas" data-rel="external">Android launch in google maps</a> |