Skip to content

Instantly share code, notes, and snippets.

View nuc's full-sized avatar
🍱
Always Hungry

Georgios Giannoutsos Barkas nuc

🍱
Always Hungry
View GitHub Profile
#
# Sets Prezto options.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
#
# General
#
@nuc
nuc / .gvimrc
Last active October 17, 2019 10:27
vimrc & gvimrc
set macmeta
" MacVim GUI mode
if has("gui_macvim")
" Dark
" set macligatures
set guifont=Operator\ Mono\ Light:h14
" set guifont=Droid\ Sans\ Mono:h12
" Light
@nuc
nuc / attach-cube.sh
Created March 8, 2023 14:04
Attach .cube to movie file, using YouTube's hdr_metadata tool
#!/bin/bash
# Check if both parameters have been provided
if [ $# -ne 2 ]; then
echo "Usage: $0 <video_file> <cube_file>"
exit 1
fi
# Check if mkvmerge is available in PATH
if ! command -v mkvmerge &> /dev/null; then
@nuc
nuc / lg.txt
Last active January 17, 2024 20:51
0.0.0.0. de.ad.lgsmartad.com
0.0.0.0. de.info.lgsmartad.com
0.0.0.0. de.lgrecommends.lgappstv.com
0.0.0.0. de.lgtvsdp.com
0.0.0.0. de.rdx2.lgtvsdp.com
0.0.0.0. de.tvsdp.lgeapi.com
0.0.0.0. eic-gfts.lge.com
0.0.0.0. eic-ngfts.lge.com
0.0.0.0. eic-ocp.lgtviot.com
0.0.0.0. eic.lgtviot.com
#!/bin/bash
# Path definitions
CURSOR_USER_DIR="$HOME/Library/Application Support/Cursor/User"
ICLOUD_DIR="$HOME/Library/Mobile Documents/com~apple~CloudDocs/cursor-sync"
SETTINGS="settings.json"
VSCDB="globalStorage/state.vscdb"
# Ensure iCloud dir exists
mkdir -p "$ICLOUD_DIR/globalStorage"