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
<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> | |
<body> | |
<div class="calendar"> | |
<div class="calendar-left"> | |
<div class="calendar-left_icons"> | |
<i class="fa fa-share-alt" aria-hidden="true"></i> | |
</div> | |
<div class="calendar-left_title"> | |
<p>Friday august 1st</p> | |
</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
<style> | |
* { margin: 0; | |
padding:0; | |
} | |
body { | |
margin:10px; | |
} | |
dl { | |
border:1px solid #eaeaea; | |
padding:10px; |
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
// ---- | |
// Sass (v3.4.21) | |
// Compass (v1.0.3) | |
// Bourbon (v4.2.6) | |
// ---- | |
@import "bourbon/bourbon" | |
$color-yellow: #fffe99 | |
$color-green: #b6feb7 |
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 | |
/* | |
Name - templated.php | |
Author - Shafiq Mustapa ([email protected]) | |
Usage - php templated.php | |
Stumble this upon site (http://templated.co)that offer over 800+ HTML5 + CSS + Responsive. | |
This php script will download the file automatically. For now, the page is now 7. | |
Tools |
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
int[][] result; | |
float t, c; | |
float ease(float p) { | |
return 3*p*p - 2*p*p*p; | |
} | |
float ease(float p, float g) { | |
if (p < 0.5) | |
return 0.5 * pow(2*p, g); |
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
// OBJECTS IN JAVASCRIPT: | |
// An Object is a container for data and behavior | |
// A name for variables and functions: | |
// THUSLY: | |
var playerName = "Fred"; | |
var playerScore = 10000; | |
var playerRank = 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
var singleValue; | |
singleValue = 99; | |
var multipleValues = []; | |
multipleValues[0] = 50; | |
multipleValues[1] = 60; | |
mulitpleValues[2] = "Mouse"; | |
console.log(multipleValues[2]); // Mouse |
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
/* | |
get window height | |
get window width | |
calculate area | |
store area | |
do calculation | |
check value | |
output message | |
get image position | |
calculate new value |
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 foo = 10; | |
var bar = 20; | |
if (foo < bar ) { | |
//console.log("foo is less than bar"); | |
//console.log("and here's a second message"); | |
//console.log("and here's a third message"); | |
//console.log(foo); | |
//console.log(foo,bar); | |
//console.debug("foo is less than bar"); |
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
// I. Comparison Operators: | |
if ( a == b ) {... // == Equality | |
if ( a != b ) {... // != Not Equal to | |
if ( a === b ) {... // === Strictly Equal to | |
if ( a !== b ) {... // !== Not Strictly Equal to | |
if ( a > b ) {... // > Greater Than | |
if ( a < b ) {... // < Less Than | |
if ( a >= b ) {... // >= Greater Than, or Equal to | |
if ( a <= b ) {... // <= Less Than, or Equal to |
NewerOlder