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
add_filter( 'woocommerce_product_tabs', 'woo_new_product_tab' ); | |
function woo_new_product_tab( $tabs ) { | |
// Adds the new tab | |
$tabs['test_tab'] = array( | |
'title' => __( 'New Product Tab', 'woocommerce' ), | |
'priority' => 50, | |
'callback' => 'woo_new_product_tab_content' | |
); |
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
int mapa_botones[9] = { 5, 6, 7, 8, 9, 10, 16, 14, 15 }; | |
int BotonesAnt[9] = { 1, 1, 1, 1, 1, 1, 1, 1, 1 }; | |
int BotonesAct[9] = { 1, 1, 1, 1, 1, 1, 1, 1, 1 }; | |
void setup() { | |
int i; | |
for (i=0; i<9; i++) { | |
digitalWrite(mapa_botones[i], HIGH); | |
pinMode(mapa_botones[i], INPUT); |
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
""" | |
Copyright: Manolo | |
Licencia: Affero GPL V3 | |
Requisitos: Python 2.4 | |
Script para crear usuarios Unix. | |
Uso: | |
---- |