Advanced Search
Search Results
497 total results found
dotNet
Tutorials [GitHub] AMQP.Net Lite RedHat AMQ .Net Client C# 連線至 RabbitMQ Cluster - 使用 RabbitMQ .Net Client 及 EasyNetQ [GitHub] EasyNetQ Case: Console RabbitMQ Client ConsoleRabbitMQ.zip Package Required: RabbitMQ.Client Target Framework: net...
FAQ
Q: 無法啟動 node 服務 Application rabbit exited with reason: {{could_not_write_file,"/var/lib/rabbitmq/mnesia/rabbit@tpeeaprmq982/cluster_nodes.config",enospc},{rabbit,start,[normal,[]]}} Solution: 可能是磁碟空間使用爆了,移除目錄 /var/lib/rabbitmq/mnesia 底下 node 資料子目錄。 [r...
Git Tips
Tutorials 50+ Useful Git Commands for Everyone 全域設定檔 # Using git to edit the configuration git config global --edit # List the global configurations git config --global --list # Using vi/cat to edit the configuration vi ~/.gitconfig # Set th...
Soft Phone
Open Source/Freeware Zoiper - Branding for your business, Freeware, Support mobile and desktop (Linux/Windows/macOS) Linphone - Open Source, Support mobile and desktop (Linux/Windows/macOS) MicroSIP - Open Source, based on PJSIP for Windows OS PhonerLite...
Tips
編碼 UTF-8 宣告 #!/usr/bin/python # -*- coding: utf-8 -*- Find all installed modules help("modules"); 目前環境的模組安裝路徑 import powerline powerline.__path__ # Return ['/home/alang/.local/lib/python3.10/site-packages/powerline'] Virtual Environment How to ...
Online Tools
Password Password Generator: https://passwrd.in Modemly : Find the default password of the routers Linux VPS Benchmark https://bench.monster/ curl -LsO bench.monster/speedtest.sh; bash speedtest.shcurl -LsO bench.monster/speedtest.sh; bash speedtest...
Build deb package
Tutorials Create a deb package How to create a .deb file (tutorial) 如何製作「deb檔(Debian Package)」 How to Create DEB Packages for Debian/Ubuntu How to Create a Simple Debian Package How to Create a Simple (.deb) Debian Package On Building a Debian Package...
FAQ
[GitHub] 無法 git push 錯誤訊息 remote: Support for password authentication was removed on August 13, 2021.remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on cur...
Ubuntu Pro
Ubuntu Pro is a set of features that you can enable for your Ubuntu system. Here is a list of what Ubuntu Pro includes: Security patches for common vulnerabilities and exposures (CVEs) Security guarantee for 23,000 packages in Ubuntu’s repos 10 years of e...
FAQ
如何確認 /dev/sda 是 Local Disk 還是 SAN DIsk Solution: #> lsscsi [2:0:0:0] cd/dvd hp DVD-ROM DTA0N WBD0 /dev/sr0 state=running queue_depth=1 scsi_level=6 type=5 device_blocked=0 timeout=0 [3:0:0:0] tape IBM ULT3580-HH5 D2AD /dev...
進階應用
存取 Container 網路 有個 Container 服務只需要與同個 Docker Network 的其他 Container 做通訊,平常不需要對外開放通訊埠,只有在開發或 Debug 時才需要從外部存取這個 Container 的網路,但又不想每次都要重啟 container 來開啟關閉需要的 port。 使用一個 socat 的 forwarder container,將外部 port 導入內部目的 container 的 port。 # 以 Nginx Web 為例 $ docker ru...
Linux 上的開發
Create new project dotnet new console --output my-app dotnet run --project my-app Add Package from NuGet # The internet is required cd /path/to/your/project dotnet add package MySql.Data # Without the internet # Download the package from https://www....
NuGet
裝載您自己的 NuGet 摘要概觀 | Microsoft Learn NuGet Server NuGet Server Running a NuGet Server on Docker | dotnetthoughts Porting NuGet Package .NET Core NuGet Package Offline Restore(離線還原) .NET Core NuGet Package Offline Restore(離線還原) - 續 NuGet Expor...
Functions
參數類型定義範例 def _gpt_parse_images( image_infos: List[Tuple[str, List[str]]], prompt_dict: Optional[Dict] = None, output_dir: str = './', api_key: Optional[str] = None, base_url: Optional[str] = None, model: s...
Sample Codes
MySQL Test using System; using System.Data; using MySql.Data.MySqlClient; namespace MySQL_test { class Program { static void Main(string[] args) { string connstring = @"server=example.com;userid=example_user;pass...
Linux Distros for Running Container
5 Best Lightweight Linux Distros for Running Containers (tecmint.com) Photon OS https://vmware.github.io/photon/docs/ Downloading Photon OS · vmware/photon Wiki · GitHub Default account credentials: username: root password: changeme Run Dock...
進階應用
VG Import/Export 用途:將 VG 的磁碟遷移至不同的主機上。 大致方法是在遷移磁碟前,先將 VG 做 Exort;遷移後做 VG Import。 How To Move LVM Volume Group To Another Machine In Linux 移除 PV Disk 從一個現有 LV 中移除正在使用的一個 PV Disk (/dev/sdb1) NOTE: 這個 LV 的所屬 VG 必須要有足夠的可用空間 https://access.redhat.com/sit...
OpenSIPS
Installation on Debian 10 OpenSIPS v3 with GUI on Debian v10 MariaDB Apache install guide Quick Start to OpenSIPS Training 3.2 OpenSIPS 3.3 apt install gnupg2 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 049AD65B # For Debian 10 echo "...
Proxmox
Proxmox VE(英語:Proxmox Virtual Environment,通常簡稱為PVE、Proxmox),是一個開源的伺服器虛擬化環境Linux發行版。 Tutorials Getting Started With Proxmox Backup Server - OSTechNix Proxmox Docker Containers Monster - 13000 containers on a single host - Virtualization Howto Getting Star...
XCP-ng
Based on XenServer, XCP-ng is the result of massive cooperation between individuals and companies, to deliver a product without limits. No restrictions on features and every bit available on GitHub! Tutorials How To Install Xen Orchestra Appliance (XOA) In...