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
#!/bin/sh | |
# permanent settings for network interface | |
# http://www.cyberciti.biz/tips/howto-linux-add-ethtool-duplex-settings-permanent.html | |
# edit file: /etc/init.d/100Mbs | |
# sudo vi /etc/init.d/100Mbs | |
#Append following lines: | |
# chmod +x /etc/init.d/100Mbs | |
# update-rc.d 100Mbs defaults | |
# /etc/init.d/100Mbs start |
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
# este é um esboço do que pode ser um script para automatizar o processo de baixar a iso diária do | |
# ubuntu | |
sudo su - | |
aptitude install -y zsync | |
# acesse a imagem do dia | |
# http://cdimage.ubuntu.com/daily/current/ | |
# o próprio zsync faz a checagem de integridade portando não |
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/env python | |
# # -*- coding: UTF-8 -*- | |
# Criado em:Seg 12/Abr/2010 hs 15:48 | |
# Last Change: Seg 12/Abr/2010 hs 15:48 | |
# vim:ft=python:nolist:nu: | |
# Instituicao: none | |
# Proposito do script: calcular números primos | |
# Autor: Sérgio Luiz Araújo Silva | |
# site: http://vivaotux.blogspot.com | |
# Referências: http://pipeless.blogspot.com/2008/09/o-crivo-de-eratstenes-em-python.html |
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
# source: http://www.uluga.ubuntuforums.org/showthread.php?t=1431468 | |
gconftool-2 --type string --set /desktop/gnome/keybindings/custom0/action "xkill" | |
gconftool-2 --type string --set /desktop/gnome/keybindings/custom0/binding "<Control><Alt>x" | |
gconftool-2 --type string --set /desktop/gnome/keybindings/custom0/name "Kill Application" |
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
########### Cache Videos e músicas ########### | |
refresh_pattern -i \.(mp3|mp4|m4a|ogg|mov|avi|wmv)$ 10080 90% 999999 ignore-no-cache override-expire ignore-private | |
acl youtube dstdomain .youtube.com | |
cache allow youtube | |
################################ | |
# Como os arquivos de vídeo são grandes, é necessário também aumentar o maximum_object_size | |
maximum_object_size 102400 KB (100MB) |
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
# /etc/sysctrl.conf | |
# references: | |
# https://klaver.it/linux/sysctl.conf | |
# https://wiki.archlinux.org/index.php/Sysctl | |
# wget -c https://raw.github.com/gist/368407/ -O - > /etc/sysctrl.conf | |
# ( O O ) | |
# +===========oOO==(_)==OOo==============+ | |
# | | |
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
# válido para placas sis 771 no ubuntu karmic para maquinas sim+ | |
# link onde peguei este xorg: http://www.ubuntu-es.org/?q=node/86080 | |
# | |
# xorg.conf (X.Org X Window System server configuration file) | |
# | |
# This file was generated by failsafeDexconf, using | |
# values from the debconf database and some overrides to use vesa mode. | |
# | |
# You should use dexconf or another such tool for creating a "real" xorg.conf | |
# For example: |
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
#!/bin/bash | |
####################################################################################### | |
# PROÓSITO DO SCRIPT: INSTALAR PACOTES EXTRAS E CODECS PARA UBUNTU 10.04 LUCID LINUX # | |
####################################################################################### | |
# Criado em:Ter 30/Mar/2010 hs 14:21 | |
# Last Change: Ter 18 Mai 2010 19:07:00 BRT | |
# vim:ft=sh:fdm=syntax:nu: | |
# Instituicao: none | |
# Autor: Sérgio Luiz Araújo Silva | |
# site: http://vivaotux.blogspot.com |
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
#!/bin/bash | |
# Criado em:Ter 27/Abr/2010 hs 10:23 | |
# Last Change: Ter 27/Abr/2010 hs 10:23 | |
# vim:ft=sh:fdm=syntax:nu: | |
# autor: Sérgio Luiz Araújo Silva | |
# e-mail: voyeg3r - google mail | |
# site: http://vivaotux.blogspot.com | |
# ( O O ) | |
# +===========oOO==(_)==OOo==============+ |