Permalink
Browse files

Merge branch 'master' into stylinblugs

Conflicts:
	_site/assets/themes/tom/css/screen.css
	_site/atom.xml
  • Loading branch information...
2 parents 8fe3559 + 3b47a03 commit f3db1d425c33e61a805ae850000437576d418c2d @apeace apeace committed Nov 5, 2012
View
@@ -90,7 +90,7 @@ JB :
num_posts: 5
width: 580
colorscheme: light
-
+
# Settings for analytics helper
# Set 'provider' to the analytics provider you want to use.
# Set 'provider' to false to turn analytics off globally.
@@ -111,7 +111,7 @@ JB :
#
sharing :
provider : false
-
+
# Settings for all other include helpers can be defined by creating
# a hash with key named for the given helper. ex:
#
@@ -122,4 +122,4 @@ JB :
# and include your custom code. Your custom file must be defined at:
# ./_includes/custom/[HELPER]
# where [HELPER] is the name of the helper you are overriding.
-
+
@@ -27,12 +27,12 @@ Usage:
{% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %}
{% if forloop.first %}
- <h2>{{this_year}}</h2>
- <h3>{{this_month}}</h3>
- <ul>
+ <h2 class="year">{{this_year}}</h2>
+ <h3 class="month">{{this_month}}</h3>
+ <ul class="archive-list">
{% endif %}
- <li><span>{{ post.date | date: "%B %e, %Y" }}</span> &raquo; <a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a></li>
+ <li><a href="{{ BASE_PATH }}{{ post.url }}"><span class="post-title">{{ post.title }}</span> <span class="post-date">{{ post.date | date: "%B %e, %Y" }}</span></a></li>
{% if forloop.last %}
</ul>
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <title>{{ page.title }}</title>
+ <meta name="author" content="{{ site.author.name }}" />
+ <link href="http://feeds.feedburner.com/{{ site.author.feedburner }}" rel="alternate" title="your title" type="application/atom+xml" />
+
+ <!-- syntax highlighting CSS -->
+ <link rel="stylesheet" href="{{ ASSET_PATH }}/css/syntax.css" type="text/css" />
+
+ <!-- Homepage CSS -->
+ <link rel="stylesheet" href="{{ ASSET_PATH }}/css/screen.css" type="text/css" media="screen, projection" />
+
+ <!-- Typekit -->
+ <script type="text/javascript" src="http://use.typekit.com/jpd0pfm.js"></script>
+ <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+</head>
+<body>
+
+ <div class="site">
+ <header>
+ <h1 class="title"><a href="{{ HOME_PATH }}"><span>Onswipe</span> Engineering</a></h1>
+
+ </header>
+
+ {{ content }}
+
+ <aside>
+ <h2>Recent posts</h2>
+ <ul class="posts">
+ {% for post in site.posts %}
+ <li><a href="{{ BASE_PATH }}{{ post.url }}"><span class="post-title">{{ post.title }}</span> <span class="post-date">{{ post.date | date_to_string }}</span></a></li>
+ {% endfor %}
+ </ul>
+
+ <h2 class="archive"><a class="extra" href="{{ BASE_PATH }}{{ site.JB.archive_path }}">Archive</a></h2>
+ <div id="twitter-button"><a href="https://twitter.com/Onswipe" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @Onswipe</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></div>
+ <div id="subscribe-button">
+ <a class="extra" href="http://feeds.feedburner.com/{{ site.author.feedburner }}">Subscribe</a>
+ </div>
+ </aside>
+
+ <footer>
+ <div class="contact">
+ <p>
+ {{ site.tagline }}
+ </p>
+ </div>
+ </div>
+ </footer>
+
+ {% include JB/analytics %}
+</body>
+</html>
@@ -0,0 +1,3 @@
+<div id="page">
+{{ content }}
+</div>
@@ -0,0 +1,13 @@
+<div id="post">
+ <h2 class="post-title"><a href="{{ post.url }}">{{ page.title }}</a></h2>
+ <p class="meta">
+ {{ page.date | date_to_long_string }}
+ {% if page.location %}{{ page.location }}{% endif %}
+ </p>
+ <div class="post-content">
+ {{ content }}
+ </div>
+ <div id="post-comments">
+ {% include JB/comments %}
+ </div>
+</div>
@@ -0,0 +1,2 @@
+theme :
+ name : onswipe
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>{{ page.title }}</title>
+ <title>{{ page.title }} TEST</title>
<meta name="author" content="{{ site.author.name }}" />
<link href="http://feeds.feedburner.com/{{ site.author.feedburner }}" rel="alternate" title="your title" type="application/atom+xml" />
View
@@ -1,6 +1,6 @@
---
theme :
- name : tom
+ name : onswipe
---
{% include JB/setup %}
-{% include themes/tom/default.html %}
+{% include themes/onswipe/default.html %}
View
@@ -2,4 +2,4 @@
layout: default
---
{% include JB/setup %}
-{% include themes/tom/page.html %}
+{% include themes/onswipe/page.html %}
View
@@ -2,4 +2,4 @@
layout: default
---
{% include JB/setup %}
-{% include themes/tom/post.html %}
+{% include themes/onswipe/post.html %}
@@ -1,7 +1,7 @@
---
layout: post
-title: "Better Web App debugging using WebKit's remote inspector and iPhone Simulator"
-category:
+title: "Better Web App debugging using WebKit's remote inspector and iPhone Simulator"
+category:
tags: []
---
{% include JB/setup %}
@@ -10,15 +10,15 @@ Debugging tools like Firebug, and Webkit's Inspector are now considered major as
Not many people know about WebKit's ability to debug remote code. And what even less people know is that you can enable the remote inspector for Mobile Safari for iPhone Simulator in OSX with some minor hacks.
-At Onswipe, we're constantly looking for ways to improve our workflows and make our lives a little easier. This time, we came across a private API in iOS that allows you to enable the remote inspector. After getting it to work through a very manual process, we searched the internets and found out a post on [Nathan de Vries' blog](http://atnan.com/blog/2011/11/17/enabling-remote-debugging-via-private-apis-in-mobile-safari/) that mentioned the same private API we came across.
+At Onswipe, we're constantly looking for ways to improve our workflows and make our lives a little easier. This time, we came across a private API in iOS that allows you to enable the remote inspector. After getting it to work through a very manual process, we searched the internets and found out a post on [Nathan de Vries' blog](http://atnan.com/blog/2011/11/17/enabling-remote-debugging-via-private-apis-in-mobile-safari/) that mentioned the same private API we came across.
This is how it looks:
-![Remote Safari Inspector](http://dl.dropbox.com/u/4886457/Screenshots/iosd_s.png)
+![Remote Safari Inspector](http://engineering.onswipe.com.s3.amazonaws.com/img/iosd_s.png)
-[HI-RES Image](http://dl.dropbox.com/u/4886457/Screenshots/iosd.png)
+[HI-RES Image](http://engineering.onswipe.com.s3.amazonaws.com/img/iosd.png)
-To make things easier, Cam and Juan got together and wrote a bash script for your debugging pleasure. The script automates the process of launching iPhone Simulator, attaching to the Mobile Safari process to enable the Inspector and launches Safari.
+To make things easier, Cam and Juan got together and wrote a bash script for your debugging pleasure. The script automates the process of launching iPhone Simulator, attaching to the Mobile Safari process to enable the Inspector and launches Safari.
#!/bin/bash
@@ -59,8 +59,18 @@ Save this to a file called `iosd` in your `/usr/local/bin folder` then run this
$ cd /usr/local/bin/
$ chmod a+x iosd
$ ./iosd
-
+
+
+### Credit where credit is due
+
+We couldn't have made this happen without these resources:
+
+- [original bash script gist](https://gist.github.com/2029432)
+
+- [Remote debuggin - code couch](http://www.codecouch.com/2011/11/remote-debugging-mobile-safari-web-apps-that-have-been-added-to-the-home-screen/)
+- [Enabling remote debugging - atnan.com](http://atnan.com/blog/2011/11/17/enabling-remote-debugging-via-private-apis-in-mobile-safari/)
+
+
Hearts,
**The Onswipe Engineering Team**
-
@@ -8,10 +8,10 @@
<link href="http://feeds.feedburner.com/" rel="alternate" title="your title" type="application/atom+xml" />
<!-- syntax highlighting CSS -->
- <link rel="stylesheet" href="/assets/themes/tom/css/syntax.css" type="text/css" />
+ <link rel="stylesheet" href="/assets/themes/onswipe/css/syntax.css" type="text/css" />
<!-- Homepage CSS -->
- <link rel="stylesheet" href="/assets/themes/tom/css/screen.css" type="text/css" media="screen, projection" />
+ <link rel="stylesheet" href="/assets/themes/onswipe/css/screen.css" type="text/css" media="screen, projection" />
<!-- Typekit -->
<script type="text/javascript" src="http://use.typekit.com/jpd0pfm.js"></script>
@@ -20,32 +20,23 @@
<body>
<div class="site">
- <div class="title">
- <a href="/">Onswipe Engineering</a>
+ <header>
+ <h1 class="title"><a href="/"><span>Onswipe</span> Engineering</a></h1>
- <a class="extra" href="/archive.html">Archive</a>
- </div>
+ </header>
<div id="post">
- <h1>Hello World!</h1>
+ <h2 class="post-title"><a href="">Hello World!</a></h2>
<p class="meta">
18 March 2012
</p>
- <pre><code>console.log(&#39;hello world&#39;);</code></pre>
-</div>
-
-<div id="related">
- <h2>Related Posts</h2>
- <ul class="posts">
-
- <li><span>30 Mar 2012</span> &raquo; <a href="/2012/03/30/better-web-app-debugging-using-webkits-remote-inspector-and--iphone-simulator">Better Web App debugging using WebKit's remote inspector and iPhone Simulator</a></li>
+ <div class="post-content">
+ <pre><code>console.log(&#39;hello world&#39;);</code></pre>
+ </div>
+ <div id="post-comments">
- </ul>
-</div>
-
-
<div id="disqus_thread"></div>
@@ -66,29 +57,35 @@
+ </div>
+</div>
- <div class="footer">
- <div class="contact">
- <p>
- Onswipe Engineering<br />
- The Onswipe Engineering blog, brought to you by the Onswipe team.<br />
- <a href='mailto:engineering@onswipe.com'>engineering@onswipe.com</a>
- </p>
+ <aside>
+ <h2>Recent posts</h2>
+ <ul class="posts">
+
+ <li><a href="/2012/03/30/better-web-app-debugging-using-webkits-remote-inspector-and--iphone-simulator"><span class="post-title">Better Web App debugging using WebKit's remote inspector and iPhone Simulator</span> <span class="post-date">30 Mar 2012</span></a></li>
+
+ <li><a href="/2012/03/18/hello-world"><span class="post-title">Hello World!</span> <span class="post-date">18 Mar 2012</span></a></li>
+
+ </ul>
+
+ <h2 class="archive"><a class="extra" href="/archive.html">Archive</a></h2>
+ <div id="twitter-button"><a href="https://twitter.com/Onswipe" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @Onswipe</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></div>
+ <div id="subscribe-button">
+ <a class="extra" href="http://feeds.feedburner.com/">Subscribe</a>
</div>
+ </aside>
+
+ <footer>
<div class="contact">
<p>
- <a href="http://github.com/onswipe/">github.com/onswipe</a><br />
- <a href="http://twitter.com/onswipe/">twitter.com/onswipe</a><br />
+ The Onswipe Engineering blog, brought to you by the Onswipe team.
</p>
</div>
- <div class="rss">
- <a href="http://feeds.feedburner.com/">
- <img src="/assets/themes/tom/images/rss.png" alt="Subscribe to RSS Feed" />
- </a>
- </div>
</div>
- </div>
+ </footer>
</body>
Oops, something went wrong.

0 comments on commit f3db1d4

Please sign in to comment.