This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.1"?> | |
<root> | |
<item> | |
<name>Code Keyboard media keys</name> | |
<appendix>This will bind CODE/WASD the printed values on the media keys to their actual software function. | |
* FN+Insert : Pause / Play | |
* FN+Delete : Previous Song | |
* FN+End : Next Song | |
* FN+Pause : Mute Volume | |
* FN+Page Up : Volume Up |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go list -f '{{join .Deps "\n"}}' | xargs go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"os/exec" | |
"github.com/aws/aws-sdk-go/aws" | |
"github.com/aws/aws-sdk-go/aws/session" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import boto3 | |
import logging | |
#setup simple logging for INFO | |
logger = logging.getLogger() | |
logger.setLevel(logging.INFO) | |
#define the connection | |
ec2 = boto3.resource('ec2') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11:24:53 + docker info | |
11:24:55 Containers: 0 | |
11:24:55 Images: 29 | |
11:24:55 Server Version: 1.9.0 | |
11:24:55 Storage Driver: aufs | |
11:24:55 Root Dir: /var/lib/docker/aufs | |
11:24:55 Backing Filesystem: extfs | |
11:24:55 Dirs: 29 | |
11:24:55 Dirperm1 Supported: false | |
11:24:55 Execution Driver: native-0.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ansible EC2 external inventory script settings | |
# | |
[ec2] | |
# AWS regions to make calls to. Set this to 'all' to make request to all regions | |
# in AWS and merge the results together. Alternatively, set this to a comma | |
# separated list of regions. E.g. 'us-east-1,us-west-1,us-west-2' | |
regions = us-east-1 | |
regions_exclude = us-gov-west-1,cn-north-1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config file for ansible -- http://ansible.com/ | |
# ============================================== | |
# nearly all parameters can be overridden in ansible-playbook | |
# or with command line flags. ansible will read ANSIBLE_CONFIG, | |
# ansible.cfg in the current working directory, .ansible.cfg in | |
# the home directory or /etc/ansible/ansible.cfg, whichever it | |
# finds first | |
[defaults] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# blackwidow_enable.py | |
# | |
# Enables the M1-5 and FN keys to send scancodes on the Razer BlackWidow | |
# and BlackWidow Ultimate keyboards. | |
# | |
# You can use 'xev' and 'xbindkeys' to assign actions to the macro keys. | |
# | |
# Requires the PyUSB library. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../components/polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#core_card { | |
position: absolute; | |
width: 300px; | |
height: 300px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../components/polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#core_scaffold { | |
position: absolute; | |
top: 0px; | |
right: 0px; |