Skip to content

Instantly share code, notes, and snippets.

View ordepdev's full-sized avatar
:shipit:
Making functions pure, one at a time.

Pedro Tavares ordepdev

:shipit:
Making functions pure, one at a time.
View GitHub Profile
@ordepdev
ordepdev / aoc-2019.md
Last active December 5, 2019 10:21
AOC 2019

Keybase proof

I hereby claim:

  • I am ordepdev on github.
  • I am ordepdev (https://keybase.io/ordepdev) on keybase.
  • I have a public key ASB0p-Agc_zKoVnX7mz655AJjzjC4CLrt5EUrpRcv4EMgwo

To claim this, I am signing this object:

test-driven developers: building a testing culture.
testcontainers: integration testing without a hassle.
Optional<Java>: avoiding NullPointerException's.
Testing Microservices: discussing problems and approaches.
consumer-driven contracts: deploy with confidence.
@ordepdev
ordepdev / fpl.json
Last active November 11, 2015 11:09
{
"week":12,
"stats":{
"GP":"55",
"PB":"0",
"GR":"758,872",
"TM":"2",
"TC":"0",
"TV":"104.9m",
"OP":"578",
@ordepdev
ordepdev / topics.md
Last active February 15, 2016 19:29
Learning Topics

Learning Topics

Algorithm Complexity

You need to know Big-O. It's a must. If you struggle with basic big-O complexity analysis, then you are almost guaranteed not to get hired. It's, like, one chapter in the beginning of one theory of computation book, so just go read it. You can do it.

Sorting

Know how to sort. Don't do bubble-sort. You should know the details of at least one n*log(n) sorting algorithm, preferably two (say, quicksort and merge sort). Merge sort can be highly useful in situations where quicksort is impractical, so take a look at it. For God's sake, don't try sorting a linked list during the interview.

Hashtables

@ordepdev
ordepdev / contentServiceExample.cs
Created September 14, 2015 15:04
Umbraco.Core.Services.ContentService example
using System.Web.Mvc;
using Umbraco.Core;
using Umbraco.Core.Services;
using Umbraco.Web;
namespace ContentServiceExample
{
public class ContentServiceExampleController : Controller
{
private IContentService _contentService;
@ordepdev
ordepdev / gist:f06d1a0d2bd7ae43d152
Created June 12, 2015 16:41
Inject an intranet proxy
var proxy = new System.Net.WebProxy()
{
Address = new System.Uri("http://000.000.000.000:0000"),
Credentials = new System.Net.NetworkCredential("username", "password")
};