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 16384 | sudo tee /proc/sys/fs/inotify/max_user_watches | |
| ### The following is the error msg when file watchers limit is reached. | |
| Starting the development server... | |
| events.js:287 | |
| throw er; // Unhandled 'error' event | |
| Error: ENOSPC: System limit for number of file watchers reached, watch '/home/tnl/Projects/Aspire/ihop-mapping/public' |
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
| 1 2 3 4 5 6 7 | |
| n = 7 d = 2 | |
| 3 4 5 6 7 1 2 | |
| A = 1 2 B = 3 4 5 6 7 | |
| Br = 6 7 Bl = 3 4 5 |
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
| git config --global core.excludesfile ~/.gitignore |
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
| ** To create a react app ** | |
| npx create-react-app <app-name> | |
| ** To Start the dev server ** | |
| npm start | |
| ** if there is a react app without `node_modules` folder | |
| ** one way to get it running is to install node modules, | |
| ** this works only if there is a package.json file in the directory | |
| npm install |
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
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac |
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
| document.getElementsByName("image_width")[0].value = 1000;document.getElementsByName("image_height")[0].value = 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
| If running Ubuntu 17.10 or newer, this issue can arise when an application has not been updated with full support for Wayland. | |
| As a workaround until the application is updated, you can run | |
| xhost +SI:localuser:root |
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
| // Knife-Weapon Quick Switch | |
| bind q "slot3; cl_righthand 0"; | |
| alias +knife1 "slot3; cl_righthand 0"; | |
| alias -knife1 "slot1; cl_righthand 1"; | |
| bind a +knife1 | |
| alias +knife2 "slot3; cl_righthand 0"; | |
| alias -knife2 "slot2; cl_righthand 1"; | |
| bind w +knife2 |
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
| QmZULkCELmmk5XNfCgTnCyFgAVxBRBXyDHGGMVoLFLiXEN |