Skip to content

Instantly share code, notes, and snippets.

--- hello.c 2014-10-07 18:17:49.000000000 +0530
+++ hello_new.c 2014-10-07 18:17:54.000000000 +0530
@@ -1,5 +1,6 @@
#include <stdio.h>
-int main() {
+int main(int argc, char *argv[]) {
printf("Hello World\n");
+ return 0;
}
@strelok1
strelok1 / commands.md
Last active December 20, 2015 03:09 — forked from maddox/commands.md

Install Samba 3 on OS X 10.7 Lion

Run the two commands below one at a time to get Samba 3 installed and to have it run on boot.

Install Samba with Homebrew

sh < <(curl https://raw.github.com/gist/6061440/df254d9a2ac83dddb04fcc7f9b634b65708aa477/)

Set Samba up to launch on boot