This file contains hidden or 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
### ZSH Options | |
zle_highlight+=(paste:none) | |
### Added by Zinit's installer | |
if [[ ! -f $HOME/.zinit/bin/zinit.zsh ]]; then | |
print -P "%F{33}▓▒░ %F{220}Installing %F{33}DHARMA%F{220} Initiative Plugin Manager (%F{33}zdharma/zinit%F{220})…%f" | |
command mkdir -p "$HOME/.zinit" && command chmod g-rwX "$HOME/.zinit" | |
command git clone https://github.com/zdharma/zinit "$HOME/.zinit/bin" && \ | |
print -P "%F{33}▓▒░ %F{34}Installation successful.%f%b" || \ |
This file contains hidden or 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
{ | |
"Use Non-ASCII Font" : false, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { | |
"Red Component" : 0.3333333432674408, | |
"Color Space" : "sRGB", | |
"Blue Component" : 1, | |
"Alpha Component" : 1, |
This file contains hidden or 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
tap "heroku/brew" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/cask-fonts" | |
tap "homebrew/core" | |
brew "autoconf" | |
brew "automake" | |
brew "bat" | |
brew "coreutils" | |
brew "deno" |
This file contains hidden or 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
// The ESLint browser environment defines all browser globals as valid, | |
// even though most people don't know some of them exist (e.g. `name` or `status`). | |
// This is dangerous as it hides accidentally undefined variables. | |
// We blacklist the globals that we deem potentially confusing. | |
// To use them, explicitly reference them, e.g. `window.name` or `window.status`. | |
const restrictedGlobals = require('confusing-browser-globals'); | |
module.exports = { | |
root: true, |
This file contains hidden or 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
{ | |
"keyboard": "dz60", | |
"keymap": "dz60_layout_directional_mine", | |
"layout": "LAYOUT_directional", | |
"layers": [ | |
[ | |
"KC_GESC", | |
"KC_1", | |
"KC_2", | |
"KC_3", |
This file contains hidden or 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 { useState, useEffect } from 'react'; | |
export interface UseFetch<T> { | |
data: T | null; | |
isLoading: boolean; | |
error: ResponseError | Error | null; | |
retries: number; | |
retry: () => void; | |
} |
This file contains hidden or 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":"2020-08-24T12:55:44.715Z","extensionVersion":"v3.4.3"} |
This file contains hidden or 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 { Model, AjvValidator } = require('objection'); | |
const pluralize = require('pluralize'); | |
class BaseModel extends Model { | |
/** | |
* Always use timestamps as default | |
*/ | |
static get timestamps() { | |
return true; | |
} |
This file contains hidden or 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 | |
source ~/.fonts/*.sh | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/lorenzorapetti/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
This file contains hidden or 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
AllCops: | |
TargetRubyVersion: 2.4 | |
TargetRailsVersion: 5.0.2 | |
Rails: | |
Enabled: true | |
Lint/AmbiguousBlockAssociation: | |
Enabled: false | |
NewerOlder