Skip to content

Instantly share code, notes, and snippets.

View bullfight's full-sized avatar
🚀

Patrick Schmitz bullfight

🚀
View GitHub Profile

Community

This is a meetup for the Ruby programming languge that I found in Philly. Meetups are the best place to meet people whom are programmers or possibly find a local mentor. You might be the youngest person there, but topics for talks will range from beginner to expert, so there will definitely be interesting things for you to hear about. More importantly its a great way to socialize and get excited about programming. It might be fun to go with a parent on your first visit just to get your footing.

This is a fantastic link blog for becoming aquianted with what companies and programmers are doing to start buisnesses in software. Everyone needs help to stay excited and engaged, a daily dose of Hackernews will keep you fresh, I read it every day.

Essential Learning Tools

@bullfight
bullfight / whatnext?.md
Last active December 21, 2015 06:08
What Next?

Community

Austin's monthly meetup of the Rails community. This is a great way to get to know the local community and to see some excellent presentaions on software development both novice and advanced. (At Capital Factory)

A Weekly meetup of developers to work, chat, and socialize over excellent coffee or beer at Houndstooth on 42nd and Lamar.

A ten week immersive course designed to teach to web development and prepare you for your first job as a developer.

class Foo
end
foo = Foo.new
=> #<Foo:0x007fca7132adc8>
foo.inspect
=> "#<Foo:0x007fca7132adc8>"
foo.to_s
=> "#<Foo:0x007fca7132adc8>"
attachments: parent_id, asset_id
domain_names: organisation_id
event_memberships: user_id, event_id
events: editor_id
group_actions: user_id, group_id
groups: user_id
icons: parent_id
invitations: sender_id
legacy_actions: item_upon_id
news_items: author_id
@bullfight
bullfight / xml_parser.rb
Created October 29, 2015 01:44 — forked from kmile/xml_parser.rb
A small nokogiri xml reader DSL.
# A small DSL for helping parsing documents using Nokogiri::XML::Reader. The
# XML Reader is a good way to move a cursor through a (large) XML document fast,
# but is not as cumbersome as writing a full SAX document handler. Read about
# it here: http://nokogiri.org/Nokogiri/XML/Reader.html
#
# Just pass the reader in this parser and specificy the nodes that you are interested
# in in a block. You can just parse every node or only look inside certain nodes.
#
# A small example:
#
class Subscription
class Service
class Customer
end
end
end
class Subscription
class Service
class Referral
@bullfight
bullfight / order.js
Created May 30, 2012 08:52
Using HATEOAS and Backbone.js
var Order = Backbone.Model.extend({
});
var HalModel = Backbone.Model.extend({
url: function() {
return get("_links").self;
},
});
parse: function(response) {
class LessonShow
constructor: (@selector) ->
$.ajax
url: $(@selector).data('json-url')
cache: false
dataType: 'json'
success: @success
complete: @complete
success: (object) =>
- return unless article.promotions.present?
%section#associated_freemusic.module.inner
%header.sty-plain
%hgroup
%h3= t('modules.shared.heading.mp3_downloads')
- unless current_user
%section.signup
= link_to "<span class='fg ico-user-silhouette'>&nbsp;</span>#{t("site_header.account_links.sign_up")}".html_safe, janrain_signup_url, :class => "btn sty-blue siz-large with-icon", 'data-lightbox-type' => 'iframe', 'data-lightbox' => janrain_signup_url, 'data-lightbox-width' => '700', 'data-lightbox-height' => '800'
= link_to "<span class='fg ico-lock'>&nbsp;</span>#{t('site_header.account_links.sign_in')}".html_safe, janrain_signin_url, :class => "btn sty-gray size-large with-icon", 'data-lightbox-type' => 'iframe', 'data-lightbox' => janrain_signin_url, 'data-lightbox-width' => '700', 'data-lightbox-height' => '800'
.page-header
%h2= link_to 'LESSONS', lessons_path
.page-wrapper
#lesson{ :data => { "json-url" => lesson_url(@lesson, :format => :json) } }
.lesson-left
.lesson-right
%div