Skip to content

Instantly share code, notes, and snippets.

Domingo Oropeza DIOHz0r

  • Buenos Aires, Argentina
Block or report user

Report or block DIOHz0r

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
@DIOHz0r
DIOHz0r / keybase.md
Created Sep 19, 2019
Keybase public proof
View keybase.md

Keybase proof

I hereby claim:

  • I am diohz0r on github.
  • I am diohz0r (https://keybase.io/diohz0r) on keybase.
  • I have a public key whose fingerprint is 0D79 8D10 F048 0DF3 86F8 94AE F208 2F34 52ED B938

To claim this, I am signing this object:

@DIOHz0r
DIOHz0r / virtualhost
Created Jul 9, 2019
Bash script for create apache virtualhosts
View virtualhost
#!/bin/bash
### Set Language
TEXTDOMAIN=virtualhost
### Set default parameters
action=$1
domain=$2
rootDir=$3
owner=$(who am i | awk '{print $1}')
apacheUser=$(ps -ef | egrep '(httpd|apache2|apache)' | grep -v root | head -n1 | awk '{print $1}')
@DIOHz0r
DIOHz0r / keybase.md
Created Oct 2, 2017
Keybase Validator
View keybase.md

Keybase proof

I hereby claim:

  • I am diohz0r on github.
  • I am diohz0r (https://keybase.io/diohz0r) on keybase.
  • I have a public key ASDluboN65ZaCa3GqCFEkahQHS-IWzctnLo3zYqXhUE2bwo

To claim this, I am signing this object:

View find-in-all-databases-tables.sql
/*
Code founded from http://kedar.nitty-witty.com/blog/search-through-all-databases-tables-columns-in-mysql
What will you do if one day some one ask you to find single string in all databases, all tables and in all columns?
I just read such question and tried to find a “ready made” solution.
Reusability is Key Concept !!
But I ended up finding no “copy-paste” material. Some of the posts like http://vyaskn.tripod.com/search_all_columns_in_all_tables.htm helped me out and supported my thinking of “how to do it” !
@DIOHz0r
DIOHz0r / README.md
Last active Apr 11, 2017
Abstract class to add an check dates against holidays
View README.md
You can’t perform that action at this time.