This file contains 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
{ | |
"data_dir": "/var/lib/consul/", | |
"addresses": { | |
"rpc": "127.0.0.1" | |
}, | |
"ports": { | |
"dns": 8600, | |
"http": 8500, | |
"rpc": 8400, | |
"serf_lan": 8301, |
This file contains 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
@@ -290,15 +290,7 @@ static struct neighbour *neigh_alloc(struct neigh_table *tbl, struct net_device | |
goto out_entries; | |
} | |
- if (tbl->entry_size) | |
- n = kzalloc(tbl->entry_size, GFP_ATOMIC); | |
- else { | |
- int sz = sizeof(*n) + tbl->key_len; | |
- | |
- sz = ALIGN(sz, NEIGH_PRIV_ALIGN); |
This file contains 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
// http://openenergymonitor.org/emon/node/1267 | |
//inclue lcdLibrary | |
#include | |
//intialize the library with the numbers of the interface pins | |
LiquidCrystal lcd(7, 8, 9, 10, 11, 12); | |
//set input pin | |
int sensorPin = A4; |
This file contains 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
[root@default-centos-6-chef-11 bin]# yum info stactions | |
Loaded plugins: security, verify | |
Error: No matching Packages to list | |
[root@default-centos-6-chef-11 bin]# yum info st2actions | |
Loaded plugins: security, verify | |
Installed Packages | |
Name : st2actions | |
Arch : noarch | |
Version : 1.2.0 | |
Release : 8 |
This file contains 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
--- | |
st2_ssl_cert: ! '-----BEGIN CERTIFICATE----- | |
LINE 1 | |
LINE 2 | |
LINE 3 | |
LINE 4 |
This file contains 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
> [bin] uname -a | |
Darwin log1kal 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64 | |
> [bin] docker run ubuntu cat /etc/lsb-release | |
DISTRIB_ID=Ubuntu | |
DISTRIB_RELEASE=12.04 | |
DISTRIB_CODENAME=precise | |
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS" | |
> [bin] docker run -d -p 4001:4001 -p 7001:7001 coreos/etcd | |
Unable to find image 'coreos/etcd' (tag: latest) locally | |
Pulling repository coreos/etcd |
This file contains 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
source "http://my.api-server.tld:26200" | |
cookbook "foo" | |
cookbook "bacon" |
This file contains 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
2015-12-28 13:49:37,796 ERROR [-] Failed registering rule from /opt/stackstorm/packs/packtest/rules/inception.yaml. | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/st2common/bootstrap/rulesregistrar.py", line 110, in _register_rules_from_pack | |
rule_api.validate() | |
File "/usr/lib/python2.7/dist-packages/st2common/models/api/base.py", line 85, in validate | |
allow_default_none=True) | |
File "/usr/lib/python2.7/dist-packages/st2common/util/schema/__init__.py", line 223, in validate | |
jsonschema.validate(instance=instance, schema=schema, cls=cls, *args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/jsonschema/validators.py", line 478, in validate |
This file contains 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
set nocompatible " be iMproved | |
set encoding=utf-8 | |
filetype off " required! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" Let Vundle manage Vundle. Required! | |
Bundle 'gmarik/vundle' |
This file contains 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
#!/bin/sh | |
while true; do | |
if test -n "`tmux showb 2> /dev/null`"; then | |
tmux saveb -|pbcopy && tmux deleteb | |
fi | |
sleep 0.5 | |
done |