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
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: nginx | |
# Required-Start: $local_fs $remote_fs | |
# Required-Stop: $local_fs $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: S 0 1 6 | |
# Short-Description: nginx initscript | |
# Description: nginx | |
### END INIT INF |
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> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style> | |
circle { | |
fill: green; | |
} |
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
license: mit |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<!-- | |
Name: RSS feed date format to ISO 8601 | |
Version: 1.0 | |
Author: Ændrew Rininsland <[email protected]> | |
Based on work by: Brian Zerangue <[email protected]> | |
URL: https://gist.github.com/aendrew/eaa220e619008cbb628c | |
N.b., currently the timezone handling is a bit screwy. | |
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
function (currSlideElement, nextSlideElement, options, forwardFlag){ | |
$(currSlideElement).children('.views-field-title').slideUp(); | |
$(currSlideElement).children('.views-field-field-homepage-slider-text').slideUp(); | |
} |
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
$('.view-homepage-slider').cycle({ | |
fx: 'fade', | |
speed: 'slow', | |
timeout: 0, | |
before: onBefore, | |
after: onAfter, | |
}); | |
function onBefore(curr, next, opts){ |
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 | |
/* | |
* Converts CSV to JSONP by Ændrew Rininsland | |
* Gratuitous fork of "Converts CSV to JSON" by Rob Flaherty | |
* -- See: http://www.ravelrumba.com/blog/json-google-spreadsheets/ | |
* Example uses Google Spreadsheet CSV feed | |
*/ | |
header('Content-type: script/javascript'); |