Bài viết này tập trung giải quyết vấn đề khởi động máy tính tự động khi có điện dành cho bo mạch chủ không có cổng nhận
jack 24-pin cấp điện từ nguồn (PSU), điện được lấy từ các jack 6 pin. Những bo mạch chủ này không hiếm gặp trên các dàn
đào tiền mã hóa. Trên những bo mạch chủ này, không thể cài đặt chế độ tự khởi động trên BIOS được mà bạn sẽ
cần chơi chiêu trên jack 24-pin.
Không dài dòng nữa, tất cả những gì bạn cần làm là chú ý đến dây 24-pin xuất ra từ bộ nguồn máy tính (PSU).
[1] Sơ đồ jack 24-pin từ PSU.
Hai cổng duy nhất cần chú ý đó là cổng số 16 và 17, bạn sẽ cần phải làm chúng nối tiếp nhau. Lưu ý nhìn cái ngàm ngang nó
nắm ở đâu nhé, cắm nhầm là căng thẳng đó. Trên hình bạn sẽ thấy cái ngàm ngang nằm ở vị trí cổng số 18 và 19. Một lần nữa,
chú ý đừng có nhầm, bạn mà cắn nhầm sang cổng số 4 và 5 là toang đó nhé, 5 volt chạy thẳng vào ground. Cực mạnh.
Anh em thầy thợ có rất nhiều cách thú vị. Đôi khi là đấu dây trực tiếp 2 cổng này, hoặc xịn xò hơn thì sẽ dùng một cái chấu
chữ U để kết nối.
Gradle is a build automation tool for multi-language software development. It controls the development process in the tasks of compilation
and packaging to testing, deployment, and publishing. Supported languages include Java (as well as Kotlin, Groovy, Scala), C/C++, and
JavaScript. The other, if not the major function of Gradle is to collect statistical data about the usage of software libraries around
the globe.
In this post, I would like to introduce a solution to create an executable jar with Gradle. All modification related to a file named
build.gradle. This file located at /project-root/app/build.gradle. By default, this file will be generated with Gradle init task.
There are three part concerned:
Add a plugin named application to plugins block.
plugins{// Apply the application plugin to add support for building a CLI application in Java.id'application'}
Define mainClass in application block.
application{// Define the main class for the application.mainClass='JekyllPostGenerator.App'#MODIFYIT}
Last but not least, you need to run gradle task named jar to created an executable jar file which would be created in /root-project/app/build/libs. Regarding above configuration,
my executable file will be jekyll-post-generator-2.0.0.jar. This file now can be executed with java -jar jekyll-post-generator-2.0.0.jar. And this is a command to create jar file.
In this post, I would like to pick the latest stable version 510.68.02 which was released on April 26, 2022. After your downloading finished, remember to make the file
executable with chmod +x NVIDIA-Linux-x86_64-510.68.02.run, and copy it to $HOME/Software/VGA-1060-key, you will need to execute this file each time your update your kernels.
You need to run this command to import your new public key with mokutil, this program will ask you a password for enrolling, which then be asked in the next reboot.
Next time, if you update your kernel, you can run this step (Step 8) again, it should be fine. In addition, you should encrypt your private-key with gpg,
it’s not a good practice leave it unencrypted. You can check this guide Mã hóa và giải mã file trên linux sử dụng GPG
# Data directory (blockchain db and indices)
data-dir=/mnt/disk_2/CryptoCurrency/Monero# Remember to create the monero user first
# Log file
log-file=/mnt/disk_2/CryptoCurrency/Monero/log/monerod.logmax-log-file-size=0# Prevent monerod from managing the log files; we want logrotate to take care of that
log-level=0# P2P full node
p2p-bind-ip=0.0.0.0# Bind to all interfaces (the default)
p2p-bind-port=18080# Bind to default port
add-peer=nodes.hashvault.pro:18080# RPC Restricted IP/PORT
rpc-restricted-bind-ip=0.0.0.0rpc-restricted-bind-port=18081# RPC Full Permission, local access only
rpc-bind-ip=127.0.0.1# Bind to all interfaces
rpc-bind-port=18084# Bind on default port
confirm-external-bind=1# Open node (confirm)
no-igd=1# Disable UPnP port mapping
zmq-pub=tcp://127.0.0.1:18083# Slow but reliable db writes
db-sync-mode=safe:syncblock-sync-size=10prep-blocks-threads=28# Emergency checkpoints set by MoneroPulse operators will be enforced to workaround potential consensus bugs
# Check https://monerodocs.org/infrastructure/monero-pulse/ for explanation and trade-offs
enforce-dns-checkpointing=1out-peers=128# This will enable much faster sync and tx awareness; the default 8 is suboptimal nowadays
in-peers=128# The default is unlimited; we prefer to put a cap on this
limit-rate-up=1048576# 1048576 kB/s == 1GB/s; a raise from default 2048 kB/s; contribute more to p2p network
limit-rate-down=1048576# 1048576 kB/s == 1GB/s; a raise from default 8192 kB/s; allow for faster initial sync
II. Systemctl service - /etc/systemd/system/monero.service
IV. Firewall-cmd service - /etc/firewalld/services/alephium.xml
Port List:
9973: p2p
10973: miner
12973: api (danger to expose to the internet.)
<?xml version="1.0" encoding="utf-8"?><service><short>Alephium node</short><description>
This option allows Alephium node to use tcp port 9973, 10973
</description><portprotocol="tcp"port="9973"/><portprotocol="tcp"port="10973"/></service>
II. Firewall-cmd service - /etc/firewalld/services/bitcoin.xml
<?xml version="1.0" encoding="utf-8"?><service><short>Bitcoin node</short><description>This option allows Bitcoin node to use tcp port 8333</description><portprotocol="tcp"port="8333"/></service>
In Redash, there is a big demand for dropdown with ALL value. However, it’s tricky to write where statement for ALL value. This post is all about work-around this issue.
Thank for my colleague - Trieu. All Credit to him.
[1] Dropdown Field
The dropdown configuration is in the following image.
[2] Dropdown Configuration
In the where section, condition statement should look like this one