Skip to content

Instantly share code, notes, and snippets.

Thiago Figueiró thiagofigueiro

Block or report user

Report or block thiagofigueiro

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@thiagofigueiro
thiagofigueiro / swagger.json
Created May 5, 2018
REST api definition for Sonatype Nexus Repository Manager OSS 3.11.0-01
View swagger.json
{
"swagger" : "2.0",
"info" : {
"version" : "3.11.0-01",
"title" : "Nexus Repository Manager REST API"
},
"basePath" : "/service/rest/",
"tags" : [ {
"name" : "read-only"
}, {
@thiagofigueiro
thiagofigueiro / The Technical Interview Cheat Sheet.md
Last active Aug 25, 2015 — forked from TSiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.
View The Technical Interview Cheat Sheet.md

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
View gist:cd643745e96a18385eb8
[thiago@uluru-2 ~]$ date; dig +short beta.westfield.com; for i in `seq 1 10`; do echo; echo Try $i; time curl -sI 'http://api.westfield.io/api/deal/master/deals.json?centre=valleyfair' | egrep '^(X-Cache|X-Served)'; done; date; dig +short beta.westfield.com;
Wed 5 Nov 2014 09:00:08 PST
beta.westfield.com.global.prod.fastly.net.
global-ssl.fastly.net.
fallback.global-ssl.fastly.net.
199.27.79.185
199.27.79.184
Try 1
X-Served-By: cache-lax1425-LAX
View gist:5c24304fcd133f3f17b1
NR stack: https://rpm.newrelic.com/accounts/10589/applications/2287715/traced_errors/2362128883
2014-10-27T20:43:09.262637+00:00 app[web.1]: Processing by Centre::InformationController#update as HTML
2014-10-27T20:43:09.262678+00:00 app[web.1]: Parameters: {"utf8"=>"✓", "authenticity_token"=>"F+aTu0QqYMjDKmzDuTmCDRPqo0OXUIJX+PQVaWP2kGw=", "centre"=>{"centre_id"=>"annapolis", "facebook"=>"www.facebook.com/WestfieldAnnapolis", "twitter"=>"twitter.com/WestfieldANN", "google_plus"=>"plus.google.com/101033915999013234955/about?hl=en-US", "instagram"=>"instagram.com/westfieldannapolis", "pinterest"=>"www.pinterest.com/westfieldus", "youtube"=>"www.youtube.com/westfieldus"}, "centre_id"=>"annapolis"}
2014-10-27T20:43:09.264291+00:00 app[web.1]: Existing local CAS session detected for "tfigueiro@us.westfield.com". Previous ticket "ST-1414440370r-pUfAsY3BRDpFSdkoY" will be re-used.
2014-10-27T20:43:09.259267+00:00 app[web.1]: Started PUT "/centres/annapolis/info" for 63.251.193.4 at 2014-10-27 20:43:09 +0000
2014-
View gist:a347d85e55e95ecdd240
2014-10-27T20:30:07.622451+00:00 app[web.2]: Started POST "/centres/annapolis/events" for 63.251.193.4 at 2014-10-27 20:30:07 +0000
2014-10-27T20:30:07.624597+00:00 app[web.2]: Processing by EventsController#create as HTML
2014-10-27T20:30:07.624639+00:00 app[web.2]: Parameters: {"utf8"=>"✓", "authenticity_token"=>"F+aTu0QqYMjDKmzDuTmCDRPqo0OXUIJX+PQVaWP2kGw=", "event"=>{"centre_id"=>"annapolis", "name"=>"A test event", "description"=>"test", "location"=>"test", "occurrences"=>{"0"=>{"start"=>"2015-07-04T13:29-0400", "finish"=>"2015-07-04T14:29-0400"}}, "publish"=>"2015-02-06 20:29:00 UTC", "image_ref"=>"jq3wf6oulu0hbkmh9xdg", "external_url_description"=>"", "external_url"=>"", "featured"=>"0", "external_buy_url"=>""}, "commit"=>"Save", "centre_id"=>"annapolis"}
2014-10-27T20:30:07.626020+00:00 app[web.2]: Existing local CAS session detected for "tfigueiro@us.westfield.com". Previous ticket "ST-1414440370r-pUfAsY3BRDpFSdkoY" will be re-used.
2014-10-27T20:30:08.270082+00:00 app[web.2]: Requesting CAS respon
View keybase.md

Keybase proof

I hereby claim:

  • I am thiagofigueiro on github.
  • I am thiagoconde (https://keybase.io/thiagoconde) on keybase.
  • I have a public key whose fingerprint is B45F 03A1 ECF0 5D11 9114 4B14 55EA 64D7 A991 9960

To claim this, I am signing this object:

You can’t perform that action at this time.