Skip to content

Instantly share code, notes, and snippets.

View dhAlcojor's full-sized avatar

Daniel Hernández Alcojor dhAlcojor

  • Wizeline
  • Madrid, Spain
  • 18:16 (UTC +02:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am dhalcojor on github.
  • I am danielodinson (https://keybase.io/danielodinson) on keybase.
  • I have a public key whose fingerprint is ED14 2C06 E79C 252E 05AB 6AF2 8F46 EF0A 200F D3D2

To claim this, I am signing this object:

@dhAlcojor
dhAlcojor / company-requirements.md
Last active October 9, 2015 10:02
I'm planning to add the following text to my linkedin profile. Any suggestions for more requirements will be deeply appreciated ^^

So, you want to hire me. And you, or the company you work for, have some requirements. Well I have some, too. The company that wishes to hire me meets some or all of them (at least half of them):

  • Uses git or mercurial for version control
  • Cares about quality of code and uses Sonar or similar, and has people whose only task is to test (QA)
  • Uses some agile methodology such as Scrum
  • Really cares about developers (and I'm not talking about just salary)
  • Values knowledge and experience over having some title
@dhAlcojor
dhAlcojor / alexa-lambda-simple-template.js
Created April 10, 2019 09:50
Alexa lambda simple template
const Alexa = require('ask-sdk');
const HelloHandler = {
canHandle(handlerInput) {
},
handle(handlerInput) {
}
};
@dhAlcojor
dhAlcojor / app-installed.js
Last active May 9, 2020 18:10
PWAs snippets
/**
* It can be useful to know that the user has installed the app succesfully
*/
window.addEventListener('appinstalled', e => {
// Do your analytics stuff
});
@dhAlcojor
dhAlcojor / index.js
Created May 21, 2020 11:54
Simple Playwright test not working
const playwright = require('playwright');
(async () => {
for (const browserType of ['chromium', 'firefox', 'webkit']) {
const browser = await playwright[browserType].launch();
try {
const context = await browser.newContext();
const page = await context.newPage();
await page.goto('https://google.com');
await page.fill('input[name=q]', 'cheese');
@dhAlcojor
dhAlcojor / gatsby-browser.js
Last active April 24, 2022 23:29
Font Awesome library with Gatsby
import { library } from '@fortawesome/fontawesome-svg-core';
import { faChevronLeft } from '@fortawesome/free-solid-svg-icons';
export function onClientEntry() {
library.add(faChevronLeft);
}
@dhAlcojor
dhAlcojor / keybase.md
Created October 15, 2021 08:37
Keybase proof

Keybase proof

I hereby claim:

  • I am dhalcojor on github.
  • I am dhalcojor (https://keybase.io/dhalcojor) on keybase.
  • I have a public key ASBYzWXNuzSqfhtzR5hF1ex8wPoI0AvZgsS1H1RaqA5L3Ao

To claim this, I am signing this object: