// jQuery
$(document).ready(function() {
// code
})
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
| irb(main):001:0> I_AM_A_CONSTANT = "I never change" | |
| => "I never change" | |
| irb(main):002:0> i_am_a_variable = I_AM_A_CONSTANT | |
| => "I never change" | |
| irb(main):003:0> i_am_a_variable = "I can change" | |
| => "I can change" | |
| irb(main):004:0> I_AM_A_CONSTANT | |
| => "I never change" | |
| irb(main):005:0> I_AM_A_CONSTANT_HASH = {contents: "I never change"} | |
| => {:contents=>"I never change"} |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <resources> | |
| <!-- Totally "960 Colors" | |
| Author : VenomVendor | |
| Refer : http://stackoverflow.com/q/3769762/1008278 | |
| Reference : http://www.computerhope.com/htmcolor.htm , http://www.color-hex.com/color-names.html | |
| --> | |
| <!-- Colors arranged from A -Z --> | |
| <color name="air_force_blue">#5D8AA8</color> |
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
| var AngularJSApp = angular.module("AngularJSApp", ["ngResource", "ngSanitize"]) | |
| .config(function ($routeProvider, $httpProvider) { | |
| $routeProvider. | |
| when('/', { controller: NavigationCtrl, templateUrl: 'navigation.html' }). | |
| when('/feedback', { controller: FeedbackCtrl, templateUrl: 'feedback.html' }). | |
| otherwise({ redirectTo: '/' }); | |
| $httpProvider.defaults.withCredentials = true; | |
| delete $httpProvider.defaults.headers.common["X-Requested-With"]; |
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
| body { | |
| font-family: Helvetica, arial, sans-serif; | |
| font-size: 14px; | |
| line-height: 1.6; | |
| padding-top: 10px; | |
| padding-bottom: 10px; | |
| background-color: white; | |
| padding: 30px; } | |
| body > *:first-child { |
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
| [ | |
| {name: 'Afghanistan', code: 'AF'}, | |
| {name: 'Åland Islands', code: 'AX'}, | |
| {name: 'Albania', code: 'AL'}, | |
| {name: 'Algeria', code: 'DZ'}, | |
| {name: 'American Samoa', code: 'AS'}, | |
| {name: 'AndorrA', code: 'AD'}, | |
| {name: 'Angola', code: 'AO'}, | |
| {name: 'Anguilla', code: 'AI'}, | |
| {name: 'Antarctica', code: 'AQ'}, |
NewerOlder