Skip to content

Instantly share code, notes, and snippets.

@hanepjiv
hanepjiv / rungibo.sh
Created October 11, 2023 16:02
rungibo.sh
#! /bin/env sh
GIBO=gibo
${GIBO} update || exit ${?}
${GIBO} dump \
Archives \
Emacs \
Linux \
@hanepjiv
hanepjiv / .hgignore
Last active October 6, 2023 17:45
.hgignore
syntax: regexp
# =============================================================================
# SCM
# -----------------------------------------------------------------------------
^(.*/)?\.svn/.*$
^(.*/)?\.git/.*$
^(.*/)?\.bzr/.*$
# =============================================================================
# emacs
# -----------------------------------------------------------------------------
#!/bin/env python
# -*- mode:python; coding:utf-8-unix; -*-
'''
cargo-deny.py
@author hanepjiv <hanepjiv@gmail.com>
@since 2018/06/23
@date 2018/10/03
'''
// -*- mode:rust; coding:utf-8-unix; -*-
//! bincode.rs
// Copyright 2017 hanepjiv
// @author hanepjiv <hanepjiv@gmail.com>
// @copyright The MIT License (MIT) / Apache License Version 2.0
// @since 2018/01/09
// @date 2018/01/09
@hanepjiv
hanepjiv / checkuse.py
Last active December 24, 2017 06:13
Checks for Gentoo Linux USE flags.
#! /bin/env python3
# -*-mode:python;coding:utf-8;-*-
"""
checkuse.py
@author hanepjiv <hanepjiv@gmail.com>
@since 2015/04/06
@date 2017/12/07
"""
@hanepjiv
hanepjiv / make10.py
Last active February 25, 2017 02:30
#!/bin/env python3.4
# -*- mode:python; coding:utf-8; -*-
"""
make10.py
@author hanepjiv <hanepjiv@gmail.com>
@since 2015/06/28
@date 2015/06/28
"""
# coding: utf-8
# http://hanepjiv.blogspot.jp/2014/11/python-indentchoice.html
from functools import wraps
# ================================================
def choice(a_Func):
# --------------------------------------------------------------------------
def loop(*args):
if len(args) is 0: