sudo vmhgfs-fuse .host:/ /mnt/hgfs/ -o allow_other -o uid=1000
Source: https://askubuntu.com/questions/74825/why-dont-shared-files-show-up-in-hgfs
<style> | |
body { | |
margin: 0; | |
width: 100%; | |
height: 100% | |
} | |
body, | |
td, | |
input, |
// Module Imports | |
import "pe" | |
import "elf" // Though this won't be used since we're investigating a WIN32 executable | |
//import "magic" | |
// Only applicable to *UNIX systems since it relies on 'file' | |
// Module Imports | |
import "pe" |
1. CB() never called; execute the command with sudo privileges (sudo npm ...) otherwise sudo npm cache verify | |
2. After package installations or removals, remove the cache for the first startup; (expo start -c) | |
3. To remove NPM packages; npm uninstall <package> |
1) UnicodeDecodeError: Specify the encoding used to write the file while reading the file e.g. encoding="utf-8" | |
2) Pretty-print and save the JSON data using: | |
``` | |
import json | |
with open('data.json', 'w', encoding='utf-8') as f: | |
json.dump(data, f, ensure_ascii=False, indent=4) | |
``` |
#!/usr/bin/env python | |
""" | |
2020 update: | |
- More iterators, fewer lists | |
- Python 3 compatible | |
- Processes files in parallel | |
(one thread per CPU, but that's not really how it works) | |
""" |
sudo vmhgfs-fuse .host:/ /mnt/hgfs/ -o allow_other -o uid=1000
Source: https://askubuntu.com/questions/74825/why-dont-shared-files-show-up-in-hgfs
Max upload size is restricted in Kibana or a reverse proxy (if you have any). Head to Kibana's configuration and increase the 'maxPayloadSize' key to a larger value. Similarly, if you use Nginx, add the following line to your configuration file to increase the max body size:
Github Flavored Markdown (GFMD) is based on Markdown Syntax Guide with some overwriting as described at Github Flavored Markdown
It is easy to write in GFMD. Just write simply like text and use the below simple "tagging" to mark the text and you are good to go!
To specify a paragraph, leave 2 spaces at the end of the line
1. To increase inotify watches on Watchman, run: | |
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances && watchman shutdown-server | |
2. If a watchman crawl fails, run: | |
watchman shutdown-server; WATCHMAN_CONFIG_FILE=~/watchman watchman --foreground --logfile=/dev/stdout --no-save-state --statefile=/dev/null | |