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 styled from 'styled-components' | |
import { Theme } from '@root/theme' | |
import { removeToast } from '@root/utils/toasts' | |
import CloseIcon from '../../assets/icons/close.svg' | |
const Wrapper = styled.div<{ theme: Theme }>` | |
position: fixed; |
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 React from 'react' | |
import { render } from 'react-dom' | |
import { ThemeProvider } from 'styled-components' | |
import Toast, { ToastVariant } from '@components/Toast/Toast' | |
import { SerializedError } from '@reduxjs/toolkit' | |
import { FetchBaseQueryError } from '@reduxjs/toolkit/dist/query' | |
import { theme } from '@root/theme' | |
import CallErrorAlert from '../components/CallErrorAlert/CallErrorAlert' |
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
{"lastUpload":"2019-03-06T10:10:00.863Z","extensionVersion":"v3.2.5"} |
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
const teloMachine = Machine( | |
{ | |
id: 'telo', | |
initial: 'active', | |
context: { | |
appointmentType: 'new patient', | |
isRefractionistEnabled: true, | |
}, | |
states: { | |
active: { |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/fbedussi/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
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
let counter = 0; | |
let setValue = 0; | |
let counterInterval; | |
let state; | |
const DEBOUNCE = 50; | |
function buzzAndBeep() { | |
return Bangle.buzz(1000, 1) | |
.then(() => Bangle.beep(200, 3000)) |
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
{ | |
"workbench.iconTheme": "material-icon-theme", | |
"atomKeymap.promptV3Features": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.formatOnPaste": false, | |
"files.insertFinalNewline": true, | |
"editor.tabSize": 2, |
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
// Place your key bindings in this file to override the defaults | |
[ | |
{ | |
"key": "shift+cmd+g", | |
"command": "-workbench.action.terminal.findPrevious", | |
"when": "terminalFindWidgetFocused" | |
}, | |
{ | |
"key": "shift+cmd+g", | |
"command": "-workbench.action.terminal.findPreviousTerminalFocus", |
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
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict | |
This file remaps the key bindings of a single user on Mac OS X 10.5 to more | |
closely match default behavior on Windows systems. This makes the Command key | |
behave like Windows Control key. To use Control instead of Command, either swap | |
Control and Command in Apple->System Preferences->Keyboard->Modifier Keys... | |
or replace @ with ^ in this file. | |
Here is a rough cheatsheet for syntax. | |
Key Modifiers |
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
// Inserire i tasti di scelta rapida in questo file per sovrascrivere i valori predefiniti | |
[ | |
{ | |
"key": "ctrl+w ctrl+v", | |
"command": "workbench.action.splitEditor" | |
}, | |
{ | |
"key": "shift+ctrl+down", | |
"command": "editor.action.moveLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" |
NewerOlder