Skip to content

Instantly share code, notes, and snippets.


Masatake YAMATO masatake

View GitHub Profile
HeLiBloks / nagios.ctags
Created December 26, 2020 21:56
nagios definitions for the ctags command line application
View nagios.ctags
# nagios definitions for the universal ctags command line application
# Copyright © 2018 Henrik Lindgren
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
romainl / ctagsd
Last active March 30, 2020 17:28
Run ctags upon file change/addition/deletion in a Git repository
View ctagsd
#!/usr/bin/env sh
# Requirements:
# git:
# entr:
# ctags: (Exuberant Ctags) or (Universal Ctags)
# Usage:
# $ cd my_project
# $ ctagsd
mcastelino /
Last active February 16, 2023 23:30

How to use VFIO to assign a device to nested VM

  • Here the vfio-pci device is passed in into the L1 VM
  • The L1 VM is setup with kernel_irqchip=split
  • The L0 exposes a virtual IOMMU to the L1 VM
qemu-system-x86_64 \
    -machine q35,accel=kvm,kernel_irqchip=split \
    -enable-kvm \
bureado /
Created June 21, 2018 00:04
Post-modern Linux packaging: additional reading

Post-modern Linux packaging: additional reading


This document compiles 2018 coverage around post-modern packaging technologies for Linux, including packaging formats like Snaps and Flatpaks, systems like Nix and Guix and full distros such as Atomic or Clear Linux.

This curation and commentary are current as of 18 June 2018. The curation was prepared by José Miguel Parrella (@bureado) as part of his session at Open Source Summit Japan: Package Management and Distribution in a Cloud World.

We compile these resources in an effort to provide individual developers and organizations with current coverage on the state-of-the-art and motivations of the current post-modern packaging landscape with the intention to increase readiness in experimenting with, evaluating and potentially adopting said technologies.

View gist:024709a7f0f40819d7a9d674d3f3c013
I am a developer of @universal-ctags.
I would like to incorporate your <LANG> parser to universal-ctags.
universal-ctag is distributed under term of
GNU General Public License version 2 or (at your option) any later version.
If you allow me to incorporate your parser into universal-ctags, could you add
I would like you to add following copyright notice at the head of your .ctags:
DArcMattr / .ctags
Last active September 14, 2019 18:24
Universal Ctags configuration for WordPress action & filter hooks. Adapted from work done by @dsawardekar
View .ctags
libinvarghese / .gitconfig
Last active November 2, 2021 13:14
Search in all Stash for a pattern
View .gitconfig
# Search in all Stash for a pattern
# Install: Copy the below into the .gitconfig file
# simple call
# git stash-search pattern_to_search
stash-search = "!f() { git show $(git stash list | cut -d\":\" -f 1) | grep \"$@\" ; }; f"
# MIT License
mono0926 /
Last active March 19, 2023 14:42
[転載] gitにおけるコミットログ/メッセージ例文集100

Huge Page まとめ

この文書では、Linux カーネルの機能を中心に、 huge page に関連するメモ リ管理の機能についてまとめる。概観とキーワードの把握、およびリファレン スの提供を目的である。特に non-trasparent な huge page と transparent huge page の違いとそれらの境界を把握することをひとつの主眼としている。 そのため、詳細さと網羅性はスコープ外である。


h14i / dscanner
Last active December 16, 2015 01:45
Dscanner driver for universal-ctags
View dscanner
# ~/.ctags.d/drivers
() {
if ! type dscanner; then
} > /dev/null 2>&1