Skip to content

Instantly share code, notes, and snippets.

View wimarbueno's full-sized avatar

Wilzon MB wimarbueno

View GitHub Profile
@wimarbueno
wimarbueno / Instalar Skype in Crunch Bang
Last active August 29, 2015 14:08 — forked from jkraemer/gist:5990285
Instalar Skype in Crunch Bang
Instalar Skype in Crunch Bang
sudo dpkg --add-architecture i386
sudo aptitude install libxv1:i386 libxss1:i386 libasound2:i386 libqt4-dbus:i386 libqtwebkit4:i386 libasound2-plugins:i386 libssl1.0.0:i386
sudo dpkg -i skype-debian_4.2.0.11-1_i386.deb
class vim {
$version = "7.3"
Exec {
path => [
'/usr/local/bin'
,'/usr/bin'
,'/bin'
],
}
file { "/usr/local/src": ensure => directory }
# setup vagrant
gem install vagrant
vagrant box add lucid32 http://files.vagrantup.com/lucid32.box
mkdir my_vagrant_test
cd my_vagrant_test
vagrant init lucid32
vim Vagrantfile
vagrant up
vagrant ssh
<?php
// A query without any settings will use default values.
// This will result in a "*:*" query, 10 rows, all fields.
$query = new Solarium_Query_Select;
$result = $client->select($query);
echo 'Number of results found: ' . $result->getNumFound();
// The resultset is iterable, you could also use $result->getDocuments() to get an array with documents.
###*
Array to store the objects and Arrays of cookie "search"
@property search
@type Array
@default "[]"
###
search = [
{
'estado' : [],
'tipo-inmueble' : [],
@wimarbueno
wimarbueno / Configurar .gitignore
Last active August 29, 2015 14:08
Configurar .gitignore para que nuestro Git no tome en cuenta los cambios en los archivos, directorios, etc. que se listan en este archivo
#files de mac
*.DS_Store
#files zip
*.rar
*.zip
*.tar.gz
#backup files
#configurar el proxy
export http_proxy="http://172.21.0.12:3128"
export https_proxy="https://172.21.0.12:3128"
export ftp_proxy="ftp://172.21.0.12:3128"
#configurar variable "HTTP_PROXY_REQUEST_FULLURI"
export HTTP_PROXY_REQUEST_FULLURI="false"
#nota agregar para que no lo agregen constantemente lo pueden agregar al achivo .bashrc de su usuario
## CRUNCHBANG
## Compatible with Debian Wheezy, but use at your own risk.
deb http://packages.crunchbang.org/waldorf waldorf main
# deb-src http://packages.crunchbang.org/waldorf waldorf main
## DEBIAN
deb http://http.debian.net/debian wheezy main contrib non-free
# deb-src http://http.debian.net/debian wheezy main contrib non-free
## DEBIAN SECURITY
h3. Necesidad
Se requiere la modificación del modal para que pueda soportar el ingreso de 5 referidos (esto depende)
Se adjunta imagen de Referencia.
h3. Consideraciones
# El Modal debe ser flexible al cambio.
h3. Comportamiento
#sudo gedit /etc/hosts
;agregar el nombre de la url
127.0.0.1 local.tcn.ec.pe
#cd /etc/apache2/sites-available/
; crear un archivo con el nombre local.tcn.ec.pe
; agregar el contenido con https://gist.github.com/luismayta/4674310
; cambiar las rutas por defecto
#sudo a2ensite local.tcn.ec.pe
#sudo /etc/init.d/apache2 restart
# agregar la url al proxy con dconf-editor