Skip to content

Instantly share code, notes, and snippets.

Kemel Zaidan kemelzaidan

Block or report user

Report or block kemelzaidan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kemelzaidan
kemelzaidan / fullcircle_download.sh
Created Feb 28, 2014
Simple bash script to download all (or selected) editions from the Full Circle Magazine (<http://fullcirclemagazine.org/>) and other possible stuff
View fullcircle_download.sh
#!/bin/bash
#
# Originaly from http://fullcirclemagazine.org/tag/script/
echo -n "What is the issue number of the first Full Circle Magazine to
download? "
read firstissue
echo ""
echo -n "What is the issue number of the last Full Circle Magazine to
@kemelzaidan
kemelzaidan / post-install.sh
Last active May 7, 2018
A simple bash script intended to be run after a fresh Ubuntu/Debian installation in order to automate system update, extra software installation and a couple configuration files setup
View post-install.sh
#!/bin/bash
# package variables
PACKAGES="aptitude lynx autogen automake autoconf source-highlight htop most vim-nox build-essential nmap nethogs mpg123 xclip ubuntu-restricted-extras arj faac faad ffmpeg flac p7zip-full vorbis-tools x264 git lame checkinstall gnome-shell gnome-tweak-tool vlc gnome-mplayer geany gimp inkscape deluge unetbootin guake puddletag calibre default-jre default-java-plugin faenza-icon-theme"
CHROME_URL="https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" # always the latest
BRACKETS_URL="https://github.com$(curl -s -L https://github.com/adobe/brackets/releases/latest | grep "64-bit.deb" | cut -d '"' -f 2 | grep release)"
DUKTO_URL="http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_12.04/amd64/dukto_6.0-1_amd64.deb"
ALL_DEBS=$CHROME_URL $BRACKETS_URL $DUKTO_URL $FAENZA_URL
FUNCOESZZ_URL="http://funcoeszz.net/download/$(curl -sL http://funcoeszz.net/download/ |grep "arquivão" | cut -d '"' -f 2)"
@kemelzaidan
kemelzaidan / forumspam.sh
Created Dec 13, 2013
Really simple shell script to query spammers at the stopforumspam.com API
View forumspam.sh
#!/bin/bash
###############################################################################
#
# script simples que pega os atributos passados como email e consulta na API
# stopforumspam.com se o email enviado é spam ou não
#
# Licença GPL v3
# Autor: Kemel Zaidan
# email: kemelzaidan arroba gmail ponto com
###############################################################################
@kemelzaidan
kemelzaidan / subsonic-backup.sh
Created Sep 19, 2013
Backup das configurações do subsonic. Cria 8 tar.bz2 e apaga o mais velho quando ultrapassa esse limite
View subsonic-backup.sh
#!/bin/bash
#
# Variáveis
QUANTIDADE=`ls /media/cartola/subsonic-backup/ | grep bz2 | wc -l` # Quantidade de arquivos de backup
MAIS_VELHO=`readlink -f $(ls /media/cartola/subsonic-backup/ | grep bz2 | sort -r | head -1)`
ARQUIVO_NOVO=/media/cartola/subsonic-backup/subsonic-`date +%Y%m%d`.tar.bz2
echo "Compactando a pasta /var/subsonic"
echo "Aguarde..."
echo ""
@kemelzaidan
kemelzaidan / markdown.xml
Created Apr 23, 2013 — forked from lg0/markdown.xml
language highlight for markdown in sublime text 2
View markdown.xml
<!-- copy this to YOUR_THEME.tmTheme-->
<dict>
<key>name</key>
<string>diff: deleted</string>
<key>scope</key>
<string>markup.deleted</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#EAE3CA</string>
You can’t perform that action at this time.