Skip to content

Instantly share code, notes, and snippets.

View okelet's full-sized avatar
🎯
Focusing

Juan A. S. okelet

🎯
Focusing
View GitHub Profile
@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.
[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
#!/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()
{
@okelet
okelet / README.md
Last active July 27, 2021 18:37
Graylog Zabbix monitoring

Graylog Zabbix monitoring

The bash script creates a user with the permissions required to monitor the journal and get metrics.

The second file is a template for Zabbix (requires Zabbix 3.4); this template collects the following data:

  • Balancer status for the node
  • Journal: current size
  • Journal: max size

My Visual Studio Code extensions

Moved to the blog.

Testing aws ecs execute-command

Moved to the blog.