Skip to content

Instantly share code, notes, and snippets.

View kalimar's full-sized avatar

Kalimar Maia kalimar

View GitHub Profile
@seanmarcia
seanmarcia / tools_tips.md
Created September 30, 2017 19:41
Collection of Powertools, Tips and Tricks discussed at Retrocession.

Powertools, Tips, and Tricks Notes:

User experience monitoring tools:

  • Fullstory - JS you drop on your page that records user session.
    • Integrates with other services (like bugsnag) so, for example, when you see an error appear in bugsnag you can go and watch to see how the user created that error.
    • Is an external service that you need to log in to to view user sessions/videos/etc.
  • Ahoy - User metrics on which parts of your app they are interacting with.
    • You have full control of the data it records -- you can send it to your database, kinesis, etc.
  • Heroku sends data through a proxy (if you are worried about adblockers preventing you from getting user metrics) and then feeds the info into segment.io
@kalimar
kalimar / iterm2Badges.md
Last active June 30, 2022 13:27
How to add a badge to iterm2 on Zsh

Custom Badges in iTerm2

iTerm2 - the popular terminal emulator for OSX has added some really neat features. One of those, is badges. From the documentation: A badge is a large text label that appears in the top right of a terminal session to provide dynamic status, such as the current host name or git branch.

I had some trouble figuring out how to build a badge so I wanted to share a quick walk-through. Thanks to Chris Mar for teaching me.

Install shell integrations on iTerm.

Easy enough - it's an option on the dropdown menu

@bokmann
bokmann / knockknockinator.rb
Last active August 29, 2015 14:25
This is a work-in-progress. This is an example for students to learn the nature of using state in a class using instance variables. This could also break into an example of why threading is complicated, but thats not the first point of this example.
The KnockKnockinator
We're going to write a class that listens to and responds to knock knock jokes.
An interaction with this class should look like this:
> inator = KnockKnockInator.new
> response = inator.hears("Knock Knock")
@bokmann
bokmann / gas_vs_petrol.txt
Last active August 29, 2015 14:25
The "Gasoline vs. Petrol" Exercises
These are three exercises that deal with the thought process of converting data from one format to another,
a problem we enounter often in software development. The last problem is about publishing this data, both
as a website and as a webservice that publishes json. Tackling that problem will make you think about
various things like "how do we get the data off of the websites we're referencing?" and "when do we update
that data?" that can lead to great architectural and structural conversations.
Exercise #1:
@drinks
drinks / gist:6464743
Created September 6, 2013 14:38
Washington Post: Laziest. Paywall. Ever. Bookmarklet, obvi.
javascript:%24('#wp_Signin').remove()%3B%24('#exposeMask').remove()%3B%24(document).off("touchmove mousewheel mousemove scroll")%3B
@jwieringa
jwieringa / scrappyAcadamy.markdown
Created February 27, 2012 03:54
Scrappy Acadamy

Scrappy Academy*

** Disclaimer: All subject to review, change, and overall better scrappiness **

Goals

  1. Self study group that follows hungry academy course
  2. Pick one open source project to contribute to
  3. Invite Ruby community members to weekly meetings as mentors

Values