I hereby claim:
- I am JonGretar on github.
- I am jongretar (https://keybase.io/jongretar) on keybase.
- I have a public key whose fingerprint is A25C E494 708E 603A 7A8E 0F34 32FC 10A9 E2D4 4D0F
To claim this, I am signing this object:
[root@salt-master ~]# salt "salt*" test.ping -l all -a pam | |
[DEBUG ] Reading configuration from /etc/salt/master | |
[DEBUG ] Missing configuration file: /root/.salt | |
[TRACE ] loading log_handlers in ['/var/cache/salt/master/extmods/log_handlers', '/opt/local/lib/python2.7/site-packages/salt/log/handlers'] | |
[TRACE ] Skipping /var/cache/salt/master/extmods/log_handlers, it is not a directory | |
[DEBUG ] Loaded logstash_mod as virtual logstash | |
[TRACE ] Added logstash.DatagramLogstashHandler to log_handlers | |
[TRACE ] Added logstash.LogstashFormatter to log_handlers | |
[TRACE ] Added logstash.NewStyleClassMixIn to log_handlers | |
[TRACE ] Added logstash.ZMQLogstashHander to log_handlers |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
Vagrant.configure("2") do |config| | |
config.vm.box = "smartos-base1310-64-virtualbox-20130806.box" | |
config.vm.box_url = "http://dlc-int.openindiana.org/aszeszo/vagrant/smartos-base1310-64-virtualbox-20130806.box" | |
config.vm.provision "shell", path: "salt_install.sh" | |
end |
I hereby claim:
To claim this, I am signing this object:
'use strict'; | |
var util = require("util"); | |
var Transform = require("stream").Transform; | |
function Bufferize(options){ | |
Transform.call(this, options); | |
this._writableState.objectMode = true; | |
this._readableState.objectMode = false; | |
this._firstItem = true; |
#!/bin/sh | |
# USE: ssh_install_key username@some.host.com | |
KEY="$HOME/.ssh/id_rsa.pub" | |
if [ ! -f ~/.ssh/id_rsa.pub ];then | |
echo "private key not found at $KEY" | |
echo "* please create it with "ssh-keygen -t dsa" *" | |
echo "* to login to the remote host without a password, don't give the key you create with ssh-keygen a password! *" | |
exit |
@implementation CalendarView: CPView | |
{ | |
} | |
-(id)init { | |
self = [super initWithFrame:CGRectMake(0, 0, 200, 200)]; | |
if (self) { | |
[self loadData]; | |
} |
/* | |
* Copyright 2009 agile42 GmbH - All rights reserved | |
* | |
* Authors: | |
* - Martin Häcker <martin.haecker@agile42.com> | |
*/ | |
// TODO: minimize this so only the actual dependencies are included | |
@import <AppKit/AppKit.j> |
With Rails 3.0 released a few weeks ago I've migrated a few apps and I'm constantly finding useful new improvements. One such improvement is the ability to log anything in the same way that Rails internally logs ActiveRecord and ActionView. By default Rails 3 logs look slightly spiffier than those produced by Rails 2.3: (notice the second line has been cleaned up)
Started GET "/" for 127.0.0.1 at Mon Sep 06 01:07:11 -0400 2010
Processing by HomeController#index as HTML
User Load (0.2ms) SELECT `users`.* FROM `users` WHERE (`users`.`id` = 3) LIMIT 1
CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE (`users`.`id` = 3) LIMIT 1
Rendered layouts/_nav.html.erb (363.4ms)
-module(ipcalc). | |
-author('Jon Gretar Borgthorsson <jongretar@medizza.com>'). | |
-export([ | |
get_network/2 | |
]). | |
%% When Netmask is not Integer | |
get_network(_NetworkAddress, Netmask) when is_list(Netmask) -> | |
throw(netmask_not_integer); |