This file contains 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
define(['jquery', 'underscore', 'backbone'], | |
function($, _, Backbone) | |
{ | |
var User = Backbone.Model.extend({ | |
defaults: function() | |
{ | |
return { | |
id: -1, | |
username: '', |
This file contains 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
<!doctype html> | |
<html> | |
<head> | |
<!-- Run in full-screen mode. --> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<!-- Make the status bar black with white text. --> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black"> |
This file contains 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
.disable-hover, | |
.disable-hover * { | |
pointer-events: none !important; | |
} |
This file contains 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> |
This file contains 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 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 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 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 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 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. |
OlderNewer