The Maya devkit comes with sample plug-ins, and applications.
Important: You need to set up your environment as described in Setting up your build environment before building the samples.
On Windows, the plug-in samples are located in %DEVKIT_LOCATION%\devkit\plug-ins, and the standalone application samples are located in %DEVKIT_LOCATION%\devkit\applications.
On Linux and MacOSX, the plug-in samples are located in $DEVKIT_LOCATION/devkit/plug-ins/ and the standalone application samples are located in $DEVKIT_LOCATION/devkit/applications/.