Skip to content

Instantly share code, notes, and snippets.

View thoth2357's full-sized avatar
πŸ§™β€β™‚οΈ
𓏏𓉔 π“ˆ–π“ƒ­π“‡Œ 𓏏𓂋𓅲 𓅃𓇋𓋴𓂧𓅓 𓇋𓋴 π“‡‹π“ˆ– π“ˆŽπ“ˆ–π“…ƒπ“‡‹π“ˆ–π“ŽΌ π“‡Œπ“…² π“ˆŽπ“ˆ–π“…ƒ π“ˆ–π“π“‰”π“‡‹π“ˆ–π“ŽΌ

Oluwaseyi (Ekpere) Oyewunmi thoth2357

πŸ§™β€β™‚οΈ
𓏏𓉔 π“ˆ–π“ƒ­π“‡Œ 𓏏𓂋𓅲 𓅃𓇋𓋴𓂧𓅓 𓇋𓋴 π“‡‹π“ˆ– π“ˆŽπ“ˆ–π“…ƒπ“‡‹π“ˆ–π“ŽΌ π“‡Œπ“…² π“ˆŽπ“ˆ–π“…ƒ π“ˆ–π“π“‰”π“‡‹π“ˆ–π“ŽΌ
View GitHub Profile
1>------ Build started: Project: PegasusHVNC, Configuration: Debug|AnyCPU ------
22:46:05:747 1>C:\Users\Oluwa\Desktop\Pegasus-HVNC-V2\Pegasus-HVNC-V2\obj\Debug\net6.0\PegasusHVNC.AssemblyInfo.cs(14,12,14,54): error CS0579: Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute
22:46:05:749 1>C:\Users\Oluwa\Desktop\Pegasus-HVNC-V2\Pegasus-HVNC-V2\obj\Debug\net6.0\PegasusHVNC.AssemblyInfo.cs(15,12,15,60): error CS0579: Duplicate 'System.Reflection.AssemblyConfigurationAttribute' attribute
22:46:05:750 1>C:\Users\Oluwa\Desktop\Pegasus-HVNC-V2\Pegasus-HVNC-V2\obj\Debug\net6.0\PegasusHVNC.AssemblyInfo.cs(16,12,16,58): error CS0579: Duplicate 'System.Reflection.AssemblyFileVersionAttribute' attribute
22:46:05:751 1>C:\Users\Oluwa\Desktop\Pegasus-HVNC-V2\Pegasus-HVNC-V2\obj\Debug\net6.0\PegasusHVNC.AssemblyInfo.cs(18,12,18,54): error CS0579: Duplicate 'System.Reflection.AssemblyProductAttribute' attribute
22:46:05:763 1>C:\Users\Oluwa\Desktop\Pegasus-HVNC-V2\Pegasus-HVNC-V2\obj\Debug\net6.0\PegasusHVNC.As
@thoth2357
thoth2357 / uv-export-requirments.md
Last active December 31, 2024 13:29
command to get requirements.txt from using uv

Run the below in the project folder containing the lock file (uv.lock)

uvx --from=yq tomlq -r '.package[]|.name+((.source|" @ "+(.url//"git+\(.git//empty)"))//"==\(.version)")' uv.lock >requirements.txt
@thoth2357
thoth2357 / branches_clean.py
Created October 11, 2024 00:56
automate removing all branches except one specified in excluded list from local repo
import subprocess
# Branches to exclude from deletion
excluded_branches = ["Staging", "clone_feature/check/service", "feature/check/plans"]
def get_local_branches():
"""Get a list of all local Git branches."""
result = subprocess.run(["git", "branch"], stdout=subprocess.PIPE, text=True)
branches = result.stdout.splitlines()
@thoth2357
thoth2357 / technical-content.md
Last active August 6, 2024 03:22
Gist containing all technical content that came in handy to me in this lifetime
@thoth2357
thoth2357 / ranger-cheatsheet.md
Created March 14, 2024 14:17 — forked from heroheman/ranger-cheatsheet.md
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
@thoth2357
thoth2357 / nodejs-cicd-github-actions.md
Created January 23, 2024 02:03 — forked from danielwetan/nodejs-cicd-github-actions.md
Deploy Node.js to VPS using Github Actions

Deploy Node.js to VPS using Github Actions

Steps to deploy Node.js to VPS using PM2 and Github Actions

1. Clone repo to VPS folder