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
# zgen installation | |
# git clone https://github.com/tarjoilija/zgen.git "${HOME}/.zgen" | |
# load zgen | |
source "${HOME}/.zgen/zgen.zsh" | |
# add android sdk tools & others for osx | |
export PATH="$PATH:/usr/local/sbin:${HOME}/Library/Android/sdk/platform-tools" | |
# enable error redirect from react-native app |
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
brew install sleepwatcher | |
brew services start sleepwatcher | |
echo /usr/local/bin/docker run --rm --privileged alpine hwclock -s > ~/.wakeup | |
chmod +x ~/.wakeup |
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 Provider from "./Provider"; | |
import Counter from "./Counter"; | |
const App = ({ reducer, initialState }) => { | |
return ( | |
<Provider reducer={reducer} initialState={initialState}> | |
<Counter /> | |
</Provider> | |
); |
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
// Placez vos combinaisons de touches dans ce fichier pour remplacer les valeurs par défaut | |
[ | |
{ | |
"key": "ctrl+alt+f", | |
"command": "eslint.executeAutofix", | |
"when": "editorTextFocus && !editorReadonly" | |
} | |
] |
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
/* eslint-disable import/no-extraneous-dependencies */ | |
const _ = require('lodash'); | |
const fs = require('fs'); | |
const eol = require('eol'); | |
const path = require('path'); | |
const VirtualFile = require('vinyl'); | |
const flattenObjectKeys = require('i18next-scanner/lib/flatten-object-keys') | |
.default; | |
const omitEmptyObject = require('i18next-scanner/lib/omit-empty-object') | |
.default; |