Recent Notes

Displaying notes 1 - 10
Created by Dr. Xi on March 21, 2015 21:22:57    Last update: March 21, 2015 21:22:57
To show all files changed between two commits: " git diff --name-only <SHA1> <SHA2> ". Example: $ git diff --name-only ea2a66 299279c Alternatively: $ git show --name-only ea2a66 Omit --name-only to see the diff.
Created by Dr. Xi on March 21, 2015 21:05:49    Last update: March 21, 2015 21:05:49
Files are changed and committed on local master branch, but they have not been pushed to remote master. To display the list of changed files: $ git diff --name-only origin/master..master
Created by Dr. Xi on March 21, 2015 21:02:00    Last update: March 21, 2015 21:03:19
Changes are committed to local master branch but not pushed to remote repository. To show all commits that were not pushed: $ git log origin/master..master
Created by Dr. Xi on March 21, 2015 20:58:25    Last update: March 21, 2015 20:58:25
$ git show-branch -a . More info: http://git-scm.com/docs/git-show-branch
Created by Dr. Xi on January 03, 2015 17:15:47    Last update: January 03, 2015 17:15:47
Corrected.
Created by Dr. Xi on October 14, 2008 22:43:43    Last update: January 03, 2015 17:14:44
With StringCharacterIterator and StringBuilder : import java.text.CharacterIterator; import java...
Created by google.YN9MZ2BJ on December 30, 2014 02:27:40    Last update: December 30, 2014 02:27:40
you're missing some break statements
Created by bvdb on December 11, 2014 06:17:36    Last update: December 11, 2014 06:17:36
Is it safe to say that all new MyInterface() { ... } constructs will result in non-synthetic classes ?
Created by voodoo on September 25, 2012 19:33:02    Last update: October 31, 2014 12:34:25
This a step-by-step example of how to create the files for GNU automake. Put the C source file in directory src ( cat src/hello.c ): #include <config.h> #include <stdio.h> ... Run autoscan to generate configure.scan . Rename configure.scan : mv configure.scan configure.ac Edit configure.ac . Update this line: AC_INIT([FULL-PACKAGE-NAME], [VERSION] , [BUG-REP... Add this line after AC_INIT : AM_INIT_AUTOMAKE([foreign -Wall -Werror]) Add this line before AC_OUTPUT : AC_CONFIG_FILES([Makefile src/Makefile]) Create file Makefile.am ( cat Makefile.am ): SUBDIRS = src Create file src/Makefile.am ( cat src/Makefile.am ): bin_PROGRAMS = hello hello_SOURCES = hello.c Run these commands: $ aclocal $ autoheader $ automake --add-miss... The file configure is generated after autoconf is run. Build with: $ ./configure $ make Create tarball for distribution with: $ make dist...
Created by woolf on October 11, 2014 17:13:16    Last update: October 11, 2014 17:13:16
To use a proxy to git: $ git config --global http.proxy http://proxyuser:... or $ git config --global https.proxy http://proxyuser... To unset proxy: $ git config --global --unset http.proxy $ git ... To see the settings: $ cat ~/.gitconfig
Previous  1 2 3 4 5 6 7 8 9 10 Next