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 <[email protected]> | |
* @see https://github.com/barryvdh/laravel-ide-helper | |
*/ |
#!/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/**/*.*"] | |
# |
package main | |
import ( | |
"bytes" | |
"crypto/aes" | |
"crypto/cipher" | |
b64 "encoding/base64" | |
"errors" | |
"fmt" | |
"log" |
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
mysqlFmt := "2006-01-02 15:04:05" | |
ambiguous, err := time.Parse(mysqlFmt, "2021-01-01 13:01:02") |
# The definition of color schemes. | |
schemes: | |
gruvbox_material_hard_dark: &gruvbox_material_hard_dark | |
primary: | |
background: '0x1d2021' | |
foreground: '0xd4be98' | |
normal: | |
black: '0x32302f' | |
red: '0xea6962' | |
green: '0xa9b665' |
Don't do the crime, if you can't do the time.
-- Anthony Vincenzo "Tony" Baretta
Vim is an amazing text editor. I love it. Really, I wouldn't [organize][organize] a Vim advent calendar if I didn't. But, as amazing as it is, Vim is not for everyone. It can't solve all your problems, or be a TUI version of your favorite IDE, or make you a better programmer, or land you that dream job in the Bay Area. But Vim can help you be more mindful, focused, and efficient, as long as you approach it with the right mindset.
Don't get me wrong, I certainly welcome you to try Vim, but I'm not a proselyte. I don't thrive on newbies. I just want you to use the right tool for the job and not waste your—and anyone's—time on a fruitless quest.