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> | |
<style> | |
html, body { height: 100%; margin: 0; padding: 0; } | |
.left, .right { float: left; height: 100%; } | |
.left { width: 20%; background: black; } | |
.right { width: 80%; background: grey; } | |
</style> | |
<div class="left"></div> | |
<div class="right"></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
<?php | |
class Super { | |
public static $foo; | |
} | |
class One extends Super { | |
public static $foo = 'One'; |
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 WeatherTypes | |
{ | |
const NOT_AVAILABLE = 'NA'; | |
const CLEAR_NIGHT = 0; | |
const SUNNY_DAY = 1; | |
const PARTLY_CLOUDY_NIGHT = 2; | |
const PARTLY_CLOUDY_DAY = 3; | |
const NOT_USED = 4; | |
const MIST = 5; | |
const FOG = 6; |
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
# Weather types | |
NA Not available | |
0 Clear night | |
1 Sunny day | |
2 Partly cloudy (night) | |
3 Partly cloudy (day) | |
4 Not used | |
5 Mist | |
6 Fog | |
7 Cloudy |
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>This is fancy</title> | |
<link href="prettify.css" type="text/css" rel="stylesheet" /> | |
<script type="text/javascript" src="prettify.js"></script> | |
</head> | |
<body onload="prettyPrint()"> | |
<code class="prettyprint"> | |
print "OH HAI I AM SOME PYTHON" | |
</code> |
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
Show hidden characters
{ | |
"cmd": ["yuicompressor", "$file", "-o", "${file_base_name}.min.${file_extension}", "--charset", "utf-8"], | |
"selector": "source.js" | |
} |