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
| // Library used: http://malsup.com/jquery/form/ | |
| define(['jquery', | |
| 'amplify', | |
| 'moment'], | |
| function($, amplify, moment, undefined) | |
| { | |
| var UPLOAD_SERVICE_BASE = 'http://127.0.0.1:8080/'; | |
| var FileUploadService = function(){}; |
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
| /* This has been supported in IE and webkit for a long time. It was added to Firefox in 3.6. Here's the spec (http://www.w3.org/TR/html5/dom.html#dom-document-readystate). "loaded" is for older Safari browsers.*/ | |
| if (document.readyState == "complete" || document.readyState == "loaded") | |
| { | |
| // document is already ready to go | |
| } | |
| /* If you want to know when the page has been parsed, but all subresources have not yet been loaded, you can add the "interactive" value: */ | |
| if (document.readyState == "complete" | |
| || document.readyState == "loaded" | |
| || document.readyState == "interactive") { |
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
| Add these entried to your '.gitconfig' file in your user directory (go to %USERPROFILE%): | |
| [url "https://"] | |
| insteadOf = git:// | |
| [http] | |
| proxy = http://<proxy_server>:<port>/ | |
| [https] | |
| proxy = http://<proxy_server>:<port>/ |
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
| In order to use internet on emulator if you are setting behind a proxy server perform the following steps: | |
| Go to settings->Wireless & networks->mobile networks->Access Point Names. | |
| Press menu button. an option menu will appear. | |
| from the option menu select New APN. | |
| Click on Name. provide name to apn say My APN. | |
| Click on APN. Enter www. | |
| Click on Proxy. enter your proxy server IP. you can get it from internet explorers internet options menu. |
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
| [class^="ui-icon-fa"], | |
| [class*=" ui-icon-fa"] | |
| { | |
| background-image: none; | |
| &:before | |
| { | |
| font-family:FontAwesome!important; | |
| display: inline-block; | |
| font-style: normal; |
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
| @global-font-family: @contentFontFamily; | |
| @global-corner-radius-blocks: @controlsBorderRadius; | |
| @global-corner-radius-buttons: @controlsBorderRadius; | |
| @global-box-shadow: @shadow; | |
| @global-inset-box-shadow: @shadow; | |
| @global-icon-color: white; | |
| @global-icon-shadow: ~"none"; | |
| @bar-background-color: @headerBackgroundColor; | |
| @bar-border-color: darken(@headerBackgroundColor, 5%); |
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
| // Media queries breakpoints | |
| // -------------------------------------------------- | |
| // Extra small screen / phone | |
| // Note: Deprecated @screen-xs and @screen-phone as of v3.0.1 | |
| @screen-xs: 480px; | |
| @screen-xs-min: @screen-xs; | |
| @screen-phone: @screen-xs-min; | |
| // Small screen / tablet |
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
| .slide | |
| { | |
| @animation-duration: 500ms; | |
| &.in | |
| { | |
| .transform(translateX(0) scale(1)); | |
| .animation(inanimation @animation-duration ease-in-out); | |
| .opacity(1); | |
| } |
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 connect = require('connect'), | |
| http = require('http'), | |
| app; | |
| var serverPort = 9090; | |
| app = connect() | |
| .use(connect.static(__dirname)); | |
| http.createServer(app).listen(serverPort, function() |
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
| python -m http.server <port> |