Skip to content

Instantly share code, notes, and snippets.

mkdir $HOME/alsi && cd $HOME/alsi && wget http://www.ensuseados.org/temporal/alsi && wget http://www.ensuseados.org/temporal/suse-logo2 && sudo install -Dm 755 alsi /usr/bin/alsi && echo " " >> $HOME/.bashrc && echo "alsi -f --file-logo=$HOME/alsi/suse-logo2" >> $HOME/.bashrc
@stevz
stevz / script-alsi.sh
Created August 22, 2012 16:14
Script para instalar Alsi en opensuse con logo
mkdir $HOME/alsi && cd $HOME/alsi && wget http://desdelinux.net/ftp/alsi && wget http://www.deviantart.com/download/290271743/ascii_suse_logo_by_aubreybourke-d4stj3z.
zip && unzip ascii_suse_logo_by_aubreybourke-d4stj3z.zip && sudo install -Dm 755 alsi /usr/bin/alsi && echo " " >> $HOME/.bashrc && echo "alsi -f --file-logo=$HOME/al
si/suse-logo" >> $HOME/.bashrc
@stevz
stevz / 50-sound.conf
Created April 17, 2012 14:55
Configuracion de alsa para HDMI nvidia
options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2
#options snd slots=snd-hda-intel,snd-hda-intel
# u1Nb.SmHDFPtPyV7:5 Series/3400 Series Chipset High Definition Audio
alias snd-card-0 snd-hda-intel
# NXNs.ynyZlcBlir9:nVidia Corporation
#alias snd-card-1 snd-hda-intel
@stevz
stevz / gist:856177
Created March 5, 2011 06:25
BT coneccion
#!/bin/sh
# Script para conectarse con tu movil via bluetooth a internet
echo "Conexion por 3g usando Bluetooth"
DevNum=0
case $1 in
start)
dispositivo=`gdialog --inputbox "Ingrese nombre de su equipo" 2>&1`
MAC=$(hcitool scan | grep 'dispositivo' | awk '{print $1}')
canal=$(sdptool search --bdaddr $MAC DUN | grep Channel | awk '{print $2}')
#!/bin/sh
# Script para conectarse con tu movil via bluetooth a internet
CMDLN_ARGS="$@"
export CMDLN_ARGS
echo "Conexion por 3g usando Bluetooth"
dispositivo=`gdialog --inputbox "Ingrese nombre de su equipo" 2>&1`
if [ $UID -ne 0 ]; then
toor=`gdialog --msgbox "Ud no es root, favor ingrese el password" 2>&1`
@stevz
stevz / gist:822548
Created February 11, 2011 15:59
Comandos
sdptool search dun
sudo rfcomm release rfcomm0
sudo rfcomm bind 0 00:21:FE:B3:28:45 2
sudo wvdial nokia-bt