System Application Development (.NET)
Syllabus and Course Manual for Class Lectures
PART I (.NET Programming Using C#)
Total Lecture Count: 10 Total Duration: 15:00 Hours (approx.)
- Introduction
- What is System Development
#!/bin/bash | |
# Path to the SSH config file | |
config_file="$HOME/.ssh/config" | |
# Check if the SSH config file exists | |
if [[ ! -f "$config_file" ]]; then | |
echo "SSH config file not found at $config_file" | |
exit 1 | |
fi |
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using System.Runtime.InteropServices; | |
using System.Text; |
#!/usr/bin/env bash | |
# Abort sign off on any error | |
set -e | |
# Start the benchmark timer | |
SECONDS=0 | |
# Repository introspection | |
OWNER=$(gh repo view --json owner --jq .owner.login) |
from typing import Any, ClassVar | |
from typing import overload | |
import collections | |
import enum | |
import importlib._bootstrap | |
class APIInspector(SwigPyObject): | |
this: Any | |
thisown: Any |
// **************************************************************************************************************************** | |
// Abstract: | |
// This script is just a quick hack to export the owners and members of a team as a CSV file without administrator permissions. | |
// | |
// Usage: | |
// 1. Open your team | |
// 2. Select "Manage team" from its menu | |
// 3. Select the "Members" tab | |
// 4. Expand the "Owners" and "Members and guests" sections | |
// 5. Make sure to scroll down to the end of the owners and members lists to include all of them in your export (As the members are loaded on demand) |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
This gist contains various scripts for scraping metrics. Mostly useful for processing the contents of Puppet Enterprise support bundles:
sar2influx.rb
: A Ruby script that uses sadf
to turn SAR archives into InfluxDB line format. For best results, run from a Linux VM using a recent operating system. Such as Ubuntu 22.04.pdb2influx.sh
: A bash script that uses awk
and mlr
to extract command processing times from puppetdb.log
files.top-api-calls.sh
: Extracts the 10 most popular API calls from *-access.log
along with their median and max duration grouped into 30 minute periods (Puppet $runinterval
). Uses awk
and mlr
.# based on the following: | |
# http://saintgimp.org/2013/01/22/merging-two-git-repositories-into-one-repository-without-losing-file-history/ | |
# http://blog.caplin.com/2013/09/18/merging-two-git-repositories/ | |
git clone repo_main | |
git clone repo_sub | |
cd repo_main | |
git remote add repo_sub ../repo_sub | |
git fetch repo_sub |