Permalink
Browse files

Added source

  • Loading branch information...
1 parent e53f7ac commit d1a9cf879e57cc1547c06ad8202529b5dfff5958 David Fendrich committed Sep 27, 2012
Showing with 586 additions and 0 deletions.
  1. +23 −0 source/404.html
  2. +36 −0 source/_includes/custom/footer_widgets.html
  3. +7 −0 source/_includes/custom/hero.html
  4. +28 −0 source/_includes/custom/hero_widgets.html
  5. BIN source/apple-touch-icon-114x114-precomposed.png
  6. BIN source/apple-touch-icon-144x144-precomposed.png
  7. BIN source/apple-touch-icon-57x57-precomposed.png
  8. BIN source/apple-touch-icon-72x72-precomposed.png
  9. BIN source/apple-touch-icon-precomposed.png
  10. BIN source/apple-touch-icon-precomposed.psd
  11. BIN source/apple-touch-icon.png
  12. +25 −0 source/crossdomain.xml
  13. BIN source/favicon.ico
  14. BIN source/favicon.psd
  15. BIN source/favicon@2x.png
  16. BIN source/font/LeagueGothic.otf
  17. +17 −0 source/humans.txt
  18. BIN source/images/SimpsonDavid.png
  19. BIN source/images/SimpsonDavid_bigger.gif
  20. BIN source/images/glyphicons_348_hand_down.png
  21. BIN source/images/glyphicons_362_google+_alt.png
  22. BIN source/images/glyphicons_377_linked_in.png
  23. BIN source/images/glyphicons_378_forrst.png
  24. BIN source/images/glyphicons_381_github.png
  25. BIN source/images/glyphicons_385_quora.png
  26. BIN source/images/glyphicons_386_google_plus.png
  27. BIN source/images/glyphicons_391_twitter_t.png
  28. BIN source/images/glyphicons_399_e-mail.png
  29. BIN source/images/glyphicons_400_stack_overflow.png
  30. BIN source/images/heroBack.jpg
  31. BIN source/images/site-background.png
  32. BIN source/images/vcard_icon.jpg
  33. +60 −0 source/javascripts/custom.js
  34. +112 −0 source/javascripts/jquery.instagram.js
  35. +264 −0 source/javascripts/jquery.tweet.js
  36. +6 −0 source/javascripts/libs/bootstrap.min.js
  37. +4 −0 source/javascripts/libs/jquery-1.7.2.min.js
  38. +4 −0 source/robots.txt
View
@@ -0,0 +1,23 @@
+---
+layout: page
+---
+<header>
+ <h1 class="entry-title">Page not found</h1>
+ <p class="meta">Sorry about that!</p>
+</header>
+
+<p>
+ Unfortunately the page you were looking for could not be found. It might have
+ been removed, lost or never existed. You could try and find it using the
+ <script>
+ var arrURL = document.URL.split("/");
+ var arrParams = arrURL[3].split("?");
+ var searchParam = arrParams[0].substr(0, arrParams[0].lastIndexOf("."));
+
+ document.write('<a href="{{ site.simple_search }}?q=site:{{ site.url | shorthand_url }} ' + searchParam + '">search</a>')
+ </script>
+ <noscript><a href="{{ site.simple_search }}?q=site%3A{{ site.url | shorthand_url }}">search</a></noscript>
+ box (top right corner), browse the
+ <a href="{{ root_url }}/blog/archives">archives</a> or go to the
+ <a href="{{ root_url }}/">frontpage</a>.
+</p>
@@ -0,0 +1,36 @@
+<div class="row">
+ <div class="span3">
+ <h2>recent posts</h2>
+ <ul class="recent_posts">
+ {% for post in site.posts limit: site.recent_posts %}
+ <li>
+ <a href="{{ root_url }}{{ post.url }}">{{ post.title }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ <h2><a href="/blog/archives">archives</a></h2>
+ </div>
+ <div class="span3">
+ <h2>instagram</h2>
+ <div class="instagram"></div>
+ <button id="instabutton" class="btn">more</button>
+ </div>
+ <div class="span4">
+ <h2>twitter</h2>
+ <a href="https://twitter.com/adrianartiles" class="twitter-follow-button" data-show-count="true" data-lang="en">Follow @adrianartiles</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 class="tweet">
+ </div>
+ </div>
+ <div class="span2">
+ <h2>found on</h2>
+ <a href="https://github.com/sevenadrian/" rel="tooltip" title="Github"><img class="social_icon" title="Github" alt="github icon" src="{{ root_url }}/images/glyphicons_381_github.png"></a>
+ <a href="http://stackoverflow.com/users/1500225/" rel="tooltip" title="Stack Overflow"><img class="social_icon" title="Stack Overflow" alt="stack overflow icon" src="{{ root_url }}/images/glyphicons_400_stack_overflow.png"></a>
+ <a href="http://www.linkedin.com/in/adrianartiles" rel="tooltip" title="Linkedin"><img class="social_icon" title="Linkedin" alt="Linkedin icon" src="{{ root_url }}/images/glyphicons_377_linked_in.png"></a>
+ <a href="http://twitter.com/adrianartiles" rel="tooltip" title="Twitter"><img class="social_icon" title="Twitter" alt="Twitter icon" src="{{ root_url }}/images/glyphicons_391_twitter_t.png"></a>
+ <a href="https://plus.google.com/108988221942502838420?rel=author" rel="tooltip" title="Google Plus"><img class="social_icon" title="Google Plus" alt="Google Plus icon" src="{{ root_url }}/images/glyphicons_386_google_plus.png"></a>
+ <a href="http://www.quora.com/Adrian-Artiles" rel="tooltip" title="Quora"><img class="social_icon" title="Quora" alt="Quora icon" src="{{ root_url }}/images/glyphicons_385_quora.png"></a>
+ <h2>contact at</h2>
+ <a href="mailto:adrian.r.artiles@gmail.com">adrian.r.artiles@gmail.com</a>
+ </div>
+</div>
@@ -0,0 +1,7 @@
+<div class="span10 offset1">
+ <h1>
+ I'm <em>Adrian Artiles</em>,<br/>
+ an <em>entrepreneurial developer</em><br/>
+ from <em>Chicago</em>
+ </h1>
+</div>
@@ -0,0 +1,28 @@
+<div class="row">
+ <div class="span4">
+ <h2>about me</h2>
+ <p>I fill the days improving in the craft of software development, business building, and life enrichment. As a paragraph never does much justice to anyone, look around to learn more.</p>
+ </div>
+ <div class="span6">
+ <h2>recent public projects</h2>
+ <dl class="dl-horizontal">
+ <dt><a href="http://numbernote.com">NumberNote</a><a href="https://github.com/sevenadrian/numbernote" rel="tooltip" title="open sourced at Github"><img class="social_icon" title="Github" alt="github icon" src="{{ root_url }}/images/glyphicons_381_github.png"></a></dt>
+ <dd>The best free phone number reverse lookup site, for mobile too</dd>
+ <dt><a href="http://decide.herokuapp.com">The Decider</a><a href="https://github.com/sevenadrian/TheDecider" rel="tooltip" title="open sourced at Github"><img class="social_icon" title="Github" alt="github icon" src="{{ root_url }}/images/glyphicons_381_github.png"></a></dt>
+ <dd>A simple web app that randomly makes a decision for you and your collaborators</dd>
+ <dt><a href="http://siliconvalleybln.org">SiliconValleyBLN</a></dt>
+ <dd>Web development for a non-profit that helps those with disabilities</dd>
+ </dl>
+ </div>
+ <div class="span2">
+ <h2>found on</h2>
+ <a href="https://github.com/sevenadrian/" rel="tooltip" title="Github"><img class="social_icon" title="Github" alt="github icon" src="{{ root_url }}/images/glyphicons_381_github.png"></a>
+ <a href="http://stackoverflow.com/users/1500225/" rel="tooltip" title="Stack Overflow"><img class="social_icon" title="Stack Overflow" alt="stack overflow icon" src="{{ root_url }}/images/glyphicons_400_stack_overflow.png"></a>
+ <a href="http://www.linkedin.com/in/adrianartiles" rel="tooltip" title="Linkedin"><img class="social_icon" title="Linkedin" alt="Linkedin icon" src="{{ root_url }}/images/glyphicons_377_linked_in.png"></a>
+ <a href="http://twitter.com/adrianartiles" rel="tooltip" title="Twitter"><img class="social_icon" title="Twitter" alt="Twitter icon" src="{{ root_url }}/images/glyphicons_391_twitter_t.png"></a>
+ <a href="https://plus.google.com/108988221942502838420?rel=author" rel="tooltip" title="Google Plus"><img class="social_icon" title="Google Plus" alt="Google Plus icon" src="{{ root_url }}/images/glyphicons_386_google_plus.png"></a>
+ <a href="http://www.quora.com/Adrian-Artiles" rel="tooltip" title="Quora"><img class="social_icon" title="Quora" alt="Quora icon" src="{{ root_url }}/images/glyphicons_385_quora.png"></a>
+ <h2>contact at</h2>
+ <a href="mailto:adrian.r.artiles@gmail.com">adrian.r.artiles@gmail.com</a>
+ </div>
+</div>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
+<cross-domain-policy>
+
+
+<!-- Read this: www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html -->
+
+<!-- Most restrictive policy: -->
+ <site-control permitted-cross-domain-policies="none"/>
+
+
+
+<!-- Least restrictive policy: -->
+<!--
+ <site-control permitted-cross-domain-policies="all"/>
+ <allow-access-from domain="*" to-ports="*" secure="false"/>
+ <allow-http-request-headers-from domain="*" headers="*" secure="false"/>
+-->
+<!--
+ If you host a crossdomain.xml file with allow-access-from domain="*"
+ and don’t understand all of the points described here, you probably
+ have a nasty security vulnerability. ~ simon willison
+-->
+
+</cross-domain-policy>
View
Binary file not shown.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
View
@@ -0,0 +1,17 @@
+/* the humans responsible & colophon */
+/* humanstxt.org */
+
+
+/* TEAM */
+ Owner: Adrian Artiles
+ Site: http://AdrianArtiles.com
+ Twitter: @AdrianArtiles
+
+ UX Designer: Adrian Artiles
+ Site: http://AdrianArtiles.com
+ Twitter: @AdrianArtiles
+
+/* SITE */
+ Standards: HTML5, CSS3
+ Components: Modernizr, jQuery
+ Software: Vim
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,60 @@
+$(function(){
+ $('[rel="tooltip"]').tooltip();
+
+ if ( window.location.pathname == '/' ) {
+ $('[rel="tooltip"]').hover(
+ function () {
+ $('.tooltip.top').addClass("home");
+ }
+ );
+ }
+
+ $(".tweet").tweet({
+ username: 'adrianartiles',
+ join_text: "auto",
+ avatar_size: 32,
+ count: 3,
+ loading_text: "loading tweets...",
+ auto_join_text_default: "",
+ auto_join_text_ed: "",
+ auto_join_text_ing: "",
+ auto_join_text_reply: "",
+ auto_join_text_url: "",
+ loading_text: "loading tweets..."
+ });
+
+ $(".instagram").instagram({
+ userId: 145937522,
+ //hash: 'love',
+ clientId: '1234',
+ accessToken: '5678',
+ show: 4,
+ onComplete: function(photos, data) {
+ insta_next_url = data.pagination.next_url;
+ }
+ });
+ $('#instabutton').on('click', function(){
+ var button = $(this);
+ var text = button.text();
+ var insta_container = $(".instagram");
+ button.addClass('disabled');
+
+ if (button.text() != 'Loading…') {
+ button.text('Loading…');
+ insta_container.instagram({
+ userId: 145937522,
+ clientId: '1234',
+ accessToken: '5678',
+ next_url : insta_next_url,
+ show : 4,
+ onComplete : function(photos, data) {
+ console.log(data);
+ insta_next_url = data.pagination.next_url;
+ button.text(text);
+ button.removeClass('disabled');
+ }
+ });
+ }
+ });
+
+});
@@ -0,0 +1,112 @@
+(function($){
+ $.fn.instagram = function(options) {
+ var that = this,
+ apiEndpoint = "https://api.instagram.com/v1",
+ settings = {
+ hash: null
+ , userId: null
+ , locationId: null
+ , search: null
+ , accessToken: null
+ , clientId: null
+ , show: null
+ , onLoad: null
+ , onComplete: null
+ , maxId: null
+ , minId: null
+ , next_url: null
+ };
+
+ options && $.extend(settings, options);
+
+ function createPhotoElement(photo) {
+ return $('<div>')
+ .addClass('instagram-placeholder')
+ .attr('id', photo.id)
+ .append(
+ $('<a>')
+ .attr('target', '_blank')
+ .attr('href', photo.link)
+ .append(
+ $('<img>')
+ .addClass('instagram-image')
+ .attr('src', photo.images.thumbnail.url)
+ )
+ );
+ }
+
+ function createEmptyElement() {
+ return $('<div>')
+ .addClass('instagram-placeholder')
+ .attr('id', 'empty')
+ .append($('<p>').html('No photos for this query'));
+ }
+
+ function composeRequestURL() {
+
+ var url = apiEndpoint,
+ params = {};
+
+ if (settings.next_url != null) {
+ return settings.next_url;
+ }
+
+ if(settings.hash != null) {
+ url += "/tags/" + settings.hash + "/media/recent";
+ }
+ else if(settings.search != null) {
+ url += "/media/search";
+ params.lat = settings.search.lat;
+ params.lng = settings.search.lng;
+ settings.search.max_timestamp != null && (params.max_timestamp = settings.search.max_timestamp);
+ settings.search.min_timestamp != null && (params.min_timestamp = settings.search.min_timestamp);
+ settings.search.distance != null && (params.distance = settings.search.distance);
+ }
+ else if(settings.userId != null) {
+ url += "/users/" + settings.userId + "/media/recent";
+ }
+ else if(settings.locationId != null) {
+ url += "/locations/" + settings.locationId + "/media/recent";
+ }
+ else {
+ url += "/media/popular";
+ }
+
+ settings.accessToken != null && (params.access_token = settings.accessToken);
+ settings.clientId != null && (params.client_id = settings.clientId);
+ settings.minId != null && (params.min_id = settings.minId);
+ settings.maxId != null && (params.max_id = settings.maxId);
+ settings.show != null && (params.count = settings.show);
+
+ url += "?" + $.param(params)
+
+ return url;
+ }
+
+ settings.onLoad != null && typeof settings.onLoad == 'function' && settings.onLoad();
+
+ $.ajax({
+ type: "GET",
+ dataType: "jsonp",
+ cache: false,
+ url: composeRequestURL(),
+ success: function(res) {
+ var length = typeof res.data != 'undefined' ? res.data.length : 0;
+ var limit = settings.show != null && settings.show < length ? settings.show : length;
+
+ if(limit > 0) {
+ for(var i = 0; i < limit; i++) {
+ that.append(createPhotoElement(res.data[i]));
+ }
+ }
+ else {
+ that.append(createEmptyElement());
+ }
+
+ settings.onComplete != null && typeof settings.onComplete == 'function' && settings.onComplete(res.data, res);
+ }
+ });
+
+ return this;
+ };
+})(jQuery);
Oops, something went wrong.

0 comments on commit d1a9cf8

Please sign in to comment.