Skip to content

Instantly share code, notes, and snippets.

Avatar
🧶
Knitting the next thing

Rui rpbaltazar

🧶
Knitting the next thing
View GitHub Profile
@rpbaltazar
rpbaltazar / awesome_nail.js.coffee
Last active Aug 29, 2015
<irony>Awesome nail to camel case a string</irony>
View awesome_nail.js.coffee
toCamelCase= (str) ->
val = _.map(str.split("_"), (x) ->
x[0].toUpperCase() + x.substr(1,1000)
).join("")
val[0].toLowerCase() + val.substr(1,1000)
@rpbaltazar
rpbaltazar / multiline-text-wrap
Last active Aug 29, 2015
Multiline text wrapping using css (webkit only)
View multiline-text-wrap
#parent-element {
/* Breaking this into main wrapper and truncate
allows you to have content that you actually
truncate and some other that you don't */
.main-wrapper {
height: 160px;
}
.truncate {
View merlin_todo.md
  • washing the dishes and help her to dry them and put them away
  • cleaning the kitchen area with CIF
  • vacuum all the floors (and then clean/empty Mario) + check that all the hairs are removed form the tables chairs legs
  • clean and put far from the floor all the Plugs and cables
  • washing the windows and the mirrors (with Lasciva and newspapers)
  • cleaning the shower floor and windows and remove the hairs form the hole + wc + sink with CIF (remove all the brown spot close to the sink, wash the wc inside and outside
  • wash the tiles close to the wc and close to the sink (with the detergent for disinfect)
  • washing the floor with HOT water and detergent
  • cleaning the bench in your bedroom with a sponge can remove the stains (are not visible but that thing is really dirty)
  • remove the dust from the black tv table and the buddha stand with the yellow flat sponge
View assignment.md

Title

Exploring New York City by cab

Task

In this assignment, you should see yourself as a NYC urban planner who is making some research on people's taxi rides. You were given this new tool, Datacollider and you already have your dataset available in the platform. You are expected to use it to produce a visualization and, answering some questions after you choose the right time window. Some example of questions that may arise from your data inspection:

View gist:368727d28299b066656b
http://www.tftcentral.co.uk/articles/icc_profiles.htm#d
| Model | Colorimeter | Source | Notes | Brightness | Contrast | R | G | B | Preset Mode |
|-------|-------------|--------|-------|------------|----------|---|---|---|-------------|
|Dell U2412M (Custom) | X-rite i1 Pro + LaCie | TFTCentral | A00 | 35 | 75 | 98 | 90 | 92 | Custom Color|
@rpbaltazar
rpbaltazar / kaka-asana_baka-asana.md
Last active Jan 11, 2016
Crown and crane positions
View kaka-asana_baka-asana.md

Kaka-asana and Baka-asana

Description

Kaka is the crow, baka is the crane, kakakasi is the "eye of the crane", that according to the popular indian tradition its only one, but it can place itself as it wants so it can see in any direction. Baka, the crane, is a lunar waterfowl and hindu consider it as astute and false. Similar both in execution and in the naming, these two asana are easily interchangeable.

  • The mantra that recalls kaka's strength is: Om Sri Kakaya namah
  • The mantra that recalls baka's strength is: Om Sri Bakaya namah
View iOS-questions.md
  1. Explain how the memory management works on iOS
  2. What is a weak qualifier and when should it be used
  3. Explain the MVC pattern
  4. Explain the MVVM pattern
  5. What are the property qualifiers that define the memory management behaviour?
  6. Describe ARC
  7. What’s the main problem with ARC?
  8. Explain what is dependency injection
  9. Is a block an object?
  10. Describe the behavior of objc_msgSend?
@rpbaltazar
rpbaltazar / config.json
Created Sep 14, 2016 — forked from anonymous/config.json
Orifice Calculator Config
View config.json
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
View gist:c8b961757e1b7e2b1ee4e67490918619
Muitos parabéns aos papás e que sejam todos muito felizes!
Um abraço para os rapazes e um beijinho à Jee, a quem coube a grande tarefa!
View input
^><^>>>^<^v<v^^vv^><<^<><<vv^<>^<^v>^vv<>v><vv^^<>>^^^v<<vv><<^>^<^v<^>^v><<<v^<v<<<v<<vv<v<^><^>><>v>v^<<v^^<^v<><^>^<<^^^>v>>v^^<v>>^>vv><v>>^>>v^>^v>^<^^v>^>^^v<v>^^<v<>>v^^v><^><^<<>v^<^<^v<v>v^>>>v^v^>^<>^v<^^vv<v>^>^<>^^<vv^<><<v<^<^^>vv<>^>v<^>^v>v^>^v<>^><>><vv<>v^v<><>v^v>>>>v^^>^><^^<v<^><^<v>>^v^v<>v<<<^<<vvvv<<v^vv^>v^^^<^^^<v>>v<^v>>>>>v<^^^^>v<^<><v>>>>><v>>v^vvvv^^<v^<>^v<^v^>v><^>^v<<>>vv^>v>v^^>vv^<^vvv<>><>><><^^^<v<>^<^^^<v><^v>>v>^v<v^vv^<>^^^>v^^^v>>^v^^<^>>^>^<<v>>>^^<>>^vv>v^<^>>>><v<><><^^v<><<<<^^<>>^<vvv^><>v<v<<<<><v<<v>v<v^><vv<v^>^<^>v^^><^v>^^>v<>^v^<>^vv^><v^^vv>vvv>v>^<vv^>>^>>^>><>>>^^^^v<vv>^<>v^^><v^>^<>v<^^v><v<<><^v><>^^^^^v^v>>^^v><<><<vv>^^^^><^>v>><<<^v>v^^>^v^<^^v>v<^<<>>^v<<<v<<>>v<^v^><vv<v^v>v^<v>><v>^v<<<vv^>v<v>>v>>v><v><v^>v^^v>^v^>>>><>^>v>^v^>>>>v^<<vv<^v><<>v<v^<^^<<v<^v^^v^>vv><vv<v^<^>><^^>^<><^^<v<><^v^v^<^^>^<v><^<v>v^<<<^^v<v>^v>>><>^^>vv<<^v^<<<<^^>>>v>v<<<>^^>>>v>^>v>vv<<>^<^><v^>^^<^<v<<v<^>>^v^<vvv><>v^><<v>^^<v^vv^^^<vvv^<^>^>vv>><^v<^<<v<><<><<^^<><
You can’t perform that action at this time.