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
<?php | |
$now = strtotime("now"); | |
$startDate = strtotime("13 November 2012"); | |
$endDate = strtotime("18 November 2012"); | |
if ($now >= $startDate && $now <= $endDate) { | |
echo "Date is within range!"; | |
} | |
?> |
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
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<p>yay</p> | |
</body> | |
</html> |
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
<div class="container"> | |
<figure class="circle download"><span>Download App</span></figure> | |
<figure class="circle register">Register</figure> | |
<figure class="circle sign-in">Sign In</figure> | |
<figure class="circle explore">Explore</figure> | |
<div class="shadow explore"></div> | |
<div class="shadow register"></div> | |
<div class="shadow sign-in"></div> | |
<div class="shadow download"></div> |
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 some variables for the blog */ | |
$developmentColor: #458c53; | |
$toolsColor: #3b64a3; | |
$industryColor: #84438c; | |
$leanStartupColor: #ba414d; | |
$designColor: #694181; | |
$modusNews: #de9a4f; | |
::selection { | |
background: #F8F7C9; |
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 all and (max-width: 800px) and (orientation: portrait) { | |
.global-toc .global-toc-featured-story .x-innerhtml { | |
border: 1px solid #00F; | |
} | |
} | |
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
/** | |
* Created with JetBrains WebStorm. | |
* User: stan229 | |
* Date: 11/20/12 | |
* Time: 3:31 PM | |
*/ | |
Ext.define('Workout.view.Workout', { | |
extend : 'Ext.Container', | |
xtype : 'workout', | |
config : { |
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
initialize: function() { | |
var me = this; | |
var navBar = Ext.ComponentQuery.query('navigationview')[0].getNavigationBar(); | |
// console.log(navBar); | |
navBar.setItems[{ | |
xtype: 'button', | |
text: 'cool' | |
}] | |
} |
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
initialize: function() { | |
this.callParent(); | |
Ext.ComponentQuery.query('navigationview')[0].getNavigationBar().add(Ext.create('Ext.Button', { | |
id: 'btn-data-new', | |
text: 'Manage', | |
align: 'right', | |
hideAnimation: { type: 'fadeOut', duration: 350 }, | |
showAnimation: { type: 'fadeIn', duration: 350 } | |
})); | |
}, |
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
$grid-header-line-height: 24px; | |
$grid-base-color: $accentColor; | |
$grid-row-height: 30px; | |
$grid-row-cell-font-size: 13px; |
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
Ext.define('Workout.store.Workouts', { | |
extend : 'Ext.data.Store', | |
config : { | |
model : 'Workout.model.Workout', | |
autoLoad : true, | |
proxy : { | |
type : 'ajax', | |
url : 'data/workouts.json', | |
reader: { | |
type: 'json', |