Skip to content

Instantly share code, notes, and snippets.

View todmephis's full-sized avatar

Ivan Sanchez todmephis

  • MX
View GitHub Profile
@todmephis
todmephis / brew-update-notifier.sh
Last active September 19, 2024 14:01 — forked from streeter/brew-update-notifier.sh
Homebrew Package Update Notifications on macOS Mojave
#!/bin/bash
#
# Notify of Homebrew updates via Notification Center on macOS
# Forked from: https://gist.github.com/streeter/3254906
# https://github.com/julienXX/terminal-notifier
# https://github.com/vjeantet/alerter
# Author: Ivan Sanchez https://todmephis.cf/
# Twetter: https://twitter.com/todmephis
# Requires: terminal-notifier, alerter. Install with:
# brew install terminal-notifier
@todmephis
todmephis / analyze_bp_seclog.sh
Created July 12, 2018 03:48
BulletProof plugin Log Analyzer. Takes security log and output all blocked requests showing them by date and blocked requests per month.
#!/bin/bash
#by @todmephis
#BulletProof WordPress Plugin Log Analyzer.
#Takes bulletproof's security log and output all blocked requests showing them by date and bloked requests per month.
usage() { echo "Usage: $0 [-f <log_file>] " 1>&2; exit 1; }
while getopts ":f:" o; do
case "${o}" in
f)
FILE=${OPTARG}
;;
@todmephis
todmephis / autotag_v1.0.py
Created February 22, 2017 19:15
Tag automatically your friends on Facebook post using python. | Etiqueta automaticamente a tus amigos en un post de Facebook usando python.
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Autotag Facebook V 1.0
Copyright (C) 2017 todmephis
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.