@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 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
import sqlite3 | |
import duckdb | |
from sqlite_vec import load, serialize_float32 | |
duck = duckdb.connect(database="../esc-ai-chat/public.duckdb", read_only=True) | |
lite = sqlite3.connect("public.sqlite", autocommit=True) | |
lite.enable_load_extension(True) | |
load(lite) | |
lite.enable_load_extension(False) |
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
<?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 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
<?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 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
<?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 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
<?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 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
<?php | |
namespace Drupal\guia_commerce\Form; | |
use Drupal\Core\Form\ConfigFormBase; | |
use Drupal\Core\Form\FormStateInterface; | |
/** | |
* Class ExchangeRateForm. | |
*/ |
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
### 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 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
<?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 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
$type_manager = \Drupal::entityTypeManager()->getStorage('commerce_payment'); | |
$payments = $type_manager->loadByProperties(['remote_id' => 'LTCL000016']); | |
$payment = reset($payments); | |
$payment->state = 'pending'; | |
$payment->save(); |
NewerOlder