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
| python sublist3r.py -n -d domain.com | tee domain.com \ | |
| && awk '{print "<li><a href=\"https://"$1"\">"$1"</a></li>" }' domain.com > links.html | |
| # gitleaks | |
| curl https://api.github.com/orgs/line/repos?per_page=100 | jq ".[].html_url" | tr -d \" > repos.txt |
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
| # OPS | |
| ## Networking troubleshooting | |
| https://www.redhat.com/sysadmin/beginners-guide-network-troubleshooting-linux | |
| ## Slow server | |
| https://www.redhat.com/sysadmin/troubleshooting-slow-servers | |
| ## Load | |
| http://www.brendangregg.com/blog/2017-08-08/linux-load-averages.html | |
| https://www.tldp.org/LDP/intro-linux/html/sect_04_03.html#sect_04_03_04 |
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
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| func bubbleSort(s[]int) []int { | |
| A := make([]int, len(s)) | |
| copy(A, s) |
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:bionic | |
| RUN apt-get update \ | |
| && apt-get install -y \ | |
| bind9 \ | |
| bind9utils \ | |
| bind9-doc | |
| # Enable IPv4 | |
| RUN sed -i 's/OPTIONS=.*/OPTIONS="-4 -u bind"/' /etc/default/bind9 |
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 604800 | |
| @ IN SOA ns1.nagoya-foundation.com. root.nagoya-foundation.com. ( | |
| 3 ; Serial | |
| 604800 ; Refresh | |
| 86400 ; Retry | |
| 2419200 ; Expire | |
| 604800 ) ; Negative Cache TTL | |
| ; | |
| ; name servers - NS records | |
| IN NS ns1.nagoya-foundation.com. |
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
| zone "nagoya-foundation.com" { | |
| type master; | |
| file "/etc/bind/zones/db.nagoya-foundation.com"; | |
| }; |
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
| options { | |
| directory "/var/cache/bind"; | |
| recursion yes; | |
| listen-on { any; }; | |
| forwarders { | |
| 8.8.8.8; | |
| 8.8.4.4; | |
| }; |
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
| predicted: [1 1 0 0 1] | |
| true: [1 0 0 1 1] | |
| confusion matrix: | |
| [[1 1] | |
| [1 2]] |
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
| digraph Tree { | |
| node [shape=box] ; | |
| 0 [label="H <= 0.5\nentropy = 0.996\nsamples = 13\nvalue = [6, 7]\nclass = 1"] ; | |
| 1 [label="Idade <= 28.5\nentropy = 0.971\nsamples = 10\nvalue = [6, 4]\nclass = 0"] ; | |
| 0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ; | |
| 2 [label="B <= 0.5\nentropy = 0.918\nsamples = 6\nvalue = [2, 4]\nclass = 1"] ; | |
| 1 -> 2 ; | |
| 3 [label="Idade <= 26.0\nentropy = 0.918\nsamples = 3\nvalue = [2, 1]\nclass = 0"] ; | |
| 2 -> 3 ; | |
| 4 [label="entropy = 0.0\nsamples = 2\nvalue = [2, 0]\nclass = 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
| k = 1 | |
| predicted: [1 1 0 0 0] | |
| true: [1 0 0 1 1] | |
| confusion matrix: | |
| [[1 1] | |
| [2 1]] | |
| k = 2 | |
| predicted: [1 1 0 0 0] | |
| true: [1 0 0 1 1] |
NewerOlder