Skip to content

Instantly share code, notes, and snippets.

View sideseal's full-sized avatar
👋
Hello!

sideseal sideseal

👋
Hello!
View GitHub Profile
@sideseal
sideseal / make_tags.sh
Created April 14, 2025 00:12
generate cscope & ctags
#!/bin/bash
CTAGS_FILE="tags"
CSCOPE_OUT="cscope.out"
VIMRC_FILE="$HOME/.vimrc"
CURRENT_DIR=$(pwd)
echo "Creating ctags file ..."
ctags -R .
@sideseal
sideseal / vimrc
Created April 14, 2025 00:10
my odroid vimrc
set nocompatible
set diffopt+=iwhite
set nobackup
set noswapfile
set fileencodings=utf-8,euc-kr
set history=1000
set mouse+=a
set nu
set ai
set si
# Colors!
set -g default-terminal "tmux-256color"
# Scrollback buffer size increase
set -g history-limit 100000
# Faster command sequences
set -s escape-time 10
# Increase repeat timeout
set nocompatible
set diffopt+=iwhite
set nobackup
set noswapfile
set fileencodings=utf-8,euc-kr
set history=1000
set mouse+=a
set nu
set ai
set si
@sideseal
sideseal / sources.list
Created November 5, 2024 05:04 — forked from MayankFawkes/sources.list
Ubuntu 20.04 LTS (ARM64) (Focal Fossa) -- Full sources.list
deb http://ports.ubuntu.com/ubuntu-ports focal main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports focal main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports focal-security main restricted universe multiverse
@sideseal
sideseal / wmv.zsh
Created July 19, 2022 09:13
window movement for 42
#!/usr/bin/env zsh
function wmv {
UP='\[A'
DOWN='\[B'
RIGHT='\[C'
LEFT='\[D'
echo "프로그램을 종료하시려면 ESC를 세 번 눌러주세요."
@sideseal
sideseal / LoginScripts.plist
Last active December 21, 2022 06:40
MacOS System Preferences settings for 42
<!-- If you create 'settings.sh' file, You should make plist file in '~/Library/LaunchAgents' folder.
try 'touch' command:
> `touch ~/Library/LaunchAgents/LoginScripts.plist`
and write the code below in '~/Library/LaunchAgents/LoginScripts.plist' -->
<?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>Label</key>