Skip to content

Instantly share code, notes, and snippets.

View opensourcekam's full-sized avatar
🎯
Focusing

✨OSKAM✨ opensourcekam

🎯
Focusing
View GitHub Profile
declare enum HttpStatusCode {
CONTINUE = 100,
SWITCHING_PROTOCOLS = 101,
PROCESSING = 102,
OK = 200,
CREATED = 201,
ACCEPTED = 202,
NON_AUTHORITATIVE_INFORMATION = 203,
NO_CONTENT = 204,
RESET_CONTENT = 205,
declare enum HttpStatusCode {
CONTINUE = 100,
SWITCHING_PROTOCOLS = 101,
PROCESSING = 102,
OK = 200,
CREATED = 201,
ACCEPTED = 202,
NON_AUTHORITATIVE_INFORMATION = 203,
NO_CONTENT = 204,
declare enum HttpStatusCode {
CONTINUE = 100,
SWITCHING_PROTOCOLS = 101,
PROCESSING = 102,
OK = 200,
CREATED = 201,
ACCEPTED = 202,
NON_AUTHORITATIVE_INFORMATION = 203,
NO_CONTENT = 204,
interface ITheme {
font: string;
colors: IColors;
fontWeights: IFontWeights;
space: string[];
breakpoints: string[];
fontSize: IFontSize;
}
interface IColors {
export default {
font: `Avenir, -apple-system, ".SFNSText-Regular", "San Francisco", Roboto, "Segoe UI",
"Helvetica Neue", "Lucida Grande", sans-serif`,
colors: {
black: '#333',
jetBlack: '#050002',
offWhite: 'rgb(245, 249, 250)',
primeWhite: 'rgb(250, 252, 251)',
grey1: '#E7E7E7',
grey2: '#ccc',
@opensourcekam
opensourcekam / killallDocker.sh
Created September 19, 2018 18:24
Kills all docker containers running
#!/bin/sh
docker kill $(docker ps -q)
@opensourcekam
opensourcekam / .bash_profile
Created September 12, 2018 20:19
the one at work
#### Alises #####
##################
export PS1="👻 --> "
alias up='cd .. && ls'
alias down='cd '
alias gp='git push'
alias gpu='git pull'
alias gpf='git push --force'
alias gf='git fetch'
@opensourcekam
opensourcekam / .eslintrc.json
Created September 4, 2018 19:26
last ever eslint for CRA
{
"extends": [
"last",
"prettier/react",
"plugin:react/recommended"
]
}
// import Container from ''
export default () => (
<Container>
<div>Quisque finibus elit quis turpis elementum tempor at id dolor. Nam scelerisque, libero a elementum condimentum, nulla lorem auctor nulla, a mattis diam sapien quis metus.</div>
<div>Quisque finibus elit quis turpis elementum tempor at id dolor. Nam scelerisque, libero a elementum condimentum, nulla lorem auctor nulla, a mattis diam sapien quis metus.</div>
<div>Quisque finibus elit quis turpis elementum tempor at id dolor. Nam scelerisque, libero a elementum condimentum, nulla lorem auctor nulla, a mattis diam sapien quis metus.</div>
<div>Quisque finibus elit quis turpis elementum tempor at id dolor. Nam scelerisque, libero a elementum condimentum, nulla lorem auctor nulla, a mattis diam sapien quis metus.</div>
</Container>
);
@opensourcekam
opensourcekam / Cascade.js
Created August 6, 2018 21:05
Cascade children
import { Children } from "react";
import styled, { keyframes } from "styled-components";
const fadeIn = keyframes`
from { opacity: 0; }
`;
export default styled.div`
> * {
animation: ${fadeIn} 500ms ease-out backwards;