Skip to content

Instantly share code, notes, and snippets.

@ychsiao168
ychsiao168 / git2svn.sh
Last active June 25, 2025 00:36
git2svn.sh
#!/bin/bash
# source: https://github.com/guilhermechapiewski/git2svn
BASE_DIR=`pwd`
GIT_DIR="/Users/gc/Temp/git_repo"
SVN_DIR="/Users/gc/Temp/svn_repo"
# The SVN_AUTH variable can be used in case you need credentials to commit
#SVN_AUTH="--username [email protected] --password XPTO"
SVN_AUTH=""
@ychsiao168
ychsiao168 / Makefile
Created April 18, 2023 01:47
kernel module Makefile Template
#===============================================================================
# Description: kernel module Makefile Template
#===============================================================================
#===============================================================================
# Project VARS
#===============================================================================
PWD := $(shell pwd)
KVERSION := $(shell uname -r)
KERNEL_DIR := /usr/src/linux-headers-$(KVERSION)/
@ychsiao168
ychsiao168 / foo.c
Created March 6, 2023 06:45
C file template
//==============================================================================
/*
File Name: xxx.c
Created: 202X//
Author:
Description:
@ychsiao168
ychsiao168 / Makefile
Created March 5, 2023 10:30
C Project Makefile Template
#===============================================================================
# Description: C Project Makefile Template
# Author:
#
#===============================================================================
#===============================================================================
# TOOL CHAIN and SHELL TOOL
#===============================================================================
CC = gcc
LD = $(CC)