@startuml
!define RECTANGLE class
RECTANGLE "Cadena de Valor" as CV {
Representación de las actividades productivas de una
empresa o sector que agregan valor al producto o servicio final
}
RECTANGLE "Responsabilidad Social Empresarial (RSE)" as RSE {
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.0</real> |
This file contains 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 | |
namespace Drupal\layout_manager\Controller; | |
use Drupal\Core\Controller\ControllerBase; | |
use Drupal\Core\Field\FieldStorageDefinitionInterface; | |
use Drupal\Core\Url; | |
/** | |
* Controller to render basic html for client side application. |
This file contains 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 | |
class Document { | |
public $user; | |
public $name; | |
public function init($name, User $user) { | |
assert(strlen($name) > 5); | |
$this->user = $user; | |
$this->name = $name; | |
} | |
public function getTitle() { |
This file contains 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 | |
/*** | |
# Anagram clasification | |
## Concepts | |
Anagrams are words with exactly the same letters in different order | |
e.g., AMOR, ROMA, and MORA | |
## What we need |
This file contains 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 | |
namespace Drupal\guia_commerce\Form; | |
use Drupal\Core\Form\ConfigFormBase; | |
use Drupal\Core\Form\FormStateInterface; | |
/** | |
* Class ExchangeRateForm. | |
*/ |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am jackbravo on github. | |
* I am jackbravo (https://keybase.io/jackbravo) on keybase. | |
* I have a public key ASCL22NAcm3VaLEnMmaKfUVUw9BkA8wUkeVnsQ1ilgwJ5Qo | |
To claim this, I am signing this object: |
This file contains 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 | |
namespace Drupal\custom_theme_helpers; | |
use Drupal\Core\Routing\RouteMatchInterface; | |
use Drupal\Core\Theme\ThemeNegotiatorInterface; | |
/** | |
* Class CustomThemeNegotiator. | |
* | |
* @package Drupal\bixal_theme_helpers |
This file contains 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
$type_manager = \Drupal::entityTypeManager()->getStorage('commerce_payment'); | |
$payments = $type_manager->loadByProperties(['remote_id' => 'LTCL000016']); | |
$payment = reset($payments); | |
$payment->state = 'pending'; | |
$payment->save(); |
This file contains 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
createuser -Psd guia | |
createdb -O guia guia | |
# psql | |
# alter user guia with encrypted password 'guia'; -- not needed if using -P (prompt password) | |
# grant all privileges on database guia to guia ; -- not needed if using createdb -O (give ownership) | |
# alter user guia createdb ; -- not needed if using -d in createuser |
NewerOlder