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
| #!/usr/bin/env bash | |
| # A script to generate a Git hosting URL (GitHub/GitLab) pointing to a specific file location in the repository with optional line numbers. | |
| # Usage: git-url.sh <file_path> [line_start[-line_end]] [--copy] | |
| # | |
| # Examples: | |
| # $ git-url.sh file.txt | |
| # https://github.com/user/repo/blob/main/file.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
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "io" | |
| "log" | |
| "net" | |
| "net/netip" | |
| "regexp" |
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
| // | |
| // main.go | |
| // Copyright (C) 2023 pavlos <[email protected]> | |
| // | |
| // Distributed under terms of the MIT license. | |
| // | |
| package main | |
| import ( |
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
| i-05bd5bb90f67d12a9 | |
| i-05786896bc6eb7314 | |
| i-061e8ab8468392e71 | |
| i-0497cd946a4f0b2f4 | |
| i-0fb7985985aa26b27 | |
| i-0e3edbf875b3167e1 | |
| i-0ec4a578e4a5d74ce | |
| i-013ab1e2d07427741 | |
| i-017df534ca2d8a557 | |
| i-0aeecb7b92fc115f6 |
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
| 2020/01/13 14:45:03 [INFO] Terraform version: 0.12.16 | |
| 2020/01/13 14:45:03 [INFO] Go runtime version: go1.12.13 | |
| 2020/01/13 14:45:03 [INFO] CLI args: []string{"/home/foouser/.tfenv/versions/0.12.16/terraform", "plan"} | |
| 2020/01/13 14:45:03 [DEBUG] Attempting to open CLI config file: /home/foouser/.terraformrc | |
| 2020/01/13 14:45:03 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2020/01/13 14:45:03 [INFO] CLI command args: []string{"plan"} | |
| 2020/01/13 14:45:03 [INFO] Setting AWS metadata API timeout to 100ms | |
| 2020/01/13 14:45:04 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id | |
| 2020/01/13 14:45:04 [INFO] AWS Auth provider used: "SharedCredentialsProvider" |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am unixsurfer on github. | |
| * I am unixsurfer (https://keybase.io/unixsurfer) on keybase. | |
| * I have a public key ASB1xMVqXvIudQ3W8fzhe35HpMfV7ZV9zNV99LVf-MigQAo | |
| 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
| sar -f sa14 -s 08:12:00 -P 41 <← this the CPU mentioned in the crash | |
| Linux 4.14.32–1.el7.x86_64 04/14/2018 _x86_64_ (56 CPU) | |
| 08:12:00 AM CPU %user %nice %system %iowait %steal %idle | |
| 08:12:01 AM 41 0.00 0.00 0.00 0.00 0.00 100.00 | |
| 08:12:02 AM 41 0.99 0.00 0.99 0.00 0.00 98.02 | |
| 08:12:03 AM 41 1.00 0.00 0.00 0.00 0.00 99.00 | |
| 08:12:04 AM 41 0.00 0.00 0.00 0.00 0.00 100.00 | |
| 08:12:05 AM 41 0.00 0.00 0.00 0.00 0.00 100.00 | |
| 08:12:06 AM 41 0.00 0.00 0.00 0.00 0.00 100.00 | |
| 08:12:07 AM 41 0.99 0.00 0.99 0.00 0.00 98.02 |
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
| bnx2x: [bnx2x_clean_tx_queue:1205(eth0)]timeout waiting for queue[0]: txdata->tx_pkt_prod(19537) != txdata->tx_pkt_cons(19447)bnx2x: [bnx2x_state_wait:310(eth0)]timeout waiting for state 9watchdog: BUG: soft lockup — CPU#7 stuck for 22s! [kube-apiserver:63429] |
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
| [339246.701549] watchdog: BUG: soft lockup - CPU#41 stuck for 23s! [kube-apiserver:61895] | |
| [339246.759793] Modules linked in: binfmt_misc netconsole sctp_diag sctp dccp_diag dccp tcp_diag udp_diag raw_diag inet_diag unix_diag cfg80211 rfkill 8021q garp mrp xfs loop vfat fat x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel crypto_simd sg iTCO_wdt glue_helper hpwdt iTCO_vendor_support hpilo cryptd intel_cstate ioatdma lpc_ich intel_rapl_perf pcspkr dca shpchp i2c_i801 mfd_core wmi ipmi_si ipmi_devintf ipmi_msghandler nfsd auth_rpcgss nfs_acl lockd grace sunrpc ip_tables ext4 mbcache jbd2 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod bnx2x mdio libcrc32c crc32c_intel hpsa ptp drm scsi_transport_sas pps_core dm_mirror dm_region_hash dm_log dm_mod dax [last unloaded: acpi_power_meter] | |
| [339247.249411] CPU: 41 PID: 61895 Comm: kube-apiserver Not tainted 4.14.32–1.el7.x86_64 #1 | |
| [339247.308344 |
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
| sar -f sa14 -s 08:12:00 -P 41 | |
| Linux 4.14.32-1.el7.x86_64 04/14/2018 _x86_64_ (56 CPU) | |
| 08:12:00 AM CPU %user %nice %system %iowait %steal %idle | |
| 08:12:01 AM 41 0.00 0.00 0.00 0.00 0.00 100.00 | |
| 08:12:02 AM 41 0.99 0.00 0.99 0.00 0.00 98.02 | |
| 08:12:03 AM 41 1.00 0.00 0.00 0.00 0.00 99.00 | |
| 08:12:04 AM 41 0.00 0.00 0.00 0.00 0.00 100.00 |
NewerOlder