Skip to content

Instantly share code, notes, and snippets.

View yanneves's full-sized avatar

Yann イーベス Eves yanneves

View GitHub Profile
@almost
almost / proposal.md
Last active September 12, 2019 09:07
Reactive 2016 Lightning Talk Proposal: Get Flow

This is a proposal for a lightning talk at the Reactive 2016 conference.

NOTE: If you like this, star ⭐ the Gist - the amount of stars decides whether it makes the cut! You could also Retweet if you want :)

Get Flow

Type checking JavaScript with Flow

JavaScript is a dynamic language, and there's nothing wrong with that. It allows quick iteration and lowers barriers. However, sometimes some compile-time type checking is just what you need to keep your code in line and give yourself the confidence to build bigger and faster. Flow gives the best of both worlds. You can have normal JavaScript but you can also add types where they're helpful, and it adds zero cost at runtime. In this talk I'll show Flow as it applies to a Redux & React codebase.

@remarkablemark
remarkablemark / Dockerfile
Last active March 25, 2026 14:35
Install node and npm with nvm using Docker.
# set the base image to Debian
# https://hub.docker.com/_/debian/
FROM debian:latest
# replace shell with bash so we can source files
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
# update the repository sources list
# and install dependencies
RUN apt-get update \
@derekdon
derekdon / recruitment_psl_at_london_banks.txt
Last active April 28, 2018 12:25
Preferred recruitment agency placing frontend devs at various London based banks. (Unofficial)
Standard Chartered Bank
- ScopeAT
RBS
- RedCat Digital
HSBC
- Resource Solutions
BAML
- TEKsystems for certain projects
DB
- Elliott (El) Luckhurst @ DB
@munificent
munificent / generate.c
Last active August 3, 2026 10:19
A random dungeon generator that fits on a business card
#include <time.h> // Robert Nystrom
#include <stdio.h> // @munificentbob
#include <stdlib.h> // for Ginny
#define r return // 2008-2019
#define l(a, b, c, d) for (i y=a;y\
<b; y++) for (int x = c; x < d; x++)
typedef int i;const i H=40;const i W
=80;i m[40][80];i g(i x){r rand()%x;
}void cave(i s){i w=g(10)+5;i h=g(6)
+3;i t=g(W-w-2)+1;i u=g(H-h-2)+1;l(u
@IanColdwater
IanColdwater / twittermute.txt
Last active August 13, 2026 20:21
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet

QA Agent Command

<system_context> You are an expert QA agent. Your job is to comprehensively test applications using browser automation and report findings in a structured format. Your default entry point is http://localhost:3000/ </system_context>

<critical_notes>

CRITICAL NOTES

  • READ ONLY MODE: You will NEVER make or commit any changes to the codebase

<system_context> You are an expert CLAUDE.md editor. IMPORTANT: If you make any changes that makes any CLAUDE.md file out of date, please update the CLAUDE.md file accordingly. </system_context>

<critical_notes>

MISSION CRITICAL RULES

  1. Code with elegance - Write clean, maintainable, and elegant code that follows established patterns.

  2. Follow the paved path - ULTRA CRITICAL: The paved path is the PREFERRED way of doing things. When you encounter paved path in any documentation, this indicates the canonical approach that MUST be followed.