Skip to content

Instantly share code, notes, and snippets.


Thiago Figueiró thiagofigueiro

View GitHub Profile
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 / The Technical Interview Cheat
Last active Aug 25, 2015 — forked from TSiege/The Technical Interview Cheat
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

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; for i in `seq 1 10`; do echo; echo Try $i; time curl -sI '' | egrep '^(X-Cache|X-Served)'; done; date; dig +short;
Wed 5 Nov 2014 09:00:08 PST
Try 1
X-Served-By: cache-lax1425-LAX
View gist:5c24304fcd133f3f17b1
NR stack:
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"=>"", "twitter"=>"", "google_plus"=>"", "instagram"=>"", "pinterest"=>"", "youtube"=>""}, "centre_id"=>"annapolis"}
2014-10-27T20:43:09.264291+00:00 app[web.1]: Existing local CAS session detected for "". 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 at 2014-10-27 20:43:09 +0000
View gist:a347d85e55e95ecdd240
2014-10-27T20:30:07.622451+00:00 app[web.2]: Started POST "/centres/annapolis/events" for 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 "". Previous ticket "ST-1414440370r-pUfAsY3BRDpFSdkoY" will be re-used.
2014-10-27T20:30:08.270082+00:00 app[web.2]: Requesting CAS respon

Keybase proof

I hereby claim:

  • I am thiagofigueiro on github.
  • I am 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: