Skip to content

Instantly share code, notes, and snippets.

View Jamlee's full-sized avatar
🎯
Focusing

JamLee Jamlee

🎯
Focusing
View GitHub Profile
@Jamlee
Jamlee / cscope_maps.vim
Created April 2, 2024 03:09 — forked from cyeong/cscope_maps.vim
enable cscope shortcuts and functions in vim
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" CSCOPE settings for vim
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"
" This file contains some boilerplate settings for vim's cscope interface,
" plus some keyboard mappings that I've found useful.
"
" USAGE:
" -- vim 6: Stick this file in your ~/.vim/plugin directory (or in a
" 'plugin' directory in some other directory that is in your
@Jamlee
Jamlee / README.md
Created April 23, 2023 11:33 — forked from oznu/README.md
QEMU + Ubuntu ARM aarch64

QEMU + Ubuntu ARM aarch64

These are the steps I used to get Ubuntu ARM aarch64 running with QEMU on OSX.

Get Ubuntu Image and QEMU EFI:

wget https://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-arm64-uefi1.img
wget https://releases.linaro.org/components/kernel/uefi-linaro/latest/release/qemu64/QEMU_EFI.fd
@Jamlee
Jamlee / php-cs-fixer-pre-commit.php
Last active November 3, 2020 12:20 — forked from mardix/php-cs-fixer-pre-commit.php
Git: A pre-commit hook to make PHP code PSR-2 compliant, check for syntax error
#!/usr/bin/php
<?php
/**
* .git/hooks/pre-commit
*
* This pre-commit hooks will check for PHP error (lint), and make sure the code
* is PSR compliant.
*
* Dependecy: PHP-CS-Fixer (https://github.com/fabpot/PHP-CS-Fixer)
*