Найти все папки node_modules в текущей папке
find . -name 'node_modules' -type d -prune -printУдалить все папки node_modules в текущей папке
find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \;| { | |
| "data": [ | |
| {"name": "one", "value": 1}, | |
| {"name": "two", "value": 2} | |
| ] | |
| } | 
| import React from 'react'; | |
| export const App = (props: {}) => { | |
| return ( | |
| <h1> | |
| Hello from React | |
| </h1> | |
| ); | |
| }; | 
| export function myDevTool02() { | |
| console.log("🔆 Hello from myDevTool02 with JS"); | |
| } | 
Найти все папки node_modules в текущей папке
find . -name 'node_modules' -type d -prune -printУдалить все папки node_modules в текущей папке
find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \;| Method | Side effects1 | State updates2 | Example uses | 
|---|---|---|---|
| Mounting | |||
componentWillMount | 
✓ | Constructor equivalent for createClass  | 
|
render | 
Create and return element(s) | ||
componentDidMount | 
✓ | ✓ | DOM manipulations, network requests, etc. | 
| Updating | |||
componentWillReceiveProps | 
✓ | Update state based on changed props | 
| /* eslint no-useless-escape: 0 */ | |
| /* eslint max-len: 0 */ | |
| /** | |
| * For more info regarding metro config: | |
| * @see https://facebook.github.io/metro/docs/en/configuration | |
| */ | |
| const path = require("path"); | |
| const fs = require("fs"); | |
| // Get blacklist factory | 
| #!/usr/bin/env bash -e | |
| HOST=${1:-cloudflare.com} | |
| FILENAME=${2:-${HOST%%.*}} | |
| # For file naming, see https://support.ssl.com/Knowledgebase/Article/View/19/0/der-vs-crt-vs-cer-vs-pem-certificates-and-how-to-convert-them | |
| # For HTTP Public Key Pinning (HPKP), see https://developer.mozilla.org/en-US/docs/Web/HTTP/Public_Key_Pinning | |
| CERTIFICATE_PEM="${FILENAME}_certificate.ascii.crt" | |
| CERTIFICATE_DER="${FILENAME}_certificate.crt" | |
| PUBKEY_PEM="${FILENAME}_pubkey.ascii.key" | 
| class ViewController: UIViewController { | |
| @IBOutlet weak var tableView: UITableView! | |
| @IBOutlet weak var heightTableView: NSLayoutConstraint! | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| tableView.addObserver(self, forKeyPath: "contentSize", options: .new, context: nil) | |
| } | |
| override func viewWillDisappear(_ animated: Bool) { | |
| super.viewWillDisappear(animated) | 
✅ Docker - отлично запускается весь стек и работает