Skip to content

Instantly share code, notes, and snippets.

Anto antosamalona

View GitHub Profile
View sata speed check connected
~  sudo dmesg |grep -i sata |grep up
[ 1.678531] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 1.678565] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
View sata speed check
~  sudo dmesg |grep -i sata
[ 1.360519] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 3 ports 6 Gbps 0x5 impl SATA mode
[ 1.361471] ata1: SATA max UDMA/133 abar m2048@0xa4235000 port 0xa4235100 irq 126
[ 1.361473] ata3: SATA max UDMA/133 abar m2048@0xa4235000 port 0xa4235200 irq 126
[ 1.678531] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 1.678565] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
View fix-wired
sudo lshw -c network -sanitize  ✔  2716  10:25:22
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 15
View lshw
sudo lshw -c network -sanitize  ✔  2712  10:02:37
*-network UNCLAIMED
description: Ethernet controller
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 15
width: 64 bits
clock: 33MHz
View ifconfig
sudo ifconfig -a  ✔  2700  09:57:28
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1000 (Local Loopback)
RX packets 5041 bytes 344833 (336.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5041 bytes 344833 (336.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
View dnscrypt-proxy_test
~$ dig debug.opendns.com txt
; <<>> DiG 9.10.3-P4-Debian <<>> debug.opendns.com txt
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34737
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
View test.java
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package id.ardev.resto.view;
import id.ardev.resto.controller.CategoryController;
import id.ardev.resto.controller.ProductController;
import id.ardev.resto.database.DatabaseMySQL;
You can’t perform that action at this time.