Current version: 1.0.19 1.0.15 (as of 2018-12-10)
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
| plex: | |
| image: linuxserver/plex | |
| container_name: plex | |
| net: host | |
| environment: | |
| - VERSION=latest | |
| - PUID=1000 | |
| - PGID=1001 | |
| - TZ=Europe/Paris | |
| volumes: |
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 firebase from 'firebase/app' | |
| import React, { useState, useEffect, useContext } from 'react' | |
| import { useStorage } from 'services/storage' | |
| import { useNetwork } from 'services/network' | |
| const AuthContext = React.createContext() | |
| export const useAuth = () => useContext(AuthContext) |
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
| echo "Generating resolved modules list by webpack..." | |
| npx webpack --display-modules --config webpack.config.js | awk '{print $2}' | grep ^\.\/ > files-webpack.txt | |
| echo "Generating files list from src folder..." | |
| find ./src -name "*.js" | grep -v eslint | grep -v stories | grep -v __ > ./files-src.txt | |
| echo "Identify unused files..." | |
| cat files-src.txt | xargs -I '{}' sh -c "grep -q '{}' files-webpack.txt || echo '{}'" | |
| rm files-src.txt files-webpack.txt |