Bash script to:
- Iterate all commits made within a Git repository.
- List every object at each commit.
<?php | |
namespace PHPSTORM_META { | |
/** | |
* PhpStorm Meta file, to provide autocomplete information for PhpStorm | |
* Generated on 2017-09-28. | |
* | |
* @author Barry vd. Heuvel <barryvdh@gmail.com> | |
* @see https://github.com/barryvdh/laravel-ide-helper | |
*/ |
export EDITOR=vim | |
export VISUAL=vim | |
#setup XIM environment, needn't if use SCIM as gtk-immodules | |
export XIM=ibus | |
export XMODIFIERS=@im=ibus | |
export GTK_IM_MODULE=ibus | |
export QT_IM_MODULE=ibus | |
#export GTK_IM_MODULE_FILE=/usr/lib/gtk-3.0/3.0.0/immodules.cache |
# see https://github.com/getantibody/antibody/issues/218 | |
robbyrussell/oh-my-zsh path:oh-my-zsh.sh | |
robbyrussell/oh-my-zsh path:lib/history.zsh | |
robbyrussell/oh-my-zsh path:lib/git.zsh | |
robbyrussell/oh-my-zsh path:lib/grep.zsh | |
zsh-users/zsh-syntax-highlighting | |
zsh-users/zsh-completions |
#fixup zsh Home and End keys not working problem | |
bindkey "${terminfo[khome]}" beginning-of-line | |
bindkey "${terminfo[kend]}" end-of-line |
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# Created by newuser for 5.7.1 | |
#typeset -U path |
#!/bin/bash | |
fdisk -lu | |
pvscan | |
vgscan | |
vgchange -a y | |
lvscan | |
mount /dev/ubuntu-vg/root /mnt | |
mount --bind /dev /mnt/dev | |
mount --bind /proc /mnt/proc |
#!/bin/bash | |
shopt -s extglob | |
# generated from util-linux source: libmount/src/utils.c | |
declare -A pseudofs_types=([anon_inodefs]=1 | |
[autofs]=1 | |
[bdev]=1 | |
[binfmt_misc]=1 | |
[cgroup]=1 |
# ./.git-hooks/pre_commit/line_length.rb | |
# | |
# E.g.: | |
# Precommit: | |
# LineLength: | |
# enabled: true | |
# description: Verify source line lengths do not exceed 72 columns | |
# max: 72 | |
# include: ["src/**/*.*"] | |
# |