moved to here: https://github.com/luisrudge/install-scripts/blob/master/elementary/install.sh
$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
| public sealed class UnitType | |
| { | |
| public static readonly UnitType Default = new UnitType(); | |
| private UnitType() {} | |
| } | |
| public abstract class CommandHandler<TMessage> | |
| : ICommandHandler<TMessage, UnitType> |
| angular.module('AppServices') | |
| .factory 'UrlShortener', ($q, $rootScope) -> | |
| gapiKey = 'APP_KEY' | |
| gapi_deferred = $q.defer() | |
| gapi_loaded = gapi_deferred.promise | |
| gapi.client.setApiKey(gapiKey) | |
| gapi.client.load 'urlshortener', 'v1', -> | |
| $rootScope.$apply -> | |
| gapi_deferred.resolve('loaded') |
Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist.
Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)
| public class InventoryController : ApiController | |
| { | |
| private readonly IInventoryManagementService _inventoryManagementService; | |
| private readonly IUnitOfWork _unitOfWork; | |
| public InventoryController(IUnitOfWork unitOfWork) | |
| { | |
| _unitOfWork = unitOfWork; //access services | |
| _inventoryManagementService = _unitOfWork.Get<IInventoryManagementService>(); | |
| } |