Skip to content

Instantly share code, notes, and snippets.

View mariomc's full-sized avatar

Mário Gonçalves mariomc

View GitHub Profile
@gseok
gseok / Instructions.md
Created March 31, 2021 00:27 — forked from pgilad/Instructions.md
Generate SSL Certificate for use with Webpack Dev Server (OSX)

Generate private key

$ openssl genrsa -out private.key 4096

Generate a Certificate Signing Request

openssl req -new -sha256 \
@andrewyoo
andrewyoo / capybara_custom_chrome_headless.rb
Last active December 3, 2023 14:01
Getting Started: Capybara + Selenium + Custom user-agent, chrome settings
require 'capybara'
require 'selenium/webdriver'
require 'capybara/dsl'
include Capybara::DSL
Capybara.run_server = false
# setting driver
# rack_test is default and non js
# selenium_chome_headless seems best headless option
@gcardoso89
gcardoso89 / NextStopAustralia_LandingFest.md
Last active July 17, 2023 01:35
Landing.festival Lisbon 2018 - Next stop: Australia #LandingFest #CallForSpeakers

Talk proposal for Landing Festival 2018 - Lisbon #CallForSpeakers

Next stop: Australia!

TL;DR: Australia is hiring! 5 things you should know before applying.

We got used to see Australia’s biggest cities in the top positions of all quality of life rankings, and this was one of the reasons why I always had the dream to relocate to Australia. Now that I'm living in Sydney I can definitely confirm that’s true. However, getting an opportunity here is not that easy and the dream can easily become a nightmare.

Come on board and join this trip to the other side of the world, from the moment you take a decision to leave until you finally land in Australia. During the journey, I’ll share 5 useful tips I wish I would have known before stepping up and that will hopefully help you during your relocation to Australia.

@naholyr
naholyr / monkey-patch.js
Created December 21, 2012 11:52
JS monkey patching
// Original method
var object = {
method: function (x, y) {
return x+y;
}
}
// Add operations before or after!
object.method = (function (original) {
return function (x, y) {