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
| $ curl --help | |
| Usage: curl [options...] <url> | |
| --abstract-unix-socket <path> Connect via abstract Unix domain socket | |
| --alt-svc <file name> Enable alt-svc with this cache file | |
| --anyauth Pick any authentication method | |
| -a, --append Append to target file when uploading | |
| --basic Use HTTP Basic Authentication | |
| --cacert <file> CA certificate to verify peer against | |
| --capath <dir> CA directory to verify peer against | |
| -E, --cert <certificate[:password]> Client certificate file and password |
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
| # Routage/multiplexage HTTP dans kubernetes avec des Ingress et Traefik. | |
| # | |
| # On lance deux apps, sur les domaines, respectivement, foo.local et bar.local. | |
| # | |
| # Devant l'ingress controller, on utilise un service de type 'NodePort', qui | |
| # choisir un port dans le range 30000-32767 et l'exposera sur les nodes. | |
| # | |
| # Si on commente la ligne 'NodePort' et on decommente la ligne 'LoadBalancer', | |
| # kubernetes vas configurer un ELB AWS automatiquement pour renvoyer tout les | |
| # flux http sur le service kubernetes traefik-lb-svc. |
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
| require 'aws-sdk' | |
| class BucketSyncService | |
| attr_reader :from_bucket, :to_bucket, :logger | |
| attr_accessor :debug | |
| DEFAULT_ACL = "public-read" | |
| def initialize(from_bucket, to_bucket) |
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
| The idea here is that I have a single User login that can eventually be tied to multiple Companies via the Role. | |
| You signup via Devise on the custom /register route and fillout the Company information etc. The custom registration controller creates the Role during the user creation and sets a few other attributes. | |
| It all worked but now it's broken and I have no idea what I did to break it. | |
| When I try to create a new user / company the additional user fields (name_first & name_last) always fail validation regardless if they are in fact valid. The nested Company fields do not validate at all. If I enter the email and password field only the form works but only creates the User record. | |
| To me it seems like the custom registration controller is not being processed at all. |