Skip to content

Instantly share code, notes, and snippets.

anibal c (pepe) enlacee

Block or report user

Report or block enlacee

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@enlacee
enlacee / Contact-from-7
Created Oct 9, 2019
Configuracion de *contact form 7* con plugin extra *Conditional Fields*
View Contact-from-7
==================
===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 --"
@enlacee
enlacee / Imagick-code.php
Created Apr 24, 2019
Crear imagen proporcional con Imagick LIBRARY
View Imagick-code.php
<?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');
@enlacee
enlacee / cuqi-pagos.php
Created Jan 28, 2019
Crear cargos posteriores
View cuqi-pagos.php
<?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 );
@enlacee
enlacee / menu-html-css-responsive.html
Last active Apr 30, 2018
menu with html y css responsive
View menu-html-css-responsive.html
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class='bbt-menu'>
<nav>
<label for='drop' class='toggle'>Menu <span>&#9776;</span></label>
@enlacee
enlacee / menu-responsive.html
Created Apr 29, 2018
basic menu responsive
View menu-responsive.html
<!DOCTYPE html>
<html>
<head>
<title>h22</title>
</head>
<body>
<nav id="nav" role="navigation">
<a href="#nav" title="Show navigation" href="javascript:void(0);" onclick="myFunction()">Show navigation &#9776;</a>
<a href="#" title="Hide navigation" href="javascript:void(0);" onclick="myFunction2()">Hide navigation &times;</a>
<ul>
View 02.text
def insertarAlInicio(nuevoValor)
nuevoNodo = [nuevoValor, nil] # crear un nodo nuevo
# crear NODO
if @inicio == nil
@inicio = nuevoNodo
else
nuevoNodo[1] = @inicio
@inicio = nuevoNodo
@enlacee
enlacee / gist:9ecb8372415c00bb65c3df6225df4442
Created Mar 13, 2018
lista-enlazada.agregar.al.inicio.rb
View gist:9ecb8372415c00bb65c3df6225df4442
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
@enlacee
enlacee / example.php
Created Feb 23, 2018 — forked from ralphschindler/example.php
Zend\Db\Sql\Select example usage
View example.php
<?php
use Zend\Db\Sql\Select;
// basic table
$select0 = new Select;
$select0->from('foo');
// 'SELECT "foo".* FROM "foo"';
View Dockerfile-base
FROM phusion/baseimage:0.9.15
MAINTAINER picodotdev <pico.dev@gmail.com>
ENV HOME /root
RUN apt-get update -q
RUN /etc/my_init.d/00_regen_ssh_host_keys.sh
RUN echo 'root:$6$l/PahbyY$jFhqIAuvHeK/GwjfT71p4OBBkHQpnTe2FErcUWZ8GIN1ykdI7CgL05Jkk7MYW6l.0pijAlfoifkQnLpaldEJY0' | chpasswd -e
You can’t perform that action at this time.