Skip to content

Instantly share code, notes, and snippets.

View alexandrusavin's full-sized avatar
🤞
Coding

Alexandru Savin alexandrusavin

🤞
Coding
View GitHub Profile
@alexandrusavin
alexandrusavin / clissomget.sh
Last active May 6, 2020 12:13
CLI tool which enables you to login and retrieve AWS temporary credentials using clisso and 1Password
#!/bin/bash
SCRIPT=$(basename "$0")
exitWithError () {
echo -e "$1" 1>&2
exit 1
}
usage () {
#!/bin/bash
SCRIPT=$(basename "$0")
exitWithError () {
echo -e "$1" 1>&2
exit 1
}
usage () {
@alexandrusavin
alexandrusavin / ReactFnCompPropsChecker.tsx
Created December 23, 2020 17:27
ReactFnCompPropsChecker
import React from 'react';
// TYPES
interface PropsCheckerProps<T> {
children: (props: T) => React.ReactElement | null;
childrenProps: T;
compType?: ComparaisonTypes;
verbose?: boolean;
}