Skip to content

Instantly share code, notes, and snippets.

View atayahmet's full-sized avatar
🎯
Focusing

Ahmet atayahmet

🎯
Focusing
View GitHub Profile
// https://www.typescriptlang.org/docs/handbook/advanced-types.html
// https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html
/** Enlève les clés K de T (opposé de Pick) */
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>
/** Récupère les types des arguments d'une fonction */
type ArgumentTypes<F extends Function> = F extends (...args: infer A) => any ? A : never
/** Récupère la version promisifiée d'une fonction */
@atayahmet
atayahmet / rxjs_operators_by_example.md
Created September 12, 2017 10:25 — forked from btroncone/rxjs_operators_by_example.md
RxJS 5 Operators By Example
@atayahmet
atayahmet / DI.m3u
Created November 16, 2016 08:17 — forked from sim642/DI.m3u
Digitally Imported premium streams
#EXTM3U
#EXTINF:-1,Digitally Imported - Ambient
http://pub1.diforfree.org:8000/di_ambient_hi
#EXTINF:-1,Digitally Imported - Big Room House
http://pub1.diforfree.org:8000/di_bigroomhouse_hi
#EXTINF:-1,Digitally Imported - Breaks
http://pub1.diforfree.org:8000/di_breaks_hi
<?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,