Skip to content

Instantly share code, notes, and snippets.

View alejandronanez's full-sized avatar
👋
say hi!

Alejandro Ñáñez Ortiz alejandronanez

👋
say hi!
View GitHub Profile
@alejandronanez
alejandronanez / README.md
Created May 9, 2020 00:13 — forked from justincy/README.md
Configure Storybook to work with Next.js, TypeScript, and CSS Modules

In addition to the Storybook for React setup, you'll also need to install these packages:

npm i -D @babel/core babel-loader css-loader style-loader
@alejandronanez
alejandronanez / README.md
Created July 4, 2019 03:24 — forked from busypeoples/README.md
Making Impossible States Impossible in ReasonML

Making Impossible States Impossible in ReasonML

Introduction

If you have already seen Richard Feldman's talk entitled "Making Impossible States Impossible" or have read "Designing with types: Making illegal states unrepresentable" then you can skip the explanations and just head straight to the Reason examples.

This post is intended to display how to model your Reason Application to prevent creating impossible states. The benefits of being able to design a feature in this way include avoiding having to deal with complex test scenarios regarding defined business rules and a clear documentation of what is possible just by looking at the type definition. Long story short, let's see how this all works by implementing an example.

Requirements

@alejandronanez
alejandronanez / gmail-github-filters.md
Created June 27, 2019 18:58 — forked from ldez/gmail-github-filters.md
Gmail and GitHub - Filters

Gmail and GitHub

Create new filters and create new labels.

Pull Request

from:(notifications@github.com) AND {"Patch Links" "approved this pull request." "requested changes on this pull request." "commented on this pull request." "pushed 1 commit." "pushed 2 commits." "pushed 3 commits."}

label: gh-pull-request

@alejandronanez
alejandronanez / index.ts
Last active February 9, 2019 00:12
Testing gists
I'm a typescript file.
@alejandronanez
alejandronanez / cloudSettings
Last active August 6, 2019 02:58
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-08-06T02:46:34.859Z","extensionVersion":"v3.4.1"}

I have contents.

@alejandronanez
alejandronanez / README.md
Last active August 29, 2015 14:06 — forked from ddo/README.md

To run this, you can try:

curl -ks https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh | bash

I haven't tested this script doing it this way but i run a lot of my Gists like this so maybe this one'll work too.

Alternatively,

curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh

chmod +x ./uninstall-node.sh

@alejandronanez
alejandronanez / index.html
Last active August 29, 2015 14:02
Media Queries for iPad Portrait / Landscape and Both.
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[add your bin description]" />
<meta charset=utf-8 />
<title>Welcome to JS Bin</title>
<meta name="viewport" content="width=device-width">
</head>
<body>