I hereby claim:
- I am sfgarza on github.
- I am sfgarza (https://keybase.io/sfgarza) on keybase.
- I have a public key whose fingerprint is 97FF A8FA 6B1F 866C C3C9 9ACA 455D 225D 2CF8 5BD2
To claim this, I am signing this object:
<html> | |
<head> | |
<style> | |
.joy-div { | |
position: relative; | |
height: 157px; | |
width: 157px; | |
display: inline-block; | |
border-width: 10px; |
#!/usr/bin/env bash | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# git hook to run a command after `git pull` if a specified file was changed | |
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { | |
echo "$changed_files" | grep --quiet "$1" && eval "$2" |
<?php | |
$time = my_strtolocaltime( 'midnight' ); | |
my_schedule_cron( 'my_destroy_sessions_cron', 'daily', $time ); | |
add_action( 'my_destroy_sessions_cron', 'my_destroy_sessions' ); | |
/** | |
* Destroy all sessions for guest user. | |
* | |
* @return void | |
*/ |
<?php | |
$result = activate_plugin( 'jetpack/jetpack.php' ); | |
if ( is_wp_error( $result ) ) { | |
error_log( 'Couldnt activate plugin'); | |
} |
#!/usr/bin/env bash | |
# | |
# Commands to be run before a commit can be made to the repository: | |
# | |
# Make sure gulp build always runs before commiting. | |
# Constants for terminal colors | |
GREEN='\033[00;32m' | |
YELLOW='\033[00;93m' | |
RED='\033[00;91m' |
<? | |
/** | |
* For developers: WordPress debugging mode. | |
* | |
* Change this to true to enable the display of notices during development. | |
* It is strongly recommended that plugin and theme developers use WP_DEBUG | |
* in their development environments. | |
*/ | |
define('WP_DEBUG', true); | |
define( 'WP_DEBUG_LOG', true ); |
#!/bin/bash | |
apt-get update -y; | |
apt-get install git curl vim wget npm -y; | |
npm install n npm@latest imforza-cli -g; | |
npm cache clean -f; | |
n lts; | |
wget https://getcomposer.org/installer; | |
php installer --install-dir=/usr/local/bin --filename=composer; | |
rm installer; |
I hereby claim:
To claim this, I am signing this object:
#\bsrc="http:\/\/search.cesipagano.com# => src="//search.cesipagano.com |
<?php | |
### PHP command line wrapper for WP Engine's web based WP-CLI | |
### Example command line: php wp_engine_cli.php -i wp_install_name -c "cli info" | |
$all_installs = array( | |
'install1', | |
'install2', | |
'install3, | |
); |