Skip to content

Instantly share code, notes, and snippets.

View sistematico's full-sized avatar
🏠
Working from home

Lucas Saliés Brum sistematico

🏠
Working from home
View GitHub Profile
@sistematico
sistematico / aursend.sh
Last active June 8, 2016 19:31
Um helper para criar e enviar um novo pacote para o AUR(http://aur.archlinux.org)
#!/bin/sh
#
# aursend.sh - Um pequeno helper para criar e enviar
# um novo pacote para o AUR(http://aur.archlinux.org)
# Usando o método com Git
#
# Criado por Lucas Saliés Brum
# Com base em http://bit.ly/1U2bTRE
# Em 05-06-2016 07:30:25
#
@sistematico
sistematico / grav-perms.sh
Last active June 11, 2016 09:50
Conserta as permissões do Grav | Fix Grav permissions
#!/bin/sh
GRAV_PATH="/var/www/lucasbrum.tk"
GRAV_USER="webdev"
GRAV_GROUP="webdev"
chown ${GRAV_USER}:${GRAV_GROUP} $GRAV_PATH
chown -R ${GRAV_USER}:${GRAV_GROUP} $GRAV_PATH
find $GRAV_PATH -type f | xargs chmod 664
find ${GRAV_PATH}/bin -type f | xargs chmod 775
@sistematico
sistematico / watch.sh
Created June 14, 2016 04:24 — forked from mikesmullin/watch.sh
watch is a linux bash script to monitor file modification recursively and execute bash commands as changes occur
#!/usr/bin/env bash
# script: watch
# author: Mike Smullin <mike@smullindesign.com>
# license: GPLv3
# description:
# watches the given path for changes
# and executes a given command when changes occur
# usage:
# watch <path> <cmd...>
#
@sistematico
sistematico / accuweather_codes.txt
Created June 15, 2016 03:48
AccuWeather Location Codes
City Name = "Aachen, DE" Location = "EUR|DE|GM011|AACHEN" Country = "Germany"
City Name = "Aalborg, DK" Location = "EUR|DK|DA007|AALBORG" Country = "Denmark"
City Name = "Aalesund, NO" Location = "EUR|NO|NO007|AALESUND" Country = "Norway"
City Name = "Aare, SE" Location = "EUR|SE|SW006|AARE" Country = "Sweden"
City Name = "Aarhus, DK" Location = "EUR|DK|DA001|AARHUS" Country = "Denmark"
City Name = "Aba, NG" Location = "AFR|NG|NI008|ABA" Country = "Nigeria"
City Name = "Abadan, IR" Location = "MEA|IR|IR016|ABADAN" Country = "Iran"
City Name = "Abakan, RU" Location = "ASI|RU|RS033|ABAKAN" Country = "Russia"
City Name = "Abbotsford, CA" Location = "NAM|CA|BC|ABBOTSFORD" Country = "Canada"
City Name = "Abeokuta, NG" Location = "AFR|NG|NI000|ABEOKUTA" Country = "Nigeria"
@sistematico
sistematico / weather.sh
Created June 15, 2016 07:09
Simples script para mostrar temperatura e condições meteorológicas no Conky ou no Terminal
#!/bin/sh
# AccuWeather (r) RSS weather tool for conky
#
# USO: weather.sh <locationcode>
# (espaços precisam ser substituidos por %20)
#
# (c) Michael Seiler 2007
# Alterações por Lucas Saliés Brum a.k.a. sistematico, <lucas at archlinux dot com dot br>
#
# Lista de localidades: http://bit.ly/28Dll5G
#!/bin/bash
#
# chwall.sh - Programa para alterar o papel de parede.
# Funciona no i3, OpenBox e outros.
#
# Criador por Lucas Saliés Brum a.k.a. sistematico, <lucas at archlinux dot com dot br>
#
# Criado em: 17-06-2016 13:13:58
# Última alteração: 18-06-2016 04:03:48
#!/bin/sh
#
# Sintaxe para encontrar os IPS.
# host -t a DOMINIO
# whois -h whois.radb.net [IP] | grep origin
# whois -h whois.radb.net -- -i origin -T route AS32934 | grep route:
#
# Script por Lucas Saliés Brum, a.k.a. sistematico, <lucas AT archlinux DOT com DOT br>.
# Criado em 03/08/16
# Alterado em 03/08/16
@sistematico
sistematico / downloads.txt
Last active February 2, 2024 10:22
ShoutCast Scripts
Downloads 64 bits:
sc_serv: https://dl.dropbox.com/s/awj65gxyighz4ro/sc_serv2_linux_x64-latest.tar.gz?dl=1
sc_trans: https://dl.dropbox.com/s/ol88p5cwy9ivhvx/sc_trans_linux_x64_10_07_2011.tar.gz?dl=1
Downloads 32 bits:
sc_serv: [FALTANDO]
sc_trans: https://dl.dropbox.com/s/zfmfh0ahdv7mjx0/sc_trans_linux_10_07_2011.tar.gz?dl=1
Para baixar o último sc_serv vá até: https://www.shoutcast.com/BroadcastNow
@sistematico
sistematico / trackers.txt
Created August 19, 2016 23:24
List of Torrent Trackers
http://9.rarbg.com:2710/announce
http://announce.torrentsmd.com:6969/announce
http://bt.careland.com.cn:6969/announce
http://explodie.org:6969/announce
http://mgtracker.org:2710/announce
@sistematico
sistematico / firewall-helper.sh
Last active August 24, 2016 16:50
Firewall Helper - Script para bloquear todos os domínios de um site, como Facebook ou Google ou bloquear torrents.
#!/bin/sh
#
# Sintaxe para encontrar os IPS.
# host -t a DOMINIO
# whois -h whois.radb.net [IP] | grep origin
# whois -h whois.radb.net -- -i origin -T route AS32934 | grep route:
#
# Script por Lucas Saliés Brum, a.k.a. sistematico, <lucas AT archlinux DOT com DOT br>.
#
# Criado em 03/08/16 13:43:16 AMT