Skip to content

Instantly share code, notes, and snippets.

View loudpumpkins's full-sized avatar

Alex Panov loudpumpkins

View GitHub Profile
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "cyan",
"style": "powerline",
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}}",
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#FEF5ED",
"foreground": "#011627",
"leading_diamond": "\ue0b2",
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"newline": true,
"segments": [
{
"background": "#FEF5ED",
"foreground": "#011627",
@loudpumpkins
loudpumpkins / github-sync-branches.ps1
Last active June 1, 2025 01:10
script-github-sync-branches
#########################
# Sync a specific branch
# checkout the branch to reset/sync to origin repo
$branchName = "alex/branch"
git checkout $branchName
# discard uncommitted changes
git reset --hard
export ORIGINAL_URL=$(git remote get-url origin)
git remote set-url origin https://[email protected]/arimadata/llm_experiment.git
git push
git remote set-url origin $ORIGINAL_URL
git remote -v