Skip to content

Instantly share code, notes, and snippets.

Oscar Javier Gentilezza Arenas exos

Block or report user

Report or block exos

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
@exos
exos / libro.sh
Created Nov 15, 2017
Script para cortar pdf's en formato de libro
View libro.sh
#!/usr/bin/env bash
DIVISOR=16
CORES=$(cat /proc/cpuinfo| grep processor | wc -l)
NOW=$(date +%s)
export TMP_PATH="${NOW}"
mkdir $TMP_PATH
@exos
exos / ircgrampp@.service
Created May 31, 2017
Systemd unit file for ircgrampp
View ircgrampp@.service
[Unit]
Description=Telegram <-> IRC bridge for %i
After=network.target
[Service]
TimeoutStartSec=5
Restart=always
Environment=SYSTEMD_LOG_LEVEL=debug
Environment=DEBUG=session,-node-telegram-bot-api
ExecStart=/usr/bin/ircgrampp start --only %i
View keybase.md

Keybase proof

I hereby claim:

  • I am exos on github.
  • I am exos (https://keybase.io/exos) on keybase.
  • I have a public key whose fingerprint is 32F3 C448 6D4C F20B 6D84 7E75 576B E106 8798 902F

To claim this, I am signing this object:

@exos
exos / rules.v4
Created Mar 22, 2017
Reglas iptables para SSH anti brute force
View rules.v4
*filter
:INPUT DROP [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
## Vamos a definir dos names:
# TMPBLOCKED: Van a ser clientes temporalmente bloqueados
# BLOCKED: Van a ser cliente bloqueados a largo plazo
-N TMPBLOCKED
-N BLOCKED
@exos
exos / pmdclock-agent.service
Created Jan 14, 2017
Unit file fot pmdclock agent
View pmdclock-agent.service
[Unit]
Description=Agent for pmdclock
[Service]
TimeoutStartSec=5
Restart=always
ExecStart=/usr/bin/pmdclock agent -f
[Install]
WantedBy=multi-user.target
You can’t perform that action at this time.