Development reference: Difference between revisions
No edit summary |
No edit summary |
||
Line 369: | Line 369: | ||
/etc/init.d/apache restart | /etc/init.d/apache restart | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! eclipse settings | ! eclipse settings | ||
Line 379: | Line 378: | ||
* C++->Code Style->Formatter->customize K&R to use spaces for tabs | * C++->Code Style->Formatter->customize K&R to use spaces for tabs | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! eclipse java project layout format | ! eclipse java project layout format | ||
Line 389: | Line 387: | ||
**** classes (each class is contained in one file) | **** classes (each class is contained in one file) | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! eclipse new project from existing code | ! eclipse new project from existing code | ||
Line 413: | Line 410: | ||
(name it and make sure Show all files is selected) | (name it and make sure Show all files is selected) | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! emacs configuration | |||
|- | |||
| This common config should work well in both terminal and UI: | |||
/home/m/development/config/common/home/m/.emacs | |||
NOTE that you need some other things to be configured properly: | |||
* the terminal must use a light light blue background since it will be carried over into [emacs -nw] | |||
* the terminal must have 256-color support; set this in .bashrc: | |||
export TERM=xterm-256color | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! SQL Server 2008+ proper upsert using MERGE | ! SQL Server 2008+ proper upsert using MERGE |
Revision as of 18:46, 25 April 2015
Expandc++11 Model View Controller skeleton |
---|
Expandc++11 containers |
---|
Expandc++11 example for large groups of objects with frequent crud AND search |
---|
Expandc++11 example for large groups of objects with infrequent crud and frequent search |
---|
Expandc++11 example to associate two complex objects (one the map key, one the map value) |
---|
Expandc++11 example for multiple unordered_set indexes into one group of objects |
---|
Expandc++11 example for set with specific sorting |
---|
Expandc++11 loop through vector to erase some items |
---|
Expandc++11 for loop using lambda |
---|
Expandc++11 integer types |
---|
Expandc++ in-memory storage of "major" objects |
---|
Expandc++ stl reverse iterator skeleton |
---|
Expandc++ stl reading a binary file into a string |
---|
Expandc/c++ gdb debugging |
---|
ExpandC - Create a portable command line C project in Visual Studio |
---|
Expandc++ Create a portable C++ project in Visual Studio |
---|
Expandboost build for both 32 and 64 bit Windows |
---|
Expandphp debugging |
---|
Expandeclipse settings |
---|
Expandeclipse java project layout format |
---|
Expandeclipse new project from existing code |
---|
Expandemacs configuration |
---|
ExpandSQL Server 2008+ proper upsert using MERGE |
---|
Expandgit use kdiff3 as difftool and mergetool |
---|
Expandgit create merge-to command |
---|
Expandgit shared repo |
---|
Expandgit create new branch on server, pull to client |
---|
Expandgit windows configure notepad++ editor |
---|
Expandgit pull when untracked files are in the way |
---|
Expandgit create new branch when untracked files are in the way |
---|
Expandgit fix push behavior - ONLY PUSH CURRENT doh |
---|
Expandgit recreate repo |
---|
Expandgit connect to origin after the fact |
---|
ExpandWindows command prompt FULL SCREEN |
---|
Expandbash chmod dirs |
---|
Web Services |
---|
Firefox Addon development |
---|
Expandmediawiki collapsible skeleton |
---|
Expandmediawiki collapsible example |
---|