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 React from "react" | |
import PropTypes from "prop-types" | |
import {Router, Route, Switch} from 'react-router-dom' | |
import Header from './layout/Header' | |
import history from '../helpers/history' | |
import {default as EventsSearch} from './events/Search' | |
import {default as SessionsNew} from './sessions/New' | |
import {default as RegistrationsNew} from './registrations/New' | |
class App extends React.Component { |
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
$ruby -v | |
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin14] | |
$rvm osx-ssl-certs status all | |
Selected SSL certs for: ruby-1.9.2-p290 | |
cURL certificate bundle /usr/share/curl/curl-ca-bundle.crt not found | |
Certificates bundle /usr/local/etc/openssl/cert.pem is up to date. | |
Certificates bundle /etc/openssl/cert.pem is up to date. | |
Certificates bundle is old. |
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
It appears that ActiveAdmin will throw an `ActiveAdmin::DatabaseHitDuringLoad` error | |
if you have any scopes prefaced with `find_by`. |
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
Makeline | |
Oven | |
Out the Door | |
Complete |
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
$cat ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>homebrew.mxcl.postgresql</string> | |
<key>ProgramArguments</key> |
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
$cat dump.sql | psql nwmedtech_production | |
SET | |
SET | |
SET | |
SET | |
SET | |
SET | |
ERROR: database "callcenter" already exists | |
ERROR: role "nwmedtech" does not exist | |
You are now connected to database "callcenter" as user "gabeodess". |
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
$(document).on('page:load', function(){ | |
$('[ng-app]').each(function(){ | |
angular.bootstrap(this); | |
}); | |
}); |
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
find: https://order.dominos.com/power/store-locator?s=${line1}&c=${line2}&type=${type} | |
method: GET | |
s: Street Address | |
c: City, State and/or Postal Code | |
type: Delivery or Carryout | |
store info: https://order.dominos.com/power/store/${storeID}/profile | |
method: GET | |
storeId: store id number |
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
# @order.to_slack_json | |
{ | |
:message => "this is a test" | |
} |
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
ActiveAdmin.setup do |config| | |
# == Site Title | |
# | |
# Set the title that is displayed on the main layout | |
# for each of the active admin pages. | |
# | |
config.site_title = "NWMedTech" | |
# Set the link url for the title. For example, to take | |
# users to your main site. Defaults to no link. |
NewerOlder