- I grabbed the colors from the rainbow banner on A List Apart.
- We added this to the
<head>:
<style type="text/css">
body {
position: relative;| ## Get atom feed from a feed block | |
| #set ($feed = $_XPathTool.selectSingleNode($contentRoot,"/feed")) | |
| ## Try to get entries from that feed | |
| #set ($entries = $feed.getChildren()) | |
| <ul> | |
| <li>Feed name: $feed.getName()</li> | |
| <li>Size of Entries array: $entries.size()</li> | |
| <li>Feed namespace URI: $contentRoot.namespace.URI</li> | |
| </ul> |
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:hh="http://www.hannonhill.com/XSL/Functions" xmlns:media="http://search.yahoo.com/mrss/" xmlns:xalan="http://xml.apache.org/xalan"> | |
| <xsl:output cdata-section-elements="atom:content"/> | |
| <xsl:include href="/formats/Format Date"/> | |
| <xsl:variable name="indexPageName" select="'index'"/> | |
| <xsl:variable name="callingPage" select="/system-index-block/calling-page/system-page"/> | |
| <xsl:variable name="current-date" select="/system-index-block/@current-time"/> | |
| <xsl:variable name="news-categories" select="//calling-page/system-page/dynamic-metadata[starts-with(name,'category-')]/value"/> | |
| <xsl:variable name="file_extension">.html?utm_medium=feed</xsl:variable> |
| ([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?) |
| grep -l 'STRING' * | xargs -I '{}' mv '{}' DIRECTORY |
| #!/bin/bash | |
| ## This script checks to see if the Mac is connected to | |
| ## a particular network. If it isn't, the script shuts off | |
| ## the wifi radio and turns it back on, then attempts | |
| ## to connect to the specified network. | |
| ## | |
| ## You can run this script at regular intervals with | |
| ## an app called Lingon, which utilizes launchd. | |
| ## Just make sure to chmod -x the script first. |
| @import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:400,700); | |
| .twitter-share-button, | |
| #fb-root, | |
| .TLBox, | |
| .forum_v2_pagecontent, | |
| .articlePositionFooter, | |
| .articleFooterLinks, | |
| #recommender, | |
| #breakingburner-iframe, |
| body { | |
| margin: 0; | |
| } | |
| body > center > table { | |
| width: 100%; | |
| background-color: transparent; | |
| } |
| task :default => :server | |
| desc 'Clean up generated site' | |
| task :clean do | |
| cleanup | |
| end | |
| desc 'Build site with Jekyll' | |
| task :build => :clean do | |
| jekyll('build') |
| tell application "Google Chrome" | |
| activate | |
| -- 1. Close all windows | |
| -- 2. Open a new window | |
| set chromeWindow to window 1 | |
| tell chromeWindow | |
| -- 1. Go to: http://s.codepen.io/knice/debug/NGYNXd | |
| -- 2. Enter presentation mode | |
| end tell | |
| end tell |