Skip to content

Instantly share code, notes, and snippets.

View julianxhokaxhiu's full-sized avatar
🚀
Impossible Is Nothing.

Julian Xhokaxhiu julianxhokaxhiu

🚀
Impossible Is Nothing.
View GitHub Profile
@julianxhokaxhiu
julianxhokaxhiu / .zshrc
Created August 30, 2024 10:28 — forked from bmhatfield/.zshrc
OSX Keychain Environment Variables
# If you use bash, this technique isn't really zsh specific. Adapt as needed.
source ~/keychain-environment-variables.sh
# AWS configuration example, after doing:
# $ set-keychain-environment-variable AWS_ACCESS_KEY_ID
# provide: "AKIAYOURACCESSKEY"
# $ set-keychain-environment-variable AWS_SECRET_ACCESS_KEY
# provide: "j1/yoursupersecret/password"
export AWS_ACCESS_KEY_ID=$(keychain-environment-variable AWS_ACCESS_KEY_ID);
export AWS_SECRET_ACCESS_KEY=$(keychain-environment-variable AWS_SECRET_ACCESS_KEY);
@julianxhokaxhiu
julianxhokaxhiu / Makefile
Last active May 13, 2023 22:39
Quickly publish online a localhost tunnel using tunnel.pyjam.as and a Makefile
###############################################################################
# ENVIRONMENT CONFIGURATION
###############################################################################
MAKEFLAGS += --no-print-directory
SHELL=/bin/bash
# Use default as default goal when running 'make'
.PHONY: default
.DEFAULT_GOAL := default
@julianxhokaxhiu
julianxhokaxhiu / DisableMicrosoftEdgeHubsSidebar.mobileconfig
Last active March 16, 2023 09:18
Hide the Edge 111 Bing toolbar icon on Windows and Mac
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>HubsSidebarEnabled</key>
<false/>
<key>PayloadDisplayName</key>
@julianxhokaxhiu
julianxhokaxhiu / create-iso.sh
Created October 31, 2022 12:31
Simple bash script to create a Bootable ISO from macOS Ventura Install Image from Mac App Store
#!/usr/bin/env bash
#===========================================================================
# Works only with the official image available in the Mac App Store.
# Make sure you download the official installer before running this script.
#===========================================================================
# Change this at your desire. Sometimes this works out of the box, sometimes not.
# Default size: ~16 GB
DISK_SIZE="15361m"
@julianxhokaxhiu
julianxhokaxhiu / jenkins-start-maintenance.groovy
Created July 27, 2022 10:08
Put Jenkins in maintenance mode ( prevent new jobs to be run, hold them in queue )
import jenkins.model.Jenkins;
// Start Jenkins in maintenance mode
Jenkins.instance.doQuietDown();
@julianxhokaxhiu
julianxhokaxhiu / README.md
Last active October 5, 2024 01:46
Windows 11 22H2 - Create local account on first boot and other useful tricks

Create a local account on Windows 11 22H2 clean install ( and first boot ):

NEW METHOD

Feel free to try this method if it works, if not switch back to the old one below.

  1. Reach the account creation and choose Personal Account
  2. Use as email test@test.com
  3. Use as password test
  4. Let Windows 11 fail the login and click Next
@julianxhokaxhiu
julianxhokaxhiu / Dockerfile
Last active June 16, 2022 15:09
Docker compose example project with proxy support
FROM alpine:latest
@julianxhokaxhiu
julianxhokaxhiu / README.md
Created May 24, 2022 10:53
OnePlus 5 (cheesebuger) ih8sn.conf
@julianxhokaxhiu
julianxhokaxhiu / create-iso.sh
Last active June 18, 2023 08:11
Simple bash script to create a Bootable ISO from macOS Monterey Install Image from Mac App Store
#!/usr/bin/env bash
#===========================================================================
# Works only with the official image available in the Mac App Store.
# Make sure you download the official installer before running this script.
#===========================================================================
# Change this at your desire. Sometimes this works out of the box, sometimes not.
# Default size: ~16 GB
DISK_SIZE="15361m"
@julianxhokaxhiu
julianxhokaxhiu / create-iso.sh
Last active June 18, 2023 08:11
Simple bash script to create a Bootable ISO from macOS Big Sur Install Image from Mac App Store
#!/usr/bin/env bash
#===========================================================================
# Works only with the official image available in the Mac App Store.
# Make sure you download the official installer before running this script.
#===========================================================================
# Change this at your desire. Sometimes this works out of the box, sometimes not.
# Default size: ~13.5 GB
DISK_SIZE="13000m"