Skip to content

Instantly share code, notes, and snippets.

View kiall's full-sized avatar

Kiall Mac Innes kiall

  • Microsoft
  • Dublin, Ireland
View GitHub Profile
@kiall
kiall / metallb-arp-config.yaml
Created February 21, 2018 20:42
MetalLB ARP Config Example
apiVersion: v1
kind: ConfigMap
metadata:
namespace: metallb-system
name: config
data:
config: |
address-pools:
- name: lan-ip-space
protocol: arp
## Namespace
apiVersion: v1
kind: Namespace
metadata:
name: metallb-system
---
## RBAC roles
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
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
<!--?xml version="1.0"?-->
<settings>
<!-- for detailed info about the settings see http://webgrabplus.com/node/30 -->
<filename>/home/hts/wg++/guide.xml</filename>
<mode></mode>
<postprocess grab="y" run="n">mdb</postprocess>
<proxy>automatic</proxy>
<user-agent>Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0</user-agent>
@kiall
kiall / Command to Gather
Last active January 7, 2017 15:59
Android TVHeadend EventLogger Samples
adb logcat *:S ie.macinnes.tvheadend.player.EventLogger:V
ubuntu@hcp-kubernetes-master-37aca8ef-639b-11e6-8b93-fa163eefb5e8:~$ kubectl describe service test
Name: test
Namespace: default
Labels: <none>
Selector: name=test
Type: LoadBalancer
IP: 172.16.212.20
LoadBalancer Ingress: 10.250.0.149, 172.31.0.100
Port: http 80/TCP
NodePort: http 30662/TCP
@kiall
kiall / keybase.md
Created October 27, 2014 20:53
keybase.md

Keybase proof

I hereby claim:

  • I am kiall on github.
  • I am kiall (https://keybase.io/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
kiall / gist:10996556
Created April 17, 2014 16:35
designate-workshop-preseed.cfg
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
<?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 {
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