This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
layout { | |
default_tab_template { | |
pane size=1 borderless=true { | |
plugin location="zellij:tab-bar" | |
} | |
children | |
pane size=2 borderless=true { | |
plugin location="zellij:status-bar" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# The name of the tmux session | |
SESSION_NAME="master" | |
# Check if the tmux session already exists | |
tmux has-session -t $SESSION_NAME 2>/dev/null | |
# $? is the exit status of the last command. | |
# If the session exists, `tmux has-session` will return 0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
class Model1: ObservableObject { | |
static let shared = Model1() | |
var value: Int = 0 | |
@Published | |
var date: Date = Date() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Homebrew generated unit for distcc | |
[Install] | |
WantedBy=default.target | |
[Service] | |
Type=simple | |
ExecStart=/opt/homebrew/opt/distcc/bin/distccd --allow 192.168.50.0/23 --daemon --no-detach | |
Restart=always |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
NAME="" | |
SCALE="" | |
PRESET="blog" | |
function parse_arg_input_file() { | |
NAME="$1" | |
return 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
./configure --with-openssl="/opt/homebrew/opt/[email protected]" | |
pushd ../ | |
mkdir cpython-compile-commands -p | |
popd | |
bear --output ../cpython-compile-commands/compile_commands.json -- make |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PARENT_DIR="$(dirname $(cd "$(dirname "$0")"; pwd)/$(basename "$0"))" | |
CONFIG=Debug; | |
ASSERT=on; | |
CONSECUTIVE_ARG_PARSE_KIND=None; | |
ARCH=$(uname -m) | |
PLATFORM="macosx" | |
LLVM_ENABLED_PROJECTS=() | |
LLVM_ENABLED_RUNTIMES=() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
# verify Emscripten version | |
emcc -v | |
# build ffmpeg.wasm | |
mkdir -p wasm/dist | |
ARGS=( | |
-I. -I./fftools | |
-Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# $FreeBSD: releng/12.2/libexec/rc/rc.d/sshd 363553 2020-07-26 10:01:27Z 0mp $ | |
# | |
# PROVIDE: sshd | |
# REQUIRE: LOGIN FILESYSTEMS | |
# KEYWORD: shutdown | |
. /etc/rc.subr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ZSH=$HOME/.oh-my-zsh | |
ZSH_THEME="avit" | |
CASE_SENSITIVE="true" | |
plugins=(git sudo) | |
source $ZSH/oh-my-zsh.sh |
NewerOlder