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
import java.awt.Color; | |
import java.awt.Component; | |
import java.awt.Dimension; | |
import java.awt.Font; | |
import java.awt.Graphics; | |
import java.awt.Graphics2D; | |
import java.awt.RenderingHints; | |
import javax.swing.JList; | |
import javax.swing.JPanel; |
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 | |
// Called after an insertion or update to the `posts` table | |
// Returns void | |
function writeScripts() { | |
$atom_date = getDateRFC(getD()); // Current Date 3339 for Atom feed | |
$site_date = getDateSite(getD()); // Current Date YYYY-MM-DD for Sitemap | |
// Beginning of Atom.xml | |
$atom_str = '<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom"> |
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
// Main.css Controller | |
@import "shared/mix.less"; | |
@import "shared/vars.less"; | |
@import "shared/font.less"; | |
@import "shared/reset.less"; | |
@import "main/styles.less"; | |
@import "shared/styles.less"; | |
@import "shared/buttons.less"; | |
@import "shared/page.less"; |
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
// JQuery included here... | |
// A variable to hold the "timeout-id" for our DOM check | |
var update; | |
// Page is ready | |
$(document).ready(function() { | |
// The DOM (page) was updated | |
$("body").bind("DOMSubtreeModified", 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
Options +FollowSymlinks | |
RewriteEngine on | |
RewriteRule ^post/([0-9]+)(:?\/[a-zA-Z0-9_]*)?(:?\/.*)?$ /index.php?id=$1 | |
RewriteRule ^post/([a-zA-Z]+)/([0-9]+)(:?\/[a-zA-Z0-9_]*)?(:?\/.*)?$ /index.php?filter=$1&value=$2 |
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
[Rainmeter] | |
LocalFont="../ext/helveticaneueltprolt.ttf" | |
Author=Joss Whittle | |
Update=1000 | |
[Style] | |
Fontface="HelveticaNeueLT Pro 45 Lt" | |
Antialias=1 | |
[Variables] |
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
(1,0,1,R,2) | |
(1,1,1,L,3) | |
(2,0,1,L,1) | |
(2,1,1,R,2) | |
(3,0,1,L,2) | |
(3,1,1,N,H) |
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 | |
$src = '../'.$_GET['url']; | |
$w = $_GET['w']; | |
$c = $_GET['c']; | |
if ($c != 1) { | |
$c = 0; | |
} | |
if ($w % 1 == 0) |
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
@charset "UTF-8"; | |
@font-face { | |
font-family: 'groovy'; | |
src: url('/ext/font/groovy.eot'); | |
src: url('/ext/font/groovy.eot?#iefix') format('embedded-opentype'), | |
url('/ext/font/groovy.woff') format('woff'), | |
url('/ext/font/groovy.ttf') format('truetype'), | |
url('/ext/font/groovy.svg#groovy') format('svg'); | |
font-weight: normal; 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
.twoStopGrad(@one, @two) { | |
background: @one; /* Old browsers */ | |
background: -moz-linear-gradient(top, @one 0%, @two 100%); /* FF3.6+ */ | |
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,@one), color-stop(100%,@two)); /* Chrome,Safari4+ */ | |
background: -webkit-linear-gradient(top, @one 0%,@two 100%); /* Chrome10+,Safari5.1+ */ | |
background: -o-linear-gradient(top, @one 0%,@two 100%); /* Opera11.10+ */ | |
background: -ms-linear-gradient(top, @one 0%,@two 100%); /* IE10+ */ | |
filter: ~"progid:DXImageTransform.Microsoft.gradient( startColorstr='@{one}', endColorstr='@{two}',GradientType=0 )"; /* IE6-9 */ | |
background: linear-gradient(top, @one 0%,@two 100%); /* W3C */ | |
} |
OlderNewer