Utility for converting IP Fabric webhooks into a Teams format

Setup IP Fabric Setup Go to Settings > Webhooks > Add webhook Provide a name URL will be: http(s)://:8000/ipfabric Copy secret Select if you want both Snapshot and Intent Events Recommended for only Snapshot events. Environment Setup Rename sample.env to .env Edit .env with your IPF and Teams variables Default IP Fabric alerts can be found in ipf_alerts.json and then minified into IPF_ALERTS Edit ipf_alerts.json to your desired settings python -c “import json, sys;json.dump(json.load(sys.stdin), sys.stdout)” < ipf_alerts.json Copy/paste output in [...]

Read more

Runtime fault injection platform by Daniele Rizzieri

Runtime fault injection platform by Daniele Rizzieri (2021)This platform executes N times a binary and during each execution it injects a bitflip in a random register, at a random time, then let the execution finish and observes/reports the outcomes. Requirements Required Linux packages: python3 procps gdb (configured with –with-python option, usually by default) Test Binary File Guidelines In order to be properly testable, the program under test must be compliant with the following guidelines: Application’s output must be redirected to […]

Read more

ALIbaba’s Collection of Encoder-decoders from MinD (Machine IntelligeNce of Damo) Lab

AliceMind: ALIbaba’s Collection of Encoder-decoders from MinD (Machine IntelligeNce of Damo) Lab This repository provides pre-trained encoder-decoder models and its related optimization techniques developed by Alibaba’s MinD (Machine IntelligeNce of Damo) Lab. The family of AliceMind: Language understanding model: StructBERT (ICLR 2020) Generative language model: PALM (EMNLP 2020) Cross-lingual language model: VECO (ACL 2021) Cross-modal language model: StructVBERT (CVPR 2020 VQA Challenge Runner-up) Structural language model: StructuralLM (ACL 2021) Chinese language understanding model with multi-granularity inputs: LatticeBERT (NAACL 2021) Pre-training […]

Read more

A GUI program that will generate a word search puzzle image

Word Search Puzzle Generator Table of Contents About The Project Getting Started Usage Roadmap Contributing Contact About The Project About WSPG I started this project because belive it or not in school we had an assignment to do a search word puzzle butI didn’t know if theres diagnoals in the puzzle so i was a bit frustrated, So I asked myself: “Can I maybe make something like this? maybe better?”Well first of all I hope i was right and it’s […]

Read more

Creating a better flamegraph visualization

How do you visualize performance data so you can easily spot bottlenecks? Brendan Gregg’s flamegraphs are a great solution, adopted by a large number of profilers and performance tools. However, even great solutions can be improved. With a few small tweaks, you can make flamegraphs much easier to read. To see what I mean, I’ll start with a default flamegraph, and then make it better step by step. Most of the improvements can be achieved by using the right tool […]

Read more

Hopefully the the next-generation backend server of bgm.tv

基于 python 的新 api server 开发环境 python 版本: 3.8 依赖管理: poetry web 框架: fastapi quick start: git clone https://github.com/bangumi/server bangumi-server cd bangumi-server python -m venv .venv # MUST use python 3.8 source .venv/bin/activate poetry install –remove-untracked pre-commit install 设置 可设置的环境变量 MYSQL_HOST 默认 127.0.0.1 MYSQL_PORT 默认 3306 MYSQL_DB 默认 bangumi MYSQL_USER 无默认值 MYSQL_PASS 无默认值 启动服务器 uvicorn pol.server:app –reload –port 3000 后端环境

Read more
1 344 345 346 347 348 943