Skip to content

Instantly share code, notes, and snippets.


Kiall Mac Innes kiall

  • Microsoft
  • Dublin, Ireland
View GitHub Profile
kiall / metallb-arp-config.yaml
Created Feb 21, 2018
MetalLB ARP Config Example
View metallb-arp-config.yaml
apiVersion: v1
kind: ConfigMap
namespace: metallb-system
name: config
config: |
- name: lan-ip-space
protocol: arp
View metallb.yaml
## Namespace
apiVersion: v1
kind: Namespace
name: metallb-system
## RBAC roles
kind: ClusterRole
View Service Info
Index PID Type Language Details
0x19c9 / 6601 PCR
0x19c8 / 6600 PMT
1 0x19c9 / 6601 H264
2 0x19ca / 6602 AAC eng
3 0x19ce / 6606 AAC eng
After filtering and reordering (without PCR and PMT)
Index PID Type Language Details
View WebGrab++.config.xml
<!--?xml version="1.0"?-->
<!-- for detailed info about the settings see -->
<postprocess grab="y" run="n">mdb</postprocess>
<user-agent>Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0</user-agent>
kiall / Command to Gather
Last active Jan 7, 2017
Android TVHeadend EventLogger Samples
View Command to Gather
adb logcat *:S ie.macinnes.tvheadend.player.EventLogger:V
View kubectl
ubuntu@hcp-kubernetes-master-37aca8ef-639b-11e6-8b93-fa163eefb5e8:~$ kubectl describe service test
Name: test
Namespace: default
Labels: <none>
Selector: name=test
Type: LoadBalancer
LoadBalancer Ingress:,
Port: http 80/TCP
NodePort: http 30662/TCP

Keybase proof

I hereby claim:

  • I am kiall on github.
  • I am kiall ( on keybase.
  • I have a public key whose fingerprint is CABB 372A 4BDD EA49 C21F ED52 9D78 AE5F 6DD1 92A2

To claim this, I am signing this object:

kiall / gist:10996556
Created Apr 17, 2014
View gist:10996556
d-i debian-installer/language string en
d-i debian-installer/locale string en_US.UTF-8
d-i localechooser/preferred-locale string en_US.UTF-8
d-i localechooser/supported-locales en_US.UTF-8
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layout select USA
d-i keyboard-configuration/variant select USA
d-i keyboard-configuration/modelcode string pc105
View GELF.php
<?php defined('SYSPATH') OR die('No direct script access.');
* GELF log writer. Writes out messages to a Graylog2 server.
* @package Kohana
* @category Logging
* @author Kiall Mac Innes
* @copyright (c) 2012 Managed I.T.
class Kohana_Log_GELF extends Log_Writer {
View gist:1870716
diff --git a/classes/Kohana/Request.php b/classes/Kohana/Request.php
index 78c17c8..337937d 100644
--- a/classes/Kohana/Request.php
+++ b/classes/Kohana/Request.php
@@ -47,13 +47,14 @@ class Kohana_Request implements HTTP_Request {
* @param string $uri URI of the request
* @param array $client_params An array of params to pass to the request client
+ * @param bool $allow_external Allow external requests? (deprecated in 3.3)
* @param array $injected_routes An array of routes to use, for testing