View keybase.md

Keybase proof

I hereby claim:

  • I am mig5 on github.
  • I am mig5 (https://keybase.io/mig5) on keybase.
  • I have a public key whose fingerprint is E414 4692 2E11 B8DD 0D43 80E9 5418 373D FF79 BA19

To claim this, I am signing this object:

View vcloud-vm-lookup.sh
1 2 3 4 5 6 7 8 9
#!/bin/bash
 
usage() {
cat << EOF
usage: $0 ARGUMENTS
Simple wrapper script to query the vCloud API and return a
YAML object of a specific virtual machine.
 
Written by mig5 July 2014
View ossec-install.sh
1 2 3 4 5 6 7 8 9 10
#!/bin/bash
#
# Written by mig5 2014
 
# Variables
VERSION=2.8.1
CHECKSUM="ossec-hids-${VERSION}-checksum.txt"
TARBALL="ossec-hids-${VERSION}.tar.gz"
 
echo "Downloading packages and checksums"
View gist:8946673
1 2 3 4 5 6 7 8 9 10
root@web02:~# apt-get -s dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be DOWNGRADED:
libmysqlclient-dev libmysqlclient18.1
 
 
root@web02:~# apt-cache policy libmysqlclient18.1
View gist:8178406
1 2 3 4 5 6 7 8 9 10
root@example:~# cat /etc/apt/sources.list.d/logstash.list
deb http://packages.elasticsearch.org/logstash/1.3/debian stable main
 
 
root@example:~# apt-get install logstash
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
default-jre-headless icedtea-6-jre-cacao icedtea-6-jre-jamvm openjdk-6-jre-headless openjdk-6-jre-lib
View gist:3234386
1 2 3 4 5 6 7 8 9 10
diff --git template.php template.php
index 307f55b..4ac0226 100644
--- template.php
+++ template.php
@@ -51,7 +51,7 @@ function corolla_preprocess_block(&$vars) {
if ($vars['block']->module == 'superfish' || $vars['block']->module == 'nice_menu') {
$vars['content_attributes_array']['class'][] = 'clearfix';
}
- if ($vars['block']->region == 'menu_bar' || $vars['block']->region == 'header') {
+ if ($vars['block']->region == 'menu_bar') { // || $vars['block']->region == 'header') {
View gist:2642511
1 2 3 4 5 6 7 8 9 10
<?php
$aliases['server_clusterwebmig5net'] = array (
'context_type' => 'server',
'server' => '@server_master',
'remote_host' => 'cluster-web.mig5.net',
'aegir_root' => '/var/aegir',
'script_user' => 'aegir',
'ip_addresses' =>
array (
0 => '106.187.40.34',
View gist:2574501
1 2 3 4 5 6 7 8 9 10
Severity major, Drupal Security Checks [36/1918]
 
modules/field/modules/options/options.module:
+162: [critical] Potential problem: form_set_error() and form_error() only accept filtered text, be sure all !placeholders for $variables in t() are fully sanitized using check_plain(), filter_xss() or similar.
 
modules/field/tests/field_test.module:
+254: [critical] Potential problem: drupal_set_message() only accepts filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized.
+258: [critical] Potential problem: drupal_set_message() only accepts filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized.
 
modules/field/tests/field_test.entity.inc:
View gist:2573507
1 2 3 4 5 6 7 8 9 10
lft 2a01:e0b:1000:17:be30:5bff:fed0:330
 
traceroute to 2a01:e0b:1000:17:be30:5bff:fed0:330 (2a01:e0b:1000:17:be30:5bff:fed0:330), 30 hops max, 80 byte packets
1 2a01:7e00:ffff:0:8a43:e1ff:fea3:fa7f (2a01:7e00:ffff:0:8a43:e1ff:fea3:fa7f) 1.187 ms 3.102 ms
2 * *
3 lon21.ip6.tinet.net (2001:668:0:3::4000:7d1) 0.757 ms 0.725 ms
4 xe-1-1-0.nyc20.ip6.tinet.net (2001:668:0:2::1:832) 68.880 ms 68.811 ms
5 nyc002bb00.iij.net (2001:48b0:bb00:803c::400d) 69.341 ms *
6 paix-ny.proxad.net (2001:504:f::c5) 69.389 ms 69.294 ms
7 londres-6k-1-po103.intf.routers.proxad.net (2a01:e04:1:1::1) 138.044 ms 137.938 ms
View gist:2522432
1 2 3 4 5 6 7 8
root@dawn:/home/miguel# /etc/init.d/nginx restart
Restarting nginx: nginx: [emerg] bind() to 106.187.54.134:80 failed (98: Address already in use)
nginx: [emerg] bind() to 106.187.54.134:80 failed (98: Address already in use)
nginx: [emerg] bind() to 106.187.54.134:80 failed (98: Address already in use)
nginx: [emerg] bind() to 106.187.54.134:80 failed (98: Address already in use)
nginx: [emerg] bind() to 106.187.54.134:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
nginx.
Something went wrong with that request. Please try again.