Skip to content

Instantly share code, notes, and snippets.

View drupalalsur's full-sized avatar

Drupal al Sur drupalalsur

View GitHub Profile
@drupalalsur
drupalalsur / my.ini
Created April 25, 2016 18:19
archivo my.ini de XAMPP en Windows
# Example MySQL config file for small systems.
#
# This is for a system with little memory (<= 64M) where MySQL is only used
# from time to time and it's important that the mysqld daemon
# doesn't use much resources.
#
# You can copy this file to
# C:/xampp/mysql/bin/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is C:/xampp/mysql/data) or
@drupalalsur
drupalalsur / php.ini
Created April 25, 2016 18:17
php.ini de XAMPP en Windows
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
Google Chrome no permite actualizar los repositorios.
Esto es debido a que se ha eliminado el soporte para 32 bit, por tanto el sitema intenta encontrar ambos repositorios, los de 32 bit como los de 64 bit.
El error que te muestra es algo como esto:
w:failed to fetch http://dl.google.com/linux/chrome/deb/dist/stable/Release
Para los que están en 64 bit iniciar una consola e ingresar:
sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list"
@drupalalsur
drupalalsur / boton_html
Last active January 8, 2016 18:10
Boton PayPal en Bootstrap
<a href="#">
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="JGPNM5E634B42">
<input type="submit" value="Add to Cart" name="submit" title="" class="btn btn-danger">
</form>
</a>
Ref:http://www.daddydesign.com/wordpress/how-to-create-a-custom-paypal-button-without-images/
@drupalalsur
drupalalsur / template.html
Last active November 18, 2015 16:54
Bootstrap 3 template
<!DOCTYPE html>
<html lang="es-ES">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Template para Bootstrap</title>
<!-- Bootstrap -->
@drupalalsur
drupalalsur / config.ini.php
Created May 26, 2015 03:35
Archivo de configuración de phpMyAdmin en Ubuntu
<?php
/**
* Debian local configuration file
*
* This file overrides the settings made by phpMyAdmin interactive setup
* utility.
*
* For example configuration see
* /usr/share/doc/phpmyadmin/examples/config.sample.inc.php
* or
@drupalalsur
drupalalsur / my.cnf
Last active August 29, 2015 14:21
Configuración del archivo MySQL my.cnf para Ubuntu
#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
@drupalalsur
drupalalsur / vista-todos-los-videos.sql
Created August 21, 2014 04:40
Vista Todos los Vídeos
$view = new view();
$view->name = 'todos_los_v_deos';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'Todos los Vídeos';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
@drupalalsur
drupalalsur / slideshow.txt
Created May 29, 2014 20:37
Vista para crear un Slideshow en Drupal 7 con Views Slideshow
$view = new view();
$view->name = 'slideshow';
$view->description = 'Es la vista para el slideshow';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'Slideshow';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
@drupalalsur
drupalalsur / my.ini
Created April 24, 2014 00:09
Archivo optimizado my.ini de XAMPP para Windows versión 1.8.2-4-VC9
# Example MySQL config file for small systems.
#
# This is for a system with little memory (<= 64M) where MySQL is only used
# from time to time and it's important that the mysqld daemon
# doesn't use much resources.
#
# You can copy this file to
# C:/xampp/mysql/bin/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is C:/xampp/mysql/data) or