, ,_
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
#!/bin/bash -vx | |
# check-certificate.sh | |
# Download and display SSL certificate validity dates issuer and subject | |
# Andres Hernandez - tonejito | |
PRINTF=printf | |
OPENSSL=openssl | |
if [ -n "${1}" ] |
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
# | |
# Disable access to the entire file system except for the directories that | |
# are explicitly allowed later. | |
# | |
# This currently breaks the configurations that come with some web application | |
# Debian packages. | |
# | |
#<Directory /> | |
# AllowOverride None | |
# Order Deny,Allow |
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
## Debian GNU/Linux | |
# Configuration file layout | |
PREFIX=/etc/apache2 | |
$PREFIX/apache2.conf | |
| # Include module configuration: | |
|- Include mods-enabled/*.load | |
|- Include mods-enabled/*.conf |
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
# Por SANIDAD MENTAL solo usen Allow,Deny :P | |
# Niega el acceso a TODOS | |
#Order Allow,Deny | |
#Deny From ALL | |
# Permite el acceso a TODOS | |
#Order Allow,Deny | |
#Allow From ALL |
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 -vx | |
for LOGIN in $@ | |
do | |
su - $LOGIN -c 'tar -xvvjpf /home/httpd-2.2.26.tar.bz2 && cd httpd-2.2.26 && ./configure --prefix=$HOME/local && make && make install' | |
done |
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 | |
# | |
# Andres Hernandez - tonejito | |
# | |
# /usr/local/bin/get-kernel | |
# | |
# Download and verify Linux kernel source against gpg signature | |
# file | |
GPG=gpg |
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 -vx | |
# | |
# ./follow-curl.sh | |
# Fetch resource following all Location headers and setting the apropriate referer and saving all the cookies | |
# | |
# Andres Hernandez - tonejito | |
# Released under the BSD license | |
# | |
CAT=cat |
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 bash | |
# = ^ . ^ = | |
for branch in `git branch | cut -c 3- | tr '\n' ' '` ; do git checkout $branch && git pull && git status ; done ; |
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 -vx | |
printf ":)\n:(\n" | \ | |
sed -e 's/:)/=\ ^\ \.\ ^\ =/g' -e 's/:(/=\ T\ \.\ T\ =/g' |