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
| Neeed: | |
| { | |
| "app_id": "", | |
| "identity_token" | |
| } | |
| Getting this currently: | |
| { | |
| "communicationUserId": "", | |
| "identityToken": "" |
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
| .scroll-list { | |
| max-height: calc(100vh - 30rem); | |
| min-height: 25rem; | |
| overflow-y: auto; | |
| } | |
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 path = require('path'); | |
| // we need to require fs.extra because node's fs module doesn not have copy | |
| // method. | |
| // We could create our own, but this works as well. | |
| var fs = require('fs.extra'); | |
| var appRoot = path.resolve(__dirname); | |
| // 2 arguments are needed, one for determining hook type | |
| // and other one for source file name |
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
| // ---- | |
| // Sass (v3.4.1) | |
| // Compass (v1.0.1) | |
| // ---- | |
| /** | |
| * PUSH CLASSES GENERATOR | |
| **/ | |
| $directions: top, left, right, bottom, sides, ends; // define sides that will have margin |
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
| <script> | |
| $('#login').click(function() { | |
| $.post( | |
| "/", | |
| { | |
| username: $("#id_username").val(), | |
| password: $("#id_password").val(), | |
| csrfmiddlewaretoken: $.cookie("csrftoken"), | |
| next: $("#id_next").val() | |
| }, |
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
| # Require any additional compass plugins here. | |
| # Set this to the root of your project when deployed: | |
| http_path = "../" | |
| css_dir = "css/build" | |
| sass_dir = "sass" | |
| images_dir = "images" | |
| javascripts_dir = "javascripts" | |
| generated_images_dir = images_dir + "/sprites/" | |
| relative_assets = true |
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
| [ | |
| { | |
| "CollectionCountry": "US", | |
| "CollectionCity": "New York", | |
| "CollectionZip": "10001", | |
| "CollectionCountryDivision": "NY", | |
| "DestinationCountry": "US", | |
| "DestinationCity": "New York", | |
| "DestinationZip": "10001", | |
| "DestinationCountryDivision": "NY", |
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
| <option <% if (this.PickupTimesPrepared.length === 1 && pickup.id === 'dropoff') { %> selected <% } %> value="<%= pickup.id %>"><%= pickup.text %></option> |
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 | |
| echo "Update Started" && \ | |
| cd $(dirname $0)/.. && \ | |
| SE=$(pwd) && \ | |
| echo $SE && \ | |
| rm web/js/build/*.* && \ | |
| echo "Updating submodules..." && \ | |
| git submodule init && \ | |
| git submodule update && \ |
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
| <script type="text/javascript"> | |
| $(function() { | |
| ZeroClipboard.setMoviePath( GLOBAL_BASE_URL + "js/vendor/clippy/ZeroClipboard10.swf" ); | |
| var clip = new ZeroClipboard.Client(); | |
| clip.setHandCursor( true ); | |
| clip.setText($.trim($("#api-key").text())); | |
| clip.glue("api-copy-button", "copy-container"); | |
| }); | |
| </script> |