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
| #!/bin/bash | |
| file_dir='/Users/geoneo/Sites/orion/app/views' | |
| for i in `find ${file_dir} -maxdepth 3 -type f -name "*.haml" ! -empty` | |
| do | |
| output_dir=`dirname $i` | |
| new_file=`basename ${i} | sed 's/\(.*\.\)haml/\1slim/'` |
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
| $(document).ready -> | |
| $('.signup_sign').css('top', '-200px').animate({"top": "-13px"}, 1500) | |
| signup_sign = $('.signup_sign') | |
| light = off | |
| window.setInterval ( -> | |
| if light is off | |
| $(signup_sign).css 'background-position', "-141px 0" | |
| light = on |
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
| .oblong_container | |
| %div{:class => "oblong green"} | |
| %div{:class => "oblong blue"} | |
| %div{:class => "oblong purple"} | |
| %div{:class => "oblong pink"} |
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
| @import "compass" | |
| @import "sassy-buttons" | |
| $experimental-support-for-svg: true | |
| $total-cols: 15 | |
| $col-width: 3.5em | |
| $gutter-width: 1em | |
| $side-gutter-width: $gutter-width |
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
| 7.times do |a| | |
| FactoryGirl.create_list(:job_application, SecureRandom.random_number(10)+1, created_at: a.days.ago, job_posting_id: 8103) | |
| end |
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
| thirty_days_of_apps = $.getJSON application_chart_url | |
| thirty_days_of_apps.done (data) -> | |
| draw_chart(data, 'application_chart', 'Job Applications in last 30 days', 'Applications', 'areaspline') | |
| draw_number_of_apps(data) | |
| thirty_days_of_apps.fail -> | |
| console.log "You failed congrats!" | |
| draw_number_of_apps = (data) -> |
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
| =headers($largest-header: 7em) | |
| @for $i from 1 through 6 | |
| h#{$i} | |
| font-weight: bold | |
| font-size: $largest-header / $i |
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
| =full-height-website($main-container) | |
| body, html | |
| height: 100% | |
| min-height: 100% | |
| ##{$main-container} | |
| height: 100% | |
| min-height: 100% |
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
| When starting a project that includes refinerycms-blog: | |
| $ rake refinery:override view=refinery/pages/* | |
| $ rake refinery:override view=layouts/* | |
| $ rake refinery:override view=refinery/blog/shared/* | |
| $ rake refinery:override view=refinery/blog/posts/* | |
| $ rake refinery:override view=refinery/* | |
| $ rake refinery:override controller=refinery/blog/* | |
| $ rake refinery:override controller=refinery/* |
OlderNewer