Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

437 total results found

XCP-ng

Virtualization

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...

Git 進階使用

Git

使用 rev-parse # Getting the top-level directory git rev-parse --show-toplevel # Find your way home git rev-parse --show-cdup ## Current location # 判斷是否在專案目錄 <git-repo>/.git 底下 git rev-parse --is-inside-git-dir # 判斷是否在專案目錄 <git-repo> 底下 (不包含 .git 目錄...

FreeSwitch Tips

FreeSwitch

Links FreeSwitch Documentation: https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/   Github: https://github.com/signalwire/freeswitch  Forum: https://forum.signalwire.community/  FreeSwitch GUI FusionPBX - FusionPBX can be used as a ...

外部轉信主機設定

Exim

Tutorials Exim4 Setup Exim to Send Email Using Gmail in Debian Sendinblue Home: https://www.sendinblue.com/  SMTP Server Info smtp_server: smtp-relay.sendinblue.com  smtp_port: 587 smtp_user: <user-name> smtp_pass: <password> update-exim4.con...

FusionPBX

FreeSwitch

A full-featured domain based multi-tenant PBX and voice switch for FreeSwitch. Links Website: https://www.fusionpbx.com/  Forum: https://www.pbxforums.com/ Documentation: https://docs.fusionpbx.com/en/latest/index.html  Github: https://github.com/fusion...

Contribute to Github

Git

Steps to contribute your changes / patches in open source repository. Preparing your Fork 1. Hit 'fork' on Github, creating e.g. yourname/theproject 2. Clone your project: git clone git@github.com:yourname/theproject 3. Create a branch: cd theproject gi...

Dockerize Custom Application

Docker

Tutorials Dockerize a Python application - DEV Community DEV Community

OSS Endpoint Manager

Asterisk FreePBX

Links Github: https://github.com/billsimon/endpointman  Doc: https://wiki.freepbx.org/display/FPG/OSS+End+Point+Manager  EPM-Supported Devices Introducing OSS Endpoint Manager for FreePBX 16 & Incredible PBX 2027 – Nerd Vittles Installation Incredibl...

Cloudflare Tunnel

VPN

Cloudflare Tunnel 是一款內網穿透的隧道軟體,也是 Argo Tunnel 前身分出來做為免費版使用,它可以快速建立安全地加密到任何服務的流量,可以保護您的伺務器免受直接攻擊,就像本身伺服器跟 Cloudflare 最近的資料中心之間,建立一條 Tunnel 私有通道,所以在 Router 防火牆不需開任何對外 Port 埠,避免資訊洩露。 不需要在 Firewall 上的外部網路開啟任何 port,外部電腦也能直接存取 NAT 內部伺服器。 Cloudflare Tunnel Cloud...

Ansible GUI

Ansible

簡介 Ansible是一套軟體工具,其可實現基礎架構即程式碼。它是開源的,並且該套件包括軟體供應、組態管理和應用程式部署等功能。 Ansible 最初由 Michael DeHaan 編寫,並於 2015 年被Red Hat收購,其旨在自動化設定類 Unix系統和Microsoft Windows 的環境。 Links Ansible Community AWX for Docker Documentation How to Test Ansible Roles with Molecul...

THSRC API

Python

Links TDX 運輸資料通服務 TDX 會員註冊 TDX運輸資料流通服務API介接範例程式碼說明 TDX - 高鐵 API 說明 雙鐵API資料使用注意事項 API 虛擬點數機制 MOTC Transport API V2 (臺鐵、高鐵、捷運) API 連線認證 Client Id: 透過官網取得 Client Secret: 透過官網取得 Access Token: 使用 HTTP POST 帶入Client Id 和 Client Secret 進行驗證以取得 Access...

Command Line

VirtualBox

Tutorials Controlling VirtualBox from the Command Line Basic Commands vboxmanage list vms vboxmanage list -l vms Create VM VBoxManage list ostypes VBoxManage createvm --name OracleLinux6Test --ostype Oracle_64 --register Setting UP a VM's Propertie...

JSON

Python

JSON to dict json.loads 用來轉換資料; json.load 用來讀檔。 import json person = '{"name": "Bob", "languages": ["English", "French"]}' person_dict = json.loads(person) # Output: {'name': 'Bob', 'languages': ['English', 'French']} print( person_dict) # Output:...

Datetime

Python

String to Datetime from datetime import datetime date_str = '09-19-2022' date_object = datetime.strptime(date_str, '%m-%d-%Y').date() print(type(date_object)) print(date_object) # printed in default format # Output: # <class 'datetime.date'> # 2...

Makefile

Linux Administration

何謂 Makefile make 命令雖有很多內建的功能,但它也無法知道如何建立應用程式。故必須提供一個檔案,即 Makefile,告訴 make 如何建立應用程式。 Makefile 與專案的原始碼檔案,通常放在同一個目錄中。 可以同時有很多不同的 makefile 管理專案的不同部分。 make 命令和 Makefile 的結合,不僅控制原始碼的編譯,也可以用來準備使用手冊文件、安裝應用程式到目的目錄中。 使用 Makefile 的好處 如果這個專案沒有編譯過,那麼我們的所有程式碼都要編...

make

One-Liners

Python

1) Multiple Variable Assignment # Traditional way a = 1 b = "ok" c = False # Pythonic way a, b, c = 1, "ok", False # Result print(a, b, c) # Show: 1 ok False 2) Variable Swap # Traditional way a = 1 b = "ok" c = a a = b b = c # Pyt...

List

Python

list.append() numbers = [1, 2, 3, 4] numbers.append(5) print(numbers) # output: [1, 2, 3, 4, 5] list.insert() animals = ["cat", "dog", "fish"] animals.insert(1, "monkey") print(animals) # output: ["cat", "monkey", "dog", "fish"] animals = ["c...

tcpdump

Wireshark

List the interfaces sudo tcpdump -D Capture All traffic tcpdump -i eth0 tcpdump -i wlan0 To a File tcpdump -i eth0 -w capture.pcap tcpdump -i any -w capture.pcap -nn 'ip and port 80' # Set Timeout timeout 6m tcpdump -i eth0 -w capture.pcap Read a f...

Playbooks

Ansible

[Github] Ansible for DevOps Examples [AI] Welcome to the Ansible Lightspeed with IBM Watson Code Assistant Technical Preview | Ansible Collaborative [AI] Red Hat Ansible Lightspeed | Red Hat Developer Include a variables file --- - hosts: all becom...

Tips

FreeBSD

系統資訊 檢查系統是 32 或 64 bit uname -a getconf LONG_BIT 檢查 freebsd 版本 uname -mrs freebsd-version -k # 主版本 freebsd-version -u      # 更新版本 freebsd-version 指令只在 freebsd 10.0 以後才有。 網路管理 找出應用服務開啟的通訊埠 sockstat -l sockstat -4 -l # 僅顯示 ipv4 ...