git fetch --all | |
git reset --hard origin/master | |
git pull origin master |
<?php | |
class PaymentController | |
{ | |
public function makePayment() | |
{ | |
// POST data: | |
// fromCustomerId | |
// toCustomerId | |
// amount |
Ids or names of elements (primitives or complexes) must be written in Camel Case and must to be as short as possible. All id or name must to start with one of the defined element type prefixes.
All element ids or names must use Hungarian notation to incorporate the type of element. Prefixes are used to indicate the semantic type of the element, rather than it's underlining implementation. It means that the element of GUI with button look & feel must prefixed as btn
, regardless of how it is implemented, with tag <button>
or with tag <a>
.
Prefixes are lowercase strings of 2, 3 or 4 characters. Here a complete list of authorised prefixes:
- btn - the button or a link with a button look & feel
<?php | |
// The drupal_set_message() function is being deprecated! | |
// @see https://api.drupal.org/api/drupal/core%21includes%21bootstrap.inc/function/drupal_set_message/8.5.x | |
// > Deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. | |
// > Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead. | |
// In some custom code. | |
\Drupal::messenger()->addMessage('Say something else'); |
image: docker:latest | |
variables: | |
REPOSITORY_URL: <AWS ACCOUNT ID>.dkr.ecr.eu-central-1.amazonaws.com/<ECS REPOSITORY NAME> | |
REGION: eu-central-1 | |
TASK_DEFINTION_NAME: <TASK DEFINITION NAME> | |
CLUSTER_NAME: <CLUSTER NAME> | |
SERVICE_NAME: <SERVICE NAME> | |
services: |
The initial source comes from sdcuike/issueBlog#4
https://github.com/PacktPublishing free to download books code by Packet
https://github.com/EbookFoundation/free-programming-books Very immense
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
.tabbrowser-tab .tab-close-button { | |
opacity: 0; | |
margin-left: -4.5px !important; | |
margin-right: 2px !important; | |
} | |
.tabbrowser-tab:not(:hover) .tab-close-button { | |
display: none; |