MonolithFirst - 0 views
-
Microservices are a useful architecture, but even their advocates say that using them incurs a significant MicroservicePremium, which means they are only useful with more complex systems.
-
you should build a new application as a monolith initially, even if you think it's likely that it will benefit from a microservices architecture later on.
-
Any refactoring of functionality between services is much harder than it is in a monolith.
- ...4 more annotations...
The Rails Command Line - Ruby on Rails Guides - 0 views
-
rake --tasks
-
Think of destroy as the opposite of generate.
-
runner runs Ruby code in the context of Rails non-interactively
- ...28 more annotations...
Managing files | Django documentation | Django - 0 views
-
By default, Django stores files locally, using the MEDIA_ROOT and MEDIA_URL settings.
-
use a FileField or ImageField, Django provides a set of APIs you can use to deal with that file.
-
Behind the scenes, Django delegates decisions about how and where to store files to a file storage system.
- ...1 more annotation...
Overview - CircleCI - 0 views
-
every code change triggers automated tests in a clean container or VM
-
CircleCI may be configured to deploy code to various environments
-
Other cloud service deployments are easily scripted using SSH or by installing the API client of the service with your job configuration.
- ...1 more annotation...
https://www.conventionalcommits.org/en/v1.0.0-beta.2/ - 0 views
-
standardized commit message
-
fix patches a bug in your codebase
-
feat introduces a new feature to the codebase
- ...11 more annotations...
Using Infrastructure as Code to Automate VMware Deployments - 1 views
-
Infrastructure as code is at the heart of provisioning for cloud infrastructure marking a significant shift away from monolithic point-and-click management tools.
-
infrastructure as code enables operators to take a programmatic approach to provisioning.
-
provides a single workflow to provision and maintain infrastructure and services from all of your vendors, making it not only easier to switch providers
- ...5 more annotations...
Queues - Laravel - The PHP Framework For Web Artisans - 0 views
-
Laravel queues provide a unified API across a variety of different queue backends, such as Beanstalk, Amazon SQS, Redis, or even a relational database.
-
The queue configuration file is stored in config/queue.php
-
a synchronous driver that will execute jobs immediately (for local use)
- ...56 more annotations...
Enabling Build Processing - CircleCI - 0 views
-
If you use << in your shell commands (most commonly found in use of heredocs) you will need to escape them using backslash \ as in \<< in order to use version 2.1 or higher of configuration.
-
Jobs named build will be wrapped in a workflows stanza by the processor
-
Use of configuration version 2.1 or higher requires build processing to be on
- ...1 more annotation...
JSON Web Token Introduction - jwt.io - 0 views
-
a stateless authentication mechanism as the user state is never saved in server memory
-
In authentication, when the user successfully logs in using their credentials, a JSON Web Token will be returned and must be saved locally (typically in local storage, but cookies can be also used), instead of the traditional approach of creating a session in the server and returning a cookie.
-
ser agent should send the JWT, typically in the Authorization header using the Bearer schema.
- ...2 more annotations...
Pods - Kubernetes - 0 views
-
Pods are the smallest deployable units of computing
-
A Pod (as in a pod of whales or pea pod) is a group of one or more containersA lightweight and portable executable image that contains software and all of its dependencies. (such as Docker containers), with shared storage/network, and a specification for how to run the containers.
-
A Pod’s contents are always co-located and co-scheduled, and run in a shared context.
- ...32 more annotations...
Helm | - 0 views
-
Helm is a tool for managing Kubernetes packages called charts
-
Install and uninstall charts into an existing Kubernetes cluster
-
The chart is a bundle of information necessary to create an instance of a Kubernetes application.
- ...12 more annotations...
Ansible Tower vs Ansible AWX for Automation - 4sysops - 0 views
-
you can run Ansible freely by downloading the module and running configurations and playbooks from the command line.
-
AWX Project from Red Hat. It provides an open-source version of Ansible Tower that may suit the needs of Tower functionality in many environments.
-
Ansible Tower may be the more familiar option for Ansible users as it is the commercial GUI Ansible tool that provides the officially supported GUI interface, API access, role-based access, scheduling, notifications, and other nice features that allow businesses to manage environments easily with Ansible.
- ...5 more annotations...
Warnings, Notes, & Tips - 0 views
-
AS3 manages topology records globally in /Common, it is required that records only be managed through AS3, as it will treat the records declaratively.
-
If a record is added outside of AS3, it will be removed if it is not included in the next AS3 declaration for topology records (AS3 completely overwrites non-AS3 topologies when a declaration is submitted).
-
using AS3 to delete a tenant (for example, sending DELETE to the /declare/<TENANT> endpoint) that contains GSLB topologies will completely remove ALL GSLB topologies from the BIG-IP.
- ...12 more annotations...
Rails Environment Variables · RailsApps - 1 views
-
You can pass local configuration settings to an application using environment variables.
-
Operating systems (Linux, Mac OS X, Windows) provide mechanisms to set local environment variables, as does Heroku and other deployment platforms.
-
In general, you shouldn’t save email account credentials or private API keys to a shared git repository.
- ...10 more annotations...
Insomnia REST Client - 0 views
紀錄一下和 CORS (Cross-Origin Resource Sharing) 有關的問題 | Just for noting - 0 views
-
通常只允許單一 domain
-
回一個寫死 domain 的 Access-Control-Allow-Origin 的 HTTP Header, 但是可以在設定檔裏面做設定, 如果 request 是來自允許的 domain 的話, 就把 Access-Control-Allow-Origin 的值設定成該 domain, 如果不在白名單裡面的話當然就擋掉。
-
Google App Engine 不允許對非 static files 的 handler 加上 HTTP Headers
- ...1 more annotation...
« First
‹ Previous
61 - 80 of 98
Next ›
Showing 20▼ items per page