Skip to content

Commit a89ffe5

Browse files
committed
Revert "Updating StyleBitz to include the new 1px knockout buttons."
This reverts commit 004146d7e957ad145f8972fedc17ddd46599a614.
1 parent 7a24784 commit a89ffe5

File tree

71 files changed

+11329
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+11329
-4
lines changed

.nojekyll

Whitespace-only changes.

CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
technology.customink.com

README.md

-4
This file was deleted.
Loading

assets/app-8b6d37be9d46988b325682ed906140e0.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

assets/app-ca69057f0a3c7907fba6689b1396c0dd.js

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Loading
Loading
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Testing mod_rewrite and apache redirects - CustomInk Technology Blog</title>
5+
<meta charset="utf-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
9+
<meta name="description" content="Testing mod_rewrite and apache redirects
10+
11+
12+
13+
16 Jul 2010
14+
by Nathen Harvery
15+
16+
17+
18+
19+
20+
21+
22+
At CustomInk, we recently migrated from mong...">
23+
<link rel="stylesheet" href="/assets/app-8b6d37be9d46988b325682ed906140e0.css">
24+
<script type="text/javascript">
25+
(function(d) {
26+
var config = {
27+
kitId: 'tph7yyf',
28+
scriptTimeout: 3000
29+
},
30+
h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\bwf-loading\b/g,"")+" wf-inactive";},config.scriptTimeout),tk=d.createElement("script"),f=false,s=d.getElementsByTagName("script")[0],a;h.className+=" wf-loading";tk.src='//use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!="complete"&&a!="loaded")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s)
31+
})(document);
32+
</script>
33+
34+
</head>
35+
36+
<body class="Default">
37+
<header class="tb-Header">
38+
<div class="sb-Wrapper">
39+
<nav class="tb-Header-home">
40+
<a href="/" class="tb-Header-home-logo"><img src="/assets/CustomInk_Tech_Color-1eab0e8af4627b0a8eb96649c8ab2274.png"></a>
41+
</nav>
42+
<input type="checkbox" id="tb-Header-toggle" />
43+
<div class="tb-Header-area">
44+
<label for="tb-Header-toggle" class="tb-Header-toggle" data-open="Menu" data-close="Close" onclick></label>
45+
<ul class="tb-Header-menu">
46+
<li class="tb-Header-menu-item">
47+
48+
<a href="/team" class="tb-Header-menu-link">TEAM</a>
49+
50+
51+
52+
</li>
53+
<li class="tb-Header-menu-item">
54+
<a href="http://customink.com" class="tb-Header-menu-link">CUSTOMINK.COM</a>
55+
</li>
56+
</ul>
57+
</div>
58+
</div>
59+
</header>
60+
61+
<div class="main sb-Wrapper">
62+
<div class="content">
63+
<h1>Testing mod_rewrite and apache redirects</h1>
64+
65+
<div class="author">
66+
<div class="info">
67+
16 Jul 2010<br>
68+
by Nathen Harvery
69+
</div>
70+
<div class="gravatar">
71+
72+
</div>
73+
</div>
74+
75+
<div class="post">
76+
<p>At <a href="http://www.customink.com">CustomInk</a>, we recently migrated from mongrel to Passenger for our Ruby on Rails website. This migration included a full rewrite of our apache configuration files.</p>
77+
78+
<p>With over 500 redirect and rewrite rules in place I needed a way to ensure my copy-n-paste skills were up to snuff and that we didn&#39;t loose any redirects along the way.</p>
79+
80+
<!--more-->
81+
82+
<p>In my search for help, I found a <a href="http://www.viget.com/extend/test-drive-mod-rewrite-rules-with-testunit/">blog post by Patrick Reagan from Viget labs</a> that described a method for writing tests that will verify all the rewrite rules and redirects. Patrick&#39;s ideas were packaged up into a gem and available on <a href="http://github.com/eightbitraptor/http_redirect_test">github</a>.</p>
83+
84+
<p>I can now write up tests like:</p>
85+
<div class="highlight"><pre><code class="language-ruby" data-lang="ruby"><span class="n">should_redirect</span> <span class="s2">"/cink/ideas/ideas.jsp"</span><span class="p">,</span> <span class="ss">:to</span> <span class="o">=&gt;</span> <span class="s2">"/inspiration/"</span>
86+
</code></pre></div>
87+
<p>So now I can to some TDC (test-driven configuration) whenever I get a request for a new redirect.</p>
88+
89+
<p>What other methods have you used to test your rewrite rules?</p>
90+
91+
<hr>
92+
93+
<p><sub>Reposted from <a href="http://nathenharvey.com/blog/2010/07/16/testing-mod-rewrite-and-apache-redirects/">Nathen Harvey&#39;s blog</a>.</sub></p>
94+
95+
</div>
96+
97+
98+
<section id="disqus_thread">
99+
</section>
100+
<script type="text/javascript">
101+
var disqus_shortname = 'custominktechnologyblog';
102+
var disqus_identifier = '/blog/2010/07/16/testing-mod-rewrite-and-apache-redirects';
103+
var disqus_title = "Testing mod_rewrite and apache redirects";
104+
(function() {
105+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
106+
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
107+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
108+
})();
109+
</script>
110+
111+
112+
113+
</div>
114+
</div>
115+
<div class="footer">
116+
<div><small>&copy; 2014 CustomInk, LLC. All rights reserved.</small></div>
117+
<div><small><a href="http://customink.com">CustomInk</a> is a registered trademark of CustomInk LLC. "T-shirts Unite!" and the "Inky" octopus are trademarks of CustomInk, LLC.</small></div>
118+
</div>
119+
120+
121+
<script type="text/javascript">
122+
var _gaq = _gaq || [];
123+
_gaq.push(['_setAccount', 'UA-32456448-1']);
124+
_gaq.push(['_trackPageview']);
125+
126+
(function() {
127+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
128+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
129+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
130+
})();
131+
</script>
132+
133+
134+
<script src="/assets/app-ca69057f0a3c7907fba6689b1396c0dd.js"></script>
135+
</body>
136+
</html>

0 commit comments

Comments
 (0)