Set up project:
mkdir project
cd project
npm init -y
#!/usr/bin/env sh | |
# checks to see if running | |
launchctl list | grep elasticsearch | |
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist | |
launchctl remove homebrew.mxcl.elasticsearch | |
pkill -f elasticsearch |
#add 'node_modules' to .gitignore file | |
git rm -r --cached node_modules | |
git commit -m 'Remove the now ignored directory node_modules' | |
git push origin master |
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
1. What is information security and how is it achieved? | |
2. What are the core principles of information security? | |
3. What is non-repudiation (as it applies to IT security)? | |
4. What is the relationship between information security and data availability? | |
5. What is a security policy and why do we need one? | |
6. What is the difference between logical and physical security? Can you give an example of both? | |
7. What’s an acceptable level of risk? | |
8. What are the most common types of attacks that threaten enterprise data security? | |
9. What is the difference between a threat and a vulnerability? | |
10. Can you give me an example of common security vulnerabilities? |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
Installation: 1- Explain how Go path works? 2- What are the benefits of Go Module (reference its commands)?
Concurrency: 1- Explain Concurrency & when to use it? 2- How would you allow communication between goroutines in Go? 3- How would you manage their access to resources?