Skip to content

Instantly share code, notes, and snippets.

View starfreck's full-sized avatar
🕳️
Building Portal

Vasu starfreck

🕳️
Building Portal
View GitHub Profile
@starfreck
starfreck / citrix.md
Last active July 5, 2026 20:49
Citrix Workspace on Linux (Distrobox + Ubuntu 24.04 + DistroShelf)

This repository documents a working setup of Citrix Workspace (ICAClient) inside a Distrobox container using Ubuntu 24.04, managed with a GUI launcher like DistroShelf.

It solves common issues around missing dependencies, Linux secret storage, and Citrix authentication loops.


🚀 Stack Overview

  • Distrobox for containerized Linux environments
  • Ubuntu 24.04 container
@starfreck
starfreck / podman_macos.md
Created June 17, 2025 01:08 — forked from kaaquist/podman_macos.md
Podman with docker-compose on MacOS.

Podman with docker-compose on MacOS.

Podman an alternative to Docker Desktop on MacOS

Getting podman installed and started is super easy.
Just use brew to install it.

> brew install podman

Now since podman uses a VM just like the Docker Client on MacOS we need to initialize that and start it.

@starfreck
starfreck / 1-setup.md
Created June 11, 2025 05:03 — forked from troyfontaine/1-setup.md
Signing your Git Commits on MacOS

Methods of Signing Git Commits on MacOS

Last updated March 13, 2024

This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.

Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.

@starfreck
starfreck / instagram-api_direct_messages_backup.js
Created August 2, 2024 06:04 — forked from baptx/instagram-api_direct_messages_backup.js
Instagram API: view and backup direct messages from a web browser
/*
Instagram API: view and backup direct messages from a web browser
Since April 2020, Instagram has a web version to send and read direct messages so my Instagram scripts are not longer needed and I would not recommend using them unless you really need it, to avoid being banned
(never happened to me with Instagram but WhatsApp is owned by Facebook also and they did it to users registering from an unofficial app like yowsup: https://github.com/tgalal/yowsup/commit/88b8ad9581fa22dac330ee3a05fec4e485dfa634#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5)
1) Log in on Instagram web version and go to your profile page
(the home page will not work because it loads data when scrolling down and the direct messages will be displayed at the bottom of the page)
2) Modify HTTP headers with a browser addon like Header Editor (https://addons.mozilla.org/en-US/firefox/addon/header-editor/)
@starfreck
starfreck / instagram-api_send_message.js
Created August 2, 2024 06:04 — forked from baptx/instagram-api_send_message.js
Instagram API: send direct messages from a web browser
/*
Instagram API: send direct messages from a web browser
Since April 2020, Instagram has a web version to send and read direct messages so my Instagram scripts are not longer needed and I would not recommend using them unless you really need it, to avoid being banned
(never happened to me with Instagram but WhatsApp is owned by Facebook also and they did it to users registering from an unofficial app like yowsup: https://github.com/tgalal/yowsup/commit/88b8ad9581fa22dac330ee3a05fec4e485dfa634#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5)
For browser setup, see script instagram-api_direct_messages_backup.js
Instagram web version sessionid cookie does not allow sending messages so we need to log in manually
Signature should match signed_body data (using HMAC-SHA256 with private key) but wrong signature or key may work also.
@starfreck
starfreck / GitCommitEmoji.md
Created June 20, 2022 01:54 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@starfreck
starfreck / recursively-rename-extension.sh
Created December 12, 2021 18:41 — forked from bzerangue/recursively-rename-extension.sh
Terminal Script: Recursively rename or change file extensions (this example, changing extension from .html to .php)
find . -name "*.html" | while read i; do mv "$i" "${i%.html}.php"; done
@starfreck
starfreck / WiFi_Patch.bat
Last active March 11, 2023 05:39
This is a small "bat" file which can Enable and Disable Wi-Fi Adaptor on Win 10 (Run it as Admin)
@Echo off
set interface="Wi-FI"
netsh interface set interface "Wi-Fi" disable
netsh interface set interface "Wi-Fi" enable
:end