Skip to content

Instantly share code, notes, and snippets.

View okelet's full-sized avatar
🎯
Focusing

Juan A. S. okelet

🎯
Focusing
View GitHub Profile
#!/opt/bin/php -d memory_limit=-1
<?php
// Adapted from https://aws.amazon.com/es/blogs/apn/aws-lambda-custom-runtime-for-php-a-practical-example/
// This invokes Composer's autoloader so that we'll be able to use Guzzle and any other 3rd party libraries we need.
require __DIR__ . '/vendor/autoload.php';
function getNextRequest()
{
[defaults]
host_key_checking = False
inventory = ~/ansible_hosts.ini
library = ~/.ansible/library
display_skipped_hosts = True
nocows = 1
roles_path = ~/.ansible/roles:/etc/ansible/roles
@okelet
okelet / output.txt
Created July 3, 2014 12:13
Salida del comando mysql_secure_installation en Debian 7.5 (Wheezy)
/usr/bin/mysql_secure_installation: 379: /usr/bin/mysql_secure_installation: find_mysql_client: not found
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.