Skip to content

Instantly share code, notes, and snippets.

View chusiang's full-sized avatar
🐧
Improving the world via Ansible and DevOps.

Chu-Siang Lai chusiang

🐧
Improving the world via Ansible and DevOps.
View GitHub Profile
@supersonictw
supersonictw / ollama-export.sh
Last active October 23, 2024 02:46
Ollama Model Export Script
#!/bin/bash
# Ollama Model Export Script
# Usage: bash ollama-export.sh vicuna:7b
# License: MIT (https://ncurl.xyz/s/o_o6DVqIR)
# https://gist.github.com/supersonictw/f6cf5e599377132fe5e180b3d495c553
# Interrupt if any error occurred
set -e
# Declare

「MEGAHOBBY EXPO 台灣 2022」 x 「閃電霹靂車 World Tour 台灣站」非官方筆記

寫在前頭,此筆記純資訊分享,透過網路下訂商品前,還請自行評估「資訊安全」,若有疑慮還請不要下單。

[TOC]

活動資訊

@mrcomoraes
mrcomoraes / clear_cache_MS_Teams.sh
Last active May 10, 2024 12:07
Clear cache Microsoft Teams on Linux
#!/bin/bash
# This script cleans all cache for Microsoft Teams on Linux
# Tested on Ubuntu-like, Debian by @necrifede, Arch Linux by @lucas-dclrcq and Manjaro with flatpak by @danie1k. Feel free to test/use in other distributions.
# Tested Teams via snap package.
# Tested Teams via flatpak package.
#
# How to use in terminal:
# ./clear_cache_MS_Teams.sh ( deb-stable | deb-insider | snap | flatpak )
# or
2019-08-17 00:00:28 COSCUP_bridge_bo <vincent_cantin>: Thx!
2019-08-17 00:04:44 --> ofy (~ofy@2001-b011-fc02-14ac-25d5-ff7a-f117-b828.dynamic-ip6.hinet.net) has joined #coscup
2019-08-17 00:33:42 <-- a0000778 ([email protected]) has quit (Ping timeout: 245 seconds)
2019-08-17 00:35:41 --> a0000778 ([email protected]) has joined #coscup
2019-08-17 00:40:20 <-- ofy (~ofy@2001-b011-fc02-14ac-25d5-ff7a-f117-b828.dynamic-ip6.hinet.net) has quit (Read error: Connection reset by peer)
2019-08-17 00:40:47 --> ofy (~ofy@2001-b011-fc02-14ac-25d5-ff7a-f117-b828.dynamic-ip6.hinet.net) has joined #coscup
2019-08-17 00:43:15 COSCUP_bridge_bo <chusiang>: @lantw44 今年的 IRC log 就交給您紀錄啦!(繼續潛水趕簡報 …)
2019-08-17 00:43:47 COSCUP_bridge_bo <licson>: IRC log 🤔
2019-08-17 00:45:25 COSCUP_bridge_bo <MGdesigner>: Hello 大家
2019-08-17 00:45:54 COSCUP_bridge_bo <chusiang>: (MGdesigner: Hello...) 我們衝堂了,沒法聽您的分享。(已哭)
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>3.2</version>
<date>2018-12-22T09:33:22Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
@Barneybook
Barneybook / Telegram_it_group_list.md
Last active May 15, 2024 12:02
Telegram 資訊相關 群組清單
@chusiang
chusiang / teams-chat-post-for-workflows.sh
Last active November 4, 2024 19:25
Post a message to Microsoft Teams with bash script.
#!/bin/bash
# =============================================================================
# Author: Chu-Siang Lai / chusiang (at) drx.tw
# Filename: teams-chat-post-for-workflows.sh
# Modified: 2024-07-22 11:44 (UTC+08:00)
# Description: Post a message to Microsoft Teams via "Post to a chat when a webhook request is received" workflows.
# Reference:
#
# - https://gist.github.com/chusiang/895f6406fbf9285c58ad0a3ace13d025
# - https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/
@Artistan
Artistan / A Link Javascript.md
Last active August 21, 2023 02:35
Add Dark Theme Bookmark
@halberom
halberom / htmlfile.html
Created December 6, 2017 11:16
ansible - example of parsing html table into dict
<html><title>Find Location of an IP</title>
<body><font face=\"Arial\">
<H1>Please provide an IP or a LOCATION :</H1>
<p>Search Location, DS site code, Country, Network types or Comments</p>
<form method=\"GET\" action=\"launch_search_IP.pl\">
<p> <input name=\"ip_to_search\" width=\"100%\" height=\"100%\" ></p>
<input type=\"submit\" value=\"Search\"></form>
<p> Here are results for your search of <b> 192.168.0.1 </b> :
<br>
<br>