Skip to content

Instantly share code, notes, and snippets.

View tot0rokr's full-sized avatar
🐳
On Happy!

TOT0Ro tot0rokr

🐳
On Happy!
View GitHub Profile
@tot0rokr
tot0rokr / cdb-example-sig.json
Last active March 8, 2024 07:10
SIG CDB example
{
"$schema":"http://json-schema.org/draft-04/schema#",
"id":"http://www.bluetooth.com/specifications/assigned-numbers/mesh-profile/cdb-schema.json#",
"version":"1.0.0",
"meshUUID":"72C6BE40-444D-2081-BEAA-DDAD4E3CC21C",
"meshName":"Brian and Mary's House",
"timestamp":"2018-12-23T11:45:22-08:00",
"netKeys":[
{
"name":"Home Network",
@tot0rokr
tot0rokr / repo-apply.sh
Last active April 4, 2023 05:10 — forked from gipi/repo-apply.sh
Split a patch created with repo diff in a set of usable patches
#!/bin/sh
## Script to patch up diff reated by `repo diff`
# from https://groups.google.com/d/msg/repo-discuss/43juvD1qGIQ/7maptZVcEjsJ
if [ -z "$1" ] || [ ! -e "$1" ]; then
echo "Usages: $0 <repo_diff_file>";
exit 0;
fi
rm -fr _tmp_splits*
# bash/zsh completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]>
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
# Distributed under the GNU General Public License, version 2.0.
#
# The contained completion routines provide support for completing:
#
# *) local and remote branch names
# *) local and remote tag names
[credential]
helper = store
[core]
editor = vim
[color]
ui = auto
[alias]
st = status
co = checkout
br = branch
# bash/zsh git prompt support
#
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]>
# Distributed under the GNU General Public License, version 2.0.
#
# This script allows you to see repository status in your prompt.
#
# To enable:
#
# 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh).
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
umask 0022
#!/bin/bash
# apt update
apt-get update
# basic files
apt-get install -y openssh-server vim python python3 tmux
# fzf
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
@tot0rokr
tot0rokr / xterm-color256.md
Created April 20, 2019 14:10
xterm-color256

U5AJI

#!/bin/bash
# Tmux 설정
if ! [ -e "~/.tmux.conf" ]; then
curl "https://gist.githubusercontent.com/TOT0RoKR/f1bfaaaa88716fd5e491f17f3038998f/raw/78b00228e0df94bb8ff02c17325d46b62883b94a/.tmux.conf" > ~/.tmux.conf
fi
# fzf 설치
if ! [ -e "~/.fzf/" ]; then
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',