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
# casStructure.ldif | |
dn: cn=cas,dc=example,dc=com | |
objectClass: nsContainer | |
objectClass: top | |
cn: cas | |
dn: cn=services,cn=cas,dc=example,dc=com | |
objectClass: nsContainer | |
objectClass: top | |
cn: services |
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
Okay Bob. I don't usually do this, but if you have some time, would you read through this and give me some feedback? This is what I was working on Sunday before my mental meltdown. I'm not happy with it. I feel like I was going somewhere with it and half way through I got interrupted and while I may be close to my original intent, I feel like the whole thing is garbage. Or at very least, most of it. (I'm trying not to let myself get irritated again, but I feel like I lost a week's worth of momentum on this and I had just listened to B2W and watched Up in the Air and the combination of those two things was really jiving for me... *deep breath*...) | |
Anyway, if you have some time to comment (maybe even inline) about things and see if this makes sense or provide any counter points or additional points to what I'm saying, that would be great. | |
I may post this on my blog at some point, but I don't know right now. | |
People are tricky. People are messy. And no one person is more problematic than yourself. |
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
#include <stdio.h> | |
#include <stdlib.h> | |
struct LinkedList { | |
int number; | |
struct LinkedList *next; | |
}; | |
typedef struct LinkedList llist; |
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
(in /Users/bob/Workbench/nussm/newulmsuzuki.org) | |
*** RefineryCMS gem load failed, attempting to load traditionally... *** | |
*** RefineryCMS gem load failed, attempting to load traditionally... *** | |
rake aborted! | |
uninitialized constant Rails::Configuration | |
/Users/bob/Workbench/nussm/newulmsuzuki.org/Rakefile:9:in `require' | |
(See full trace by running task with --trace) | |
(in /Users/bob/Workbench/nussm/newulmsuzuki.org) | |
*** RefineryCMS gem load failed, attempting to load traditionally... *** |
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
# MacPorts Installer addition on 2009-09-07_at_23:30:01: adding an appropriate PATH variable for use with MacPorts. | |
export PATH=/opt/local/bin:/opt/local/sbin:/usr/local/mongodb/bin:$PATH | |
export MANPATH=/opt/local/share/man:$MANPATH | |
# Finished adapting your PATH environment variable for use with MacPorts. | |
# enable color support for ls and other aliases | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxCxDxBxegedabagacad | |
# defined alias |
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 | |
# | |
# init.d script with LSB support. | |
# | |
# Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org> | |
# | |
# This is free software; you may redistribute it and/or modify | |
# it under the terms of the GNU General Public License as | |
# published by the Free Software Foundation; either version 2, | |
# or (at your option) any later version. |
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
class InterventionsController < ApplicationController | |
inherit_resources | |
actions :create, :update, :edit, :new | |
nested_belongs_to :patient, :drug_therapy_problem | |
create! do |success, failure| | |
success.html do | |
@intervention.activate!("Manual communication") | |
end | |
failure.html { render :action => 'new', :status => :unprocessable_entity } |
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
class Address | |
include Mongoid::Document | |
belongs_to :user, :inverse_of => :addresses | |
belongs_to :venue, :inverse_of => :venues | |
field :street, :type => String | |
field :city, :type => String | |
field :state, :type => String | |
field :zip, :type => Integer |
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
require 'net/imap' | |
require 'pp' | |
require 'yaml' | |
conf = File.open( 'config.yaml' ) { |yf| YAML::load( yf ) } | |
#custom verification callback used here only for debugging | |
VerifyCallbackProc = proc do |v, ctx| | |
#p ctx.methods | |
#p v, ctx.current_cert, ctx.chain |
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
# standard.rb | |
# from Bob Martens | |
# standard Rails template used for BobMartens.net development | |
# needed gems | |
gem 'authlogic' | |
gem 'thoughtbot-shoulda', :lib => 'shoulda', :source => 'http://gems.github.com' | |
gem 'thoughtbot-factory_girl', :lib => 'shoulda', :source => 'http://gems.github.com' | |
gem 'mislav-will_paginate', :lib => 'will_paginate', :source => 'http://gems.github.com' |
NewerOlder