- https://medium.com/@maneesha.wijesinghe1/what-happens-when-you-type-an-url-in-the-browser-and-press-enter-bb0aa2449c1a
- https://webhostinggeeks.com/guides/dns/
- https://github.com/alex/what-happens-when
- https://dev.to/antonfrattaroli/what-happens-when-you-type-googlecom-into-a-browser-and-press-enter-39g8
To observer any notification
center.addObserver(forName: nil, object: nil, queue: nil) { (note) in
print("note: \(note)")
}
Execute an interactive bash shell on the container
docker exec -it app-accounting bash
Remove unused volumes
$ docker volume rm (docker volume ls -q -f dangling=true)
Remove all images
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
| source 'https://rubygems.org' | |
| gem 'rpi_gpio', '~> 0.3.3' | |
| gem 'slack-ruby-client', '~> 0.10.0' |
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
| FROM ubuntu:16.04 | |
| MAINTAINER [email protected] | |
| ENV REFRESHED_AT 2016-07-27 | |
| # Choose your ruby version | |
| ENV RUBY_VERSION 'ruby 2.2' | |
| # Install packages | |
| RUN apt-get update && apt-get -y install wget \ | |
| build-essential \ |
I hereby claim:
- I am whomwah on github.
- I am whomwah (https://keybase.io/whomwah) on keybase.
- I have a public key whose fingerprint is B08A 48C6 5AAB 9463 8B53 11D0 A216 9097 FE9D 4B5B
To claim this, I am signing this object:
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
| # Run this command | |
| lsof -i :3000 | |
| ~/_dev/kyan/project(kyan_rails_3_2_13_upgrade) $ lsof -i :3000 | |
| COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME | |
| ruby 8511 duncan 15u IPv4 0xf8ff7ea926138439 0t0 TCP *:hbci (LISTEN) | |
| # kill the rogue PID | |
| kill 8511 |
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
| cd /etc/ssl | |
| openssl req -nodes -newkey rsa:2048 -keyout domain.key -out domain.csr | |
| Generating a 2048 bit RSA private key | |
| .................................................................................+++ | |
| ........................+++ | |
| writing new private key to 'domain.key' | |
| ----- | |
| You are about to be asked to enter information that will be incorporated | |
| into your certificate request. |
Must include one number, one upper and lower case letter and be between 8 and 40 characters
/^(?=.*\d)(?=.*?[a-z])(?=.*?[A-Z]).{8,40}$/
Use the xattr command. You can inspect the extended attributes:
$ xattr s.7z
com.apple.metadata:kMDItemWhereFroms
com.apple.quarantine
and use the -d option to delete one extended attribute:
$ xattr -d com.apple.quarantine s.7z
$ xattr s.7z