| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,13 @@ | |||
| 1 | + _site/* | ||
| 2 | + | ||
| 3 | + test/* | ||
| 4 | + | ||
| 5 | + portfolio/* | ||
| 6 | + | ||
| 7 | + mandalabrot/* | ||
| 8 | + | ||
| 9 | + .sass-cache/* | ||
| 10 | + | ||
| 11 | + bin/* | ||
| 12 | + | ||
| 13 | + tmp/* | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,9 @@ | |||
| 1 | + <!doctype html> | ||
| 2 | + <html lang="en"> | ||
| 3 | + <head> | ||
| 4 | + <title>beats, pixels, code, life... 404.</title> | ||
| 5 | + </head> | ||
| 6 | + <body> | ||
| 7 | + <center><img src='./images/404.png'/></center> | ||
| 8 | + </body> | ||
| 9 | + </html> | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,2 @@ | |||
| 1 | + jekyll: jekyll --server | ||
| 2 | + compass: compass watch | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1 +1 @@ | |||
| 1 | - README | ||
| 1 | + This is a personal website and as such the code is not necessarily designed for public consumption at all points. Buyer beware. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,60 @@ | |||
| 1 | + task :default => :server | ||
| 2 | + | ||
| 3 | + desc 'Clean up generated site' | ||
| 4 | + task :clean do | ||
| 5 | + cleanup | ||
| 6 | + end | ||
| 7 | + | ||
| 8 | + desc 'Build site with Jekyll' | ||
| 9 | + task :build => :clean do | ||
| 10 | + compass | ||
| 11 | + jekyll | ||
| 12 | + end | ||
| 13 | + | ||
| 14 | + desc 'Start server with --auto' | ||
| 15 | + task :server => :clean do | ||
| 16 | + compass | ||
| 17 | + jekyll('--server --auto') | ||
| 18 | + end | ||
| 19 | + | ||
| 20 | + desc 'Check links for site already running on localhost:4000' | ||
| 21 | + task :check_links do | ||
| 22 | + begin | ||
| 23 | + require 'anemone' | ||
| 24 | + root = 'http://localhost:4000/' | ||
| 25 | + Anemone.crawl(root, :discard_page_bodies => true) do |anemone| | ||
| 26 | + anemone.after_crawl do |pagestore| | ||
| 27 | + broken_links = Hash.new { |h, k| h[k] = [] } | ||
| 28 | + pagestore.each_value do |page| | ||
| 29 | + if page.code != 200 | ||
| 30 | + referrers = pagestore.pages_linking_to(page.url) | ||
| 31 | + referrers.each do |referrer| | ||
| 32 | + broken_links[referrer] << page | ||
| 33 | + end | ||
| 34 | + end | ||
| 35 | + end | ||
| 36 | + broken_links.each do |referrer, pages| | ||
| 37 | + puts "#{referrer.url} contains the following broken links:" | ||
| 38 | + pages.each do |page| | ||
| 39 | + puts " HTTP #{page.code} #{page.url}" | ||
| 40 | + end | ||
| 41 | + end | ||
| 42 | + end | ||
| 43 | + end | ||
| 44 | + | ||
| 45 | + rescue LoadError | ||
| 46 | + abort 'Install anemone gem: gem install anemone' | ||
| 47 | + end | ||
| 48 | + end | ||
| 49 | + | ||
| 50 | + def cleanup | ||
| 51 | + sh 'rm -rf _site' | ||
| 52 | + end | ||
| 53 | + | ||
| 54 | + def jekyll(opts = '') | ||
| 55 | + sh 'jekyll ' + opts | ||
| 56 | + end | ||
| 57 | + | ||
| 58 | + def compass(opts = '') | ||
| 59 | + sh 'compass compile -c config.rb --force ' + opts | ||
| 60 | + end | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,18 @@ | |||
| 1 | + Add back BPCL header animation | ||
| 2 | + | ||
| 3 | + Add tribalpixel, galactivision sites with pictures and music | ||
| 4 | + | ||
| 5 | + Add chartbeat metrics | ||
| 6 | + | ||
| 7 | + Verify feedburner working | ||
| 8 | + | ||
| 9 | + Verify google analytics working | ||
| 10 | + | ||
| 11 | + | ||
| 12 | + | ||
| 13 | + | ||
| 14 | + # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file | ||
| 15 | + # | ||
| 16 | + # To ban all spiders from the entire site uncomment the next two lines: | ||
| 17 | + # User-Agent: * | ||
| 18 | + # Disallow: / | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,12 @@ | |||
| 1 | + pygments: true | ||
| 2 | + lsi: false | ||
| 3 | + paginate: 10 | ||
| 4 | + #baseurl: bpcl/ | ||
| 5 | + permalink: pretty | ||
| 6 | + | ||
| 7 | + feedburner.id: 'beatspixelscodelife/kJuy' | ||
| 8 | + google_analytics.account: 'UA-288188-6' | ||
| 9 | + | ||
| 10 | + url: http://kiddphunk.com | ||
| 11 | + | ||
| 12 | + exclude: tmp, test, bin | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,10 @@ | |||
| 1 | + <div id="header_wrapper"> | ||
| 2 | + <div class="bpcl_header"> | ||
| 3 | + <div class="bpcl_logo new_bpcl_header_left"></div> | ||
| 4 | + <div class="bpcl_header_left3"><div id="bpcl_animation"></div></div> | ||
| 5 | + <div class="new_bpcl_header_right portdate5"> | ||
| 6 | + <span class="portdate"></span><span | ||
| 7 | + class="h1" id="rssbutton"><a href="http://feeds.feedburner.com/beatspixelscodelife/kJuy">rss</a> | ||
| 8 | + </div> | ||
| 9 | + </div> | ||
| 10 | + </div> | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + <a href='/'><div id="header_bpcl"><div id="header_bpcl_img"></div></div></a> | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + <center><a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img id='ccl' alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/80x15.png" /></a><br />(cc)1996-2011 - All work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.</center> | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments