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
| ESTABLISHED | |
| The socket has an established connection. | |
| SYN_SENT | |
| The socket is actively attempting to establish a connection. | |
| SYN_RECV | |
| A connection request has been received from the network. | |
| FIN_WAIT1 |
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
| proxy_redirect default; | |
| proxy_http_version 1.1; | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_set_header X-Forwarded-Proto $scheme; | |
| proxy_max_temp_file_size 0; | |
| #this is the maximum upload size |
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
| server { | |
| listen 80 default_server; | |
| listen [::]:80 default_server; | |
| server_name _; | |
| root /usr/share/nginx/html; | |
| # Load configuration files for the default server block. | |
| include /etc/nginx/default.d/*.conf; |
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
| $ rpmbuild -ba SPECS/myhomepage-1.spec | |
| Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7WVlY1 | |
| + umask 022 | |
| + cd /home/centos/rpmbuild/BUILD | |
| + cd /home/centos/rpmbuild/BUILD | |
| + rm -rf myhomepage-1 | |
| + /usr/bin/tar -xf /home/centos/rpmbuild/SOURCES/myhomepage-1.tar | |
| + cd myhomepage-1 | |
| + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . | |
| + exit 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
| Name: myhomepage | |
| Version: 1 | |
| Release: 0 | |
| Summary: This is myhomepage rpm | |
| Group: mygroup | |
| License: GPL | |
| URL: http://www.example.com | |
| Source0: myhomepage-1.tar |
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
| #!/bin/bash | |
| FILE="$1" | |
| if [ -f $FILE ]; then | |
| echo "The file '$FILE' exists." | |
| else | |
| echo "The file '$FILE' in not found." | |
| fi |
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
| #!/bin/bash | |
| FILE="/etc/passwd" | |
| if [ -f $FILE ]; then | |
| echo "The file '$FILE' exists." | |
| else | |
| echo "The file '$FILE' in not found." | |
| fi |
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
| <html> | |
| <header><title>This is title</title></header> | |
| <body> | |
| Hello world | |
| </body> | |
| </html> |
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
| resource "aws_route53_zone" "primary" { | |
| name = "example.com" | |
| } | |
| resource "aws_route53_record" "www" { | |
| zone_id = "${aws_route53_zone.primary.zone_id}" | |
| name = "www.example.com" | |
| type = "A" | |
| ttl = "300" |
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
| $TTL 86400 | |
| @ IN SOA example root.example.com ( | |
| 2018110201 ;Serial | |
| 3600 ;Refresh | |
| 1800 ;Retry | |
| 604800 ;Expire | |
| 86400 ;Minimum TTL | |
| ) | |
| IN NS example | |
| IN A 192.168.1.3 |