Enviar mensaje de texto por whatsapp
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
#!/bin/bash | |
ult_comt=$1; | |
pri_comt=$2; | |
dir_local=$3; | |
dir_remot=$4; | |
if [ $# -lt 4 ]; then | |
echo "use: <ult-cod-commit> <pri-cod-commit> <dir_local> <dir_remot>"; |
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
================== | |
===FORMULARIO=== | |
================== | |
<label> | |
[text* your-name placeholder "¿Cuál es tu nombre?"] </label> | |
[select menu-355-carreras "-- Capacitación --" "DIRECCIÓN DE PROYECTOS Y ANÁLISIS DE NEGOCIOS" "INNOVACIÓN Y METODOLOGÍAS ÁGILES" "MODALIDAD ONLINE" "TRANSFORMACIÓN DIGITAL"] | |
[group group-cursos-11] | |
[select* menu-357711 first_as_label "-- Cursos --" |
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 | |
/* | |
// BASIC EXAMPLE (INSPIRATION) | |
// comando usado en LINUX con imagemagick instalado | |
// convert sansung.png -thumbnail 500x500 -background black -gravity center -extent 500x500 end.jpg | |
header('Content-type: image/jpeg'); | |
$image = new Imagick('image.jpg'); |
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 | |
public function ajax_paymentfitnes() { | |
global $current_user; | |
get_currentuserinfo(); | |
// Check parameters | |
$message = isset( $_POST['card_token'] ) ? $_POST['card_token'] : false; | |
$dataPOST = $_POST; | |
$culqui_customer_id = get_the_author_meta( 'culqui_customer_id', $current_user->ID ); |
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
def insertarAlInicio(nuevoValor) | |
nuevoNodo = [nuevoValor, nil] # crear un nodo nuevo | |
# crear NODO | |
if @inicio == nil | |
@inicio = nuevoNodo | |
else | |
nuevoNodo[1] = @inicio | |
@inicio = nuevoNodo |
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
def printt() | |
a = [nil, 3, nil] | |
b = [nil, 5, nil] | |
c = [nil, 10, nil] | |
nuevo = [nil, 50, nil] # crear un nodo nuevo | |
a[2] = b | |
b[0] = a | |
b[2] = c | |
c[0] = b |
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 | |
use Zend\Db\Sql\Select; | |
// basic table | |
$select0 = new Select; | |
$select0->from('foo'); | |
// 'SELECT "foo".* FROM "foo"'; | |