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
# Turn on advanced bash completion if the file exists | |
if [ -f /usr/local/etc/bash_completion ]; then | |
. /usr/local/etc/bash_completion | |
fi | |
# Locate virtualenvwrapper binary | |
if [ -f ~/.local/bin/virtualenvwrapper.sh ]; then | |
export VENVWRAP=~/.local/bin/virtualenvwrapper.sh | |
fi |
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
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile | |
# Load in .bashrc ----------------------------------------------- | |
if [ -f ~/.bashrc ]; then | |
source ~/.bashrc | |
fi | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* |
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
params = { | |
weekly_recurring_schedule: { | |
length: 20, | |
color: "red", | |
user: 34, | |
locale: 11, | |
restriction: "Open to public", | |
name: "Dr ABC's appointments" | |
days: { | |
sunday: [ |
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 'https://rubygems.org' | |
gem 'dotenv' | |
gem 'rake' | |
gem 'faker' | |
gem 'pry' | |
gem 'mongoid' | |
gem 'geocoder' | |
gem 'activesupport' | |
gem 'require_all' |
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
development: | |
sessions: | |
default: | |
database: geocoded_providers | |
hosts: | |
- 0.0.0.0:27017 | |
raise_not_found_error: false | |
options: | |
pool_size: 35 |
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 Processing | |
# ########################################################### | |
module DataProcessing | |
class TaxonomyCache | |
def initialize | |
@@specialties = Taxonomies::Specialty.all[0..-1].group_by(&:taxonomy) | |
@@specialties.each do |k, v| | |
@@specialties[k] = v.first | |
end |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 1.
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
"NPI","Entity Type Code","Replacement NPI","Employer Identification Number (EIN)","Provider Organization Name (Legal Business Name)","Provider Last Name (Legal Name)","Provider First Name","Provider Middle Name","Provider Name Prefix Text","Provider Name Suffix Text","Provider Credential Text","Provider Other Organization Name","Provider Other Organization Name Type Code","Provider Other Last Name","Provider Other First Name","Provider Other Middle Name","Provider Other Name Prefix Text","Provider Other Name Suffix Text","Provider Other Credential Text","Provider Other Last Name Type Code","Provider First Line Business Mailing Address","Provider Second Line Business Mailing Address","Provider Business Mailing Address City Name","Provider Business Mailing Address State Name","Provider Business Mailing Address Postal Code","Provider Business Mailing Address Country Code (If outside U.S.)","Provider Business Mailing Address Telephone Number","Provider Business Mailing Address Fax Number","Provider First Line Bus |
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
# ########################################################### | |
# Configuration | |
# ########################################################### | |
# Load all Gem and ENV dependencies | |
require 'rubygems' | |
require 'bundler/setup' | |
require 'dotenv' | |
Dotenv.load | |
require 'require_all' |
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
ko.bindingHandlers.checkedUniform = { | |
init: function(element, valueAccessor) { | |
ko.bindingHandlers.checked.init(element, valueAccessor); | |
$(element).uniform(); | |
}, | |
update: function(element, valueAccessor) { | |
var value = ko.utils.unwrapObservable(valueAccessor()); | |
if (value === null) { | |
element.indeterminate = true; | |
} |
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
import $ from 'jquery'; | |
import React from 'react'; | |
import Router, { Route } from 'react-router'; | |
import App from './components/App'; | |
// Recursively builds the nested react components that represent the routes | |
var buildRoutes = (routesObj) => { | |
return routesObj.map((route) => { | |
if (!route.name || !route.path || !route.handler) { | |
console.error('route.name (:as), route.path, and route.handler must all be defined.'); |
OlderNewer