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
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) | |
``` |
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
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> |
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
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 | |
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
// 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" |
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
<style> | |
body { | |
margin: 0; | |
width: 100%; | |
height: 100% | |
} | |
body, | |
td, | |
input, |
NewerOlder