This file contains hidden or 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
-#- if can? :access, :workshops | |
-#%li.dropdown | |
-#%a.dropdown-toggle{"data-toggle" => "dropdown", :href => "#"} | |
-#Workshops | |
-#%b.caret | |
-#%ul#workshops.dropdown-menu{"aria-labelledby" => "dLabel", :role => "menu"} | |
-#%li= link_to "New", new_workshop_path | |
-#%li= link_to "List", workshops_path | |
-#- if can? :access, :organizations |
This file contains hidden or 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
NSShadow *shadow = [[NSShadow alloc] init]; | |
shadow.shadowColor = [UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:0.8]; | |
shadow.shadowOffset = CGSizeMake(0, 1); | |
[[UINavigationBar appearance] setTitleTextAttributes: [NSDictionary dictionaryWithObjectsAndKeys: | |
[UIColor colorWithRed:245.0/255.0 green:245.0/255.0 blue:245.0/255.0 alpha:1.0], NSForegroundColorAttributeName, | |
shadow, NSShadowAttributeName, | |
[UIFont fontWithName:@"HelveticaNeue-CondensedBlack" size:21.0], NSFontAttributeName, nil]]; |
This file contains hidden or 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
<ul> | |
<li>layer name <i>remove icon</i></li> | |
<li>layer name <i>remove icon</i></li> | |
<li><i>add icon</i></li> | |
</ul> |
This file contains hidden or 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
# MySQL. Versions 4.1 and 5.0 are recommended. | |
# | |
# Install the MYSQL driver | |
# gem install mysql2 | |
# | |
# Ensure the MySQL gem is defined in your Gemfile | |
# gem 'mysql2' | |
# | |
# And be sure to use new-style password hashing: | |
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html |
This file contains hidden or 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
<div class="loader-wrapper loader-wrapper-light"> | |
<div class="loader"> | |
<img src="https://dl.dropboxusercontent.com/u/264487/bg_mark.svg" width="42" alt="Loading..."> | |
</div> | |
</div> | |
<div class="loader-wrapper loader-wrapper-dark"> | |
<div class="loader"> | |
<img src="https://dl.dropboxusercontent.com/u/264487/bg_mark.svg" width="42" alt="Loading..."> | |
</div> |
This file contains hidden or 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
Started GET "/learn-more/overview" for 127.0.0.1 at 2014-10-01 23:12:34 -0400 | |
Processing by PagesController#show as HTML | |
Parameters: {"slug"=>"overview"} | |
Completed 500 Internal Server Error in 14ms | |
** [Airbrake] Notice was not sent due to configuration: | |
Environment Monitored? false | |
API key set? false | |
ActiveRecord::AdapterNotSpecified - database configuration does not specify adapter: | |
activerecord (4.0.9) lib/active_record/connection_adapters/connection_specification.rb:52:in `resolve_hash_connection' |
This file contains hidden or 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
# MySQL. Versions 4.1 and 5.0 are recommended. | |
# | |
# Install the MYSQL driver | |
# gem install mysql2 | |
# | |
# Ensure the MySQL gem is defined in your Gemfile | |
# gem 'mysql2' | |
# | |
# And be sure to use new-style password hashing: | |
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html |
This file contains hidden or 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
earlyshares-cms [master●] rails s -p 4000 | |
Digest::Digest is deprecated; use Digest | |
=> Booting WEBrick | |
=> Rails 3.2.8 application starting in development on http://0.0.0.0:4000 | |
=> Call with -d to detach | |
=> Ctrl-C to shutdown server | |
[2014-10-02 09:29:14] INFO WEBrick 1.3.1 | |
[2014-10-02 09:29:14] INFO ruby 2.1.2 (2014-05-08) [x86_64-darwin13.0] | |
[2014-10-02 09:29:14] INFO WEBrick::HTTPServer#start: pid=42947 port=4000 | |
cache: [GET /] miss |
This file contains hidden or 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
Desktop psql -h localhost -U jjcall -W refinery_database_development < latest.dump | |
Password for user jjcall: | |
ERROR: syntax error at or near "PGDMP" | |
LINE 1: PGDMP | |
id integer NOT NULL, | |
^ | |
ERROR: syntax error at or near "" | |
LINE 1: START WITH 1 | |
^ | |
ERROR: syntax error at or near "" |
This file contains hidden or 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
pg_restore --verbose --clean --no-acl --no-owner -h localhost -U jjcall -d refinery_database_development latest.dump | |
pg_restore: connecting to database for restore | |
pg_restore: dropping INDEX unique_schema_migrations | |
pg_restore: dropping INDEX index_seo_meta_on_seo_meta_id_and_seo_meta_type | |
pg_restore: dropping INDEX index_seo_meta_on_id | |
pg_restore: dropping INDEX index_refinery_users_on_id | |
pg_restore: dropping INDEX index_refinery_user_plugins_on_user_id_and_name | |
pg_restore: dropping INDEX index_refinery_user_plugins_on_name | |
pg_restore: dropping INDEX index_refinery_roles_users_on_user_id_and_role_id | |
pg_restore: dropping INDEX index_refinery_roles_users_on_role_id_and_user_id |