Skip to content

Instantly share code, notes, and snippets.

View tlester's full-sized avatar

Tom Lester tlester

View GitHub Profile
@tlester
tlester / gist:21e9e7fb0259b4c5a2d8
Created January 8, 2016 18:49
nzbgeek search xml output
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/" version="2.0">
<channel>
<atom:link href="https://api.nzbgeek.info/api?apikey=f16efc5f04e87bf5be25365d34a97307&tvdbid=257655&season=4&maxage=87&cat=5030%2C5040&limit=100&t=tvsearch&offset=0&ep=2" rel="self" type="application/rss+xml"/>
<title>api.nzbgeek.info</title>
<description>NZBgeek API</description>
<link>http://api.nzbgeek.info/</link>
<language>en-gb</language>
<webMaster>info@nzbgeek.info (NZBgeek)</webMaster>
<category/>
volumes:
- device_name: /dev/sda
ebs.volume_type: standard
ebs.volume_size: 100
ebs.delete_on_termination: yes
- device_name: /dev/sdf
ebs.volume_type: standard
ebs.volume_size: 400
ebs.delete_on_termination: yes
- name: Provision host splunkhf001a
vars:
hostname: splunkhf001a
seceng_app: splunk
image: "{{ linux_ami }}"
app_security_group: sec-splunk-hf-fsec005-gcwe1
instance_type: m4.2xlarge
subnet_id: subnet-888d41fe # us-gov-west-1a subnet
# subnet_id: subnet-8d0dd9e9 # us-gov-west-1b subnet
ec2_instance:
- name: Download repo file
get_url:
url: https://yum.oracle.com/public-yum-ol7.repo
dest: /etc/yum.repos.d/public-yum-ol7.repo
environment:
http_proxy: fp.fssp001.gcwe1.internal.aconexgov.com:3128
https_proxy: fp.fssp001.gcwe1.internal.aconexgov.com:3128
@tlester
tlester / gist:61552aa2f07936c13f67c3090fa90d40
Created November 18, 2018 16:22
trace from a failed HomeKit Controller device creation attempt
2018-11-17 22:33:09 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall configurator.configure (c:15362b1e0916429c9d81aa4954848bdf): configure_id=139930381740912-2, fields=code=592-93-934>
Traceback (most recent call last):
File "/usr/src/app/homeassistant/core.py", line 1177, in _event_to_service_call
await service_handler.func(service_call)
File "/usr/src/app/homeassistant/components/configurator.py", line 221, in async_handle_service_call
call.data.get(ATTR_FIELDS, {}))
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/homekit_controller/__init__.py", line 191, in device_config_callback
pairing_id)
# Make FS for CIS compliance
- name: make filesystem for /var if needed
become: yes
filesystem:
fstype: ext4
dev: "{{ var_disk }}"
register: fs
- name: Backup /var
when: fs is changed
/*eslint-disable*/
import React from "react";
// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
import InputAdornment from "@material-ui/core/InputAdornment";
import Checkbox from "@material-ui/core/Checkbox";
import FormControlLabel from "@material-ui/core/FormControlLabel";
import List from "@material-ui/core/List";
import ListItem from "@material-ui/core/ListItem";
import Icon from "@material-ui/core/Icon";