Skip to content

Sam's lab

Homelab

  • Home
  • Networking
  • System
  • Python
  • Homelab
  • Articles
  • Hang out
  • Uncategorized
  • About
    • Sample Page
    • Testing page

Category: Python

Hi
  • Home
  • Python
Networking Python

python 100 lines of code, bulk config of network devices (II)

2023-01-262024-01-13 sam

Previously wrote a, introduce how to use python to realize the network device configuration batch backup, in a small-scale environment, it can really run, but

Read More
Python

Python | Monitoring, Alarms

2022-08-072024-01-13 sam

之前项目上,写过一个小功能: 周期性监测设备连通性 如果down,发送告警邮件(一次) 24小时后一直没恢复,再发一次 凡是有up-down状态切换,都发 发告警的同时,自动干点其它操作,例如重启该设备

Read More
Python System

PVE | Managing Virtual Machines via rest api

2022-08-072024-01-13 sam

结合python 和 pve 的api,方便的管理虚拟机,可以单独的开发个小脚本,也可以嵌入到任何其他系统内,作为一个小功能。

Read More
Python

Python ORM | peewee

2022-08-062022-08-06 sam

python使用过程中,难免要用到一些关系型数据库,例如sqlite, mysql, postgresql,而增删查改过程中,字符串的拼接着实让人头大

Read More
Python System

All in Web | Web Backend Framework – FastAPI

2021-11-202024-01-13 sam

有一个家用需求: 以rest api的形式发布一个服务(函数) 访问这个服务需要验证,确切说是token(JWT)认证 访问这个服务的request/response数据需要被校验 自带如何使用这个api的文档 简单点 官方文档详细丰富 性能最不重要 python实现的

Read More
Python

All in Web | Remote Desktop Gateway – Apache Guacamole

2021-11-172024-01-13 sam

前言 前面分享了无客户端的VNC,SSH开源解决方案,按照这个节奏,接下来要介绍无客户端的RDP解决方案,无奈没找到单独的针对RDP的web方案,不过意外的发现一个更给力的,多合一的远程桌面网关,针对多种主流远程管理协议,一网打尽。

Read More
Python

All in Web | web-based ssh client – webssh

2021-11-172024-01-13 sam

基于web的ssh客户端很多,但是基于python开发的貌似就一款:webssh,当然,我说的是开源的。 还是先看看效果:

Read More
Python

All in Web | web-based remote desktop – noVNC

2021-10-302024-01-13 sam

在日常工作中,对于需要远程连接到主机的需求,无论是Windows ,Mac,Linux平台,还是移动端等平台,都有相应的整套解决方案,其中基于标准的协议实现的,有大名鼎鼎的VNC,使用的RFB协议,和Windows远程服务客户端(mstsc),使用的RDP协议 。

Read More
Python

Python 100 lines of code, bulk backup of network device configurations

2020-11-162024-01-13 sam

网络设备的批量,自动备份算是一个刚需,很多运维系统都有集成,功能全面而强大,依赖于备份的配置文件信息,扩展出许多的其他功能:分析文件,巡检设备异常信息;分析文件,统计并可视化展示;分析文件,自动生成配置文件等等。

Read More

Most Viewed Posts

  • All in Web | Remote Desktop Gateway – Apache Guacamole
  • OpenWrt | Pure Edition Installation for PVE Environments
  • Testing page
  • OpenWrt | FRP Plugin Installation
  • HomeLab | Hardware Selection

Archives

  • 2023 (5)
  • 2022 (14)
  • 2021 (6)
  • 2020 (2)
  • 1993 (1)

Tags

anime ARM cloud docker frp Handsome hardware homelab Let's Encrypt linux networking Next Terminal openwrt ORM peewee PVE python raspberry pi rspi 3B+ sd-wan single board computer SQL ssl traveling Typecho Ubuntu UptimeRobot vnc web webssh zmail

Recent Comments

  1. Python | 监控,告警 – Sam's Wood House on PVE | Managing Virtual Machines via rest api2022-08-07

    […] PVE | 通过rest api管理虚拟机 […]

  2. OpenWrt | FRP插件安装 – Sam's Wood House on OpenWrt | Pure Edition Installation for PVE Environments2022-07-31

    […] Homelab System […]

  3. Next Terminal | 开源 轻量 简单的堡垒机 – Sam's Wood House on All in Web | Remote Desktop Gateway – Apache Guacamole2022-07-22

    […] All in Web | 远程桌面网关-Apache Guacamole […]

  4. sam on UptimeRobot | Online Website Monitoring2022-07-21

    WP-UserAgent

  5. Tom on HomeLab | Hardware Selection2022-07-11

    risc-v 最近听出圈了,有啥risc-v架构的硬件推荐?

Statistics

  • 47
  • 59,605

About Me

Hi Nice to meet you

  • linkedin
  • BiBli
  • Zhihu
  • Huya
  • youtu
All Rights Reserved 2022.
Proudly powered by WordPress | Theme: Fairy Dark by Candid Themes.