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 'googleauth' | |
require 'google/apis/analytics_v3' | |
# /via https://github.com/google/google-api-ruby-client/issues/291 | |
class GoogleAnalytics | |
def self.client | |
service = new | |
service.analytics_service | |
end |
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
gem_group :development do | |
# Debug seems to have trouble w/ Ruby 2.x, byebug is a replacment | |
gem 'byebug' | |
gem 'better_errors' | |
gem 'binding_of_caller' | |
gem 'meta_request' | |
gem 'capistrano', '~> 3.2.0' | |
gem 'capistrano-rails' | |
gem 'capistrano-bundler' | |
gem 'capistrano-rvm' |
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
{ | |
"extractor": { | |
"records": { | |
"base_url": "http://hub-services.lib.umn.edu/api/v1/extract", | |
"endpoint_type": "simple_get", | |
"api_key": "<<<<key here>>>>", | |
"origin_path": "OAI_PMH/ListRecords/record", | |
"batch_param_name": "resumptionToken", | |
"batch_param_path": "OAI_PMH/ListRecords/resumptionToken", | |
"batch_endpoint": "http://collections.carli.illinois.edu/cgi-bin/oai.exe?verb=ListRecords", |
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
# The Repository for the drush make file | |
set :repository, "git@github.com:usernamehere/yourapp_make.git" | |
# Establishes the source code management system is git | |
set :scm, :git | |
set :scm_verbose, true | |
# Add arguments to the make build process. Here we ensure that .git directories | |
# from each project repository are preserved (useful on your dev instance) | |
set :make_args, '--working-copy' |
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
MODULE main | |
VAR | |
NS_Sensor : boolean; | |
EW_Sensor : boolean; | |
Light_Prev_State : {NS, EW}; | |
Light_State : {NS_Green, EW_Green}; | |
ASSIGN |
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
--type-set=drupal=.module,.info,.inc,.php,.js |
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
" CTags | |
map <Leader>rt :!ctags --extra=+f -R *<CR><CR> | |
map <C-\> :tnext<CR> | |
let Tlist_Ctags_Cmd = '/usr/local/Cellar/ctags/5.8/bin/ctags' |
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 | |
set number | |
set ruler | |
syntax on | |
" Set encoding | |
set encoding=utf-8 | |
" Whitespace stuff |
NewerOlder