Skip to content

Instantly share code, notes, and snippets.

@mike0
mike0 / memtool.c
Created June 11, 2012 13:48
memtool
/*
* Copyright 2006 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-license.html
@mike0
mike0 / configure
Created May 12, 2012 12:07
dhcp-3.1.3-configure patch
For build dhcp-3.1.3 on Linux 3.x
--- configure.orig 2012-05-12 20:05:17.008373915 +0800
+++ configure 2012-05-12 20:05:20.784373668 +0800
@@ -104,6 +104,7 @@
2) sysname=linux-2.2 ;;
*) sysname=linux-2.2 ;;
esac;;
+ 3) sysname=linux-2.2 ;;
esac;;
@mike0
mike0 / smb.conf
Last active July 16, 2016 03:13
smb.conf patch
For Ubuntu 14.04.4
--- smb.conf.orig 2016-07-16 11:07:04.778336770 +0800
+++ smb.conf 2016-07-16 11:11:15.886335314 +0800
@@ -190,28 +190,28 @@
# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home directory as \\server\username
-;[homes]
-; comment = Home Directories