This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-Alias ll dir | |
New-Alias which get-command | |
function listening { netstat -ano -p tcp | find `"$($args)`" | select-string "LISTENING" } | |
function forceclose { taskkill /f /pid $args } | |
function status { git status $args } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { ComponentType, LazyExoticComponent } from "react"; | |
type Transformer = <T>(name: keyof T) => (module: T) => { default: T[keyof T] }; | |
const transformer: Transformer = ( | |
(name) => (module) => ({ default: module[name] }) | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Sass template | |
.sass-cache/ | |
*.css.map | |
*.sass.map | |
*.scss.map | |
### macOS template | |
# General | |
.DS_Store | |
.AppleDouble |