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 from 'react' | |
import { connect } from 'react-redux' | |
import { setLanguage } from 'redux-i18n' | |
import { BrowserRouter as Router } from 'react-router-dom' | |
import Route from 'services/router' | |
import * as authData from 'data/auth' | |
import * as persist from 'data/persist' |
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 from 'react' | |
import PropTypes from 'prop-types' | |
import styled from 'styled-components' | |
import styledBy from 'styled-by' | |
const GlobalCssValues = ['initial', 'inherit', 'unset'] | |
const WrapValue = ['nowrap', 'wrap', 'wrap-reverse', ...GlobalCssValues] | |
const JustifyValue = [ | |
'center', | |
'start', |
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
#!/bin/bash |
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 * as R from 'ramda' | |
export const between = (num: number, min: number, max: number) => | |
R.max(min, R.min(num, max)) | |
export const paginate = ( | |
records: number, | |
limit: number = 10, | |
current: number = 1, | |
delta: number = 1, |
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
[alias] | |
k = !gitk --all & | |
dismiss = reset HEAD --hard | |
rollback = reset --soft HEAD~1 | |
unstage = reset HEAD -- | |
undo = checkout -- | |
redo = commit --amend --no-edit | |
sane = remote prune origin | |
send = push origin $(git rev-parse --abbrev-ref HEAD) | |
l = log --graph --pretty=format:'%C(yellow)%h%Creset %Cgreen%cr %C(bold blue)%an%Creset - %s%C(red)%d%Creset' --abbrev-commit --max-count=30 |
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
// Empty | |
[ | |
{ | |
"key": "cmd+k cmd+o", | |
"command": "workbench.action.addRootFolder" | |
}, | |
{ | |
"key": "cmd+j", | |
"command": "workbench.action.toggleMaximizedPanel", | |
"when": "!terminalFocus" |
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
SPACESHIP_PROMPT_ORDER=( | |
user # Username section | |
dir # Current directory section | |
host # Hostname section | |
git # Git section (git_branch + git_status) | |
exec_time # Execution time | |
line_sep # Line break | |
vi_mode # Vi-mode indicator | |
jobs # Background jobs indicator | |
exit_code # Exit code section |
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
{ | |
"editor.suggestSelection": "first", | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true | |
}, | |
"github.copilot.enable": { | |
"yaml": false, | |
"*": true, | |
"plaintext": true, | |
"markdown": false |
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
@supports (-webkit-touch-callout: none) { | |
.gap-2.flex:not(.flex-col):not(.flex-wrap) > *:not(:last-child) { | |
margin-right: 0.5rem; | |
} | |
.gap-3.flex:not(.flex-col):not(.flex-wrap) > *:not(:last-child) { | |
margin-right: 0.75rem; | |
} | |
.gap-4.flex:not(.flex-col):not(.flex-wrap) > *:not(:last-child) { |
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
[ | |
{ | |
"gameTime": "2022-11-20T16:00:00Z", | |
"homeTeam": "cat", | |
"awayTeam": "equ" | |
}, | |
{ | |
"gameTime": "2022-11-21T13:00:00Z", | |
"homeTeam": "ing", | |
"awayTeam": "ira" |
OlderNewer