Skip to content

Instantly share code, notes, and snippets.

View level120's full-sized avatar

Gusam Park level120

  • Republic of Korea
  • 17:32 (UTC +09:00)
View GitHub Profile
@level120
level120 / teamcity-docker-compose.yml
Created May 2, 2021 14:13
TeamCity docker-compose for Windows Docker
# https://github.com/JetBrains/teamcity-docker-samples/blob/master/compose-windows/docker-compose.yml
# 사전작업
# Host PC에서 아래 위치에 폴더 생성
# * C:/teamcity-server/data
# * C:/teamcity-server/logs
# * C:/teamcity-agent/agent1_conf
# * C:/teamcity-agent/agent2_conf
# * C:/teamcity-agent/agent3_conf
version: "3.9"
services:
@level120
level120 / app_notarizer.sh
Last active June 13, 2022 02:34 — forked from rdelrosario/app_notarizer.sh
macOS Application Notarization Script
#!/bin/bash
usage()
{
# Display Help
echo "*********************************************************************************************************************************************************"
echo " MacOS Application Notarization Script"
echo "*********************************************************************************************************************************************************"
echo
@level120
level120 / msbuild.ps1
Created September 6, 2022 01:52
MSBuild auto found and building script
<#
.SYNOPSIS
msbuild build script.
.PARAMETER path
Build target path.
#>
param(
[Parameter(mandatory)]
[string] $path,
@level120
level120 / GetWindowsUserName.cs
Last active August 3, 2025 09:57
Get last logged username on windows
const string RegPath = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI";
const string DisplayNameKey = "LastLoggedOnDisplayName";
const string SamUserKey = "LastLoggedOnSAMUser";
Console.WriteLine($"Login User: {GetUserName()}");
public static string GetUserName()
{
var registryHive = RegistryHive.LocalMachine;
var registryView = Environment.Is64BitOperatingSystem ? RegistryView.Registry64 : RegistryView.Registry32;
@level120
level120 / Microsoft.PowerShell_profile.ps1
Last active March 15, 2026 04:09
PowerShell Personal Profile
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
# Set global format culture
if ($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadLine
}
@level120
level120 / mcp-config.json
Last active April 18, 2026 15:15
Copilot CLI MCP Config
{
"mcpServers": {
"io.github.github/github-mcp-server": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/",
"gallery": "https://api.mcp.github.com",
"version": "1.0.0"
},
"microsoft/markitdown": {
"type": "stdio",