Skip to content

Instantly share code, notes, and snippets.

View musichen's full-sized avatar

Alexander Musichen musichen

View GitHub Profile
@musichen
musichen / Apple_mobile_device_types.txt
Created February 6, 2026 02:19 — forked from adamawolf/Apple_mobile_device_types.txt
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
@musichen
musichen / script_open_warp
Created April 30, 2025 18:01
open warp terminal from other terminals from any place
#!/bin/bash
#
# Script to open Warp terminal at a specified directory
# Usage: warp [path]
# If no path is specified, opens Warp at the current directory
# Get the path argument or use current directory
path_arg="${1:-.}"
# Convert to absolute path if it's a relative path
@musichen
musichen / wbx-cloud-init.yml
Created April 30, 2025 10:46
wbx-cloud-init.yml
#cloud-config
# Updated configuration for Ubuntu 24.04
users:
- name: wbx
ssh_authorized_keys:
- "ssh-ed25577 <SSHKEYHASH_HERE> wbx@wbx"
sudo: ALL=(ALL:ALL) ALL
groups: sudo
@musichen
musichen / gitaccswitch
Created April 30, 2025 03:40
switch between git user Accounts
#!/bin/zsh
#
# Script to switch between different GitHub accounts
# Usage: gitaccswitch userX OR gitaccswitch userY
#
# Author: Alex Musichen
# Date: 2025-04-19
set -e # Exit immediately if a command fails
trap 'echo "Error: Script execution failed at line $LINENO"; exit 1' ERR

Next.js Starters

A list of CLI generators, starter kits / boilerplates and toolkits to kick start your Next.js apps.

  • What is included in this list:
    • Has ~1K+ Github stars
    • Actively maintained / up to date
    • Includes a style / css solution or UI Framework
    • Includes a database
  • Includes authentication / authorization
@musichen
musichen / .zshrc
Created April 30, 2025 03:25
.zshrc
################# LIST OF ALIASES ###################################
## GENERAL commands
alias c='clear'
alias ll='ls -l'
alias editpath='nano ~/.zshrc'
alias editbash='nano ~/.zshrc'
alias editbasht='open -t ~/.zshrc'
alias editbashz='zed ~/.zshrc'
alias srczshrc='source ~/.zshrc'
alias sourcebash='source ~/.zshrc'
@musichen
musichen / keybase.md
Last active February 3, 2021 17:33
keybase.md

Keybase proof

I hereby claim:

  • I am musichen on github.
  • I am musichen (https://keybase.io/musichen) on keybase.
  • I have a public key ASDC2prZUxkGFQ1ut8GBzKX2RhLwUFljWaTYI408kIL8vAo

To claim this, I am signing this object:

@musichen
musichen / setting-up-babel-nodemon.md
Created May 18, 2018 14:13 — forked from sam-artuso/setting-up-babel-nodemon.md
Setting up Babel and nodemon

Setting up Babel and nodemon

Inital set-up

Set up project:

mkdir project
cd project
npm init -y
@musichen
musichen / .bashrc
Created May 17, 2018 19:14
Default .bashrc from Raspian/Debian Linux on Raspberry Pi
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac