This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<Role>module</Role> | |
<Name>MyBottle</Name> | |
<DataFileSet Include="*.*"> | |
<DeepSearch>true</DeepSearch> | |
</DataFileSet> | |
<ContentFileSet Include="Shared/*.spark;Shared/*.xml;Content/*.*;*.config;Features/*.spark;"> | |
<DeepSearch>true</DeepSearch> | |
</ContentFileSet> | |
</package> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<links> | |
<include>../MyBottleProject</include> | |
</links> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<aliases xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<Aliases> | |
<alias name="my-template" url="git://my-template.git" /> | |
</Aliases> | |
</aliases> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Model = Backbone.Model.extend({ | |
initialize: function () { | |
this.dependentProperty('y', function () { | |
return this.get('x') * 100; | |
}); | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Logistics = (function () { | |
var self = { | |
windowService: { | |
refresh: function () { | |
window.location.reload(); | |
}, | |
navigateTo: function (url) { | |
window.location = url; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('NavigatePolicyTester', function () { | |
var policy; | |
beforeEach(function () { | |
policy = new Logistics.Ajax.NavigatePolicy(); | |
}); | |
it('should_match_when_continuation_specifies_navigate', function () { | |
expect(policy.matches({ navigatePage: 'www.google.com' })).toEqual(true); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jBus.routing = new (function() { | |
function lazy(builder) { | |
this.builder = builder; | |
this.buildWith = function(func) { | |
this.builder = func; | |
}; | |
this.value = function() { | |
return this.builder(); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CreateEntityAction<TEntity> | |
where TEntity : IDomainEntity | |
{ | |
public CommandResult<TEntity> Execute(CreateEntityModel<TEntity> input) | |
{ | |
// do generic stuff | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the good-morning command (where upstream is your target remote -- or could be origin) | |
function gm { | |
branch_name="$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1 /')" | |
echo "Currently on $branch_name" | |
git checkout master | |
git pull upstream master | |
git checkout $branch_name | |
git rebase master | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IPackageInfo | |
{ | |
string Name { get; } | |
string Role { get; set; } | |
void LoadAssemblies(IAssemblyRegistration loader); | |
void ForFolder(string folderName, Action<string> onFound); | |
void ForData(string searchPattern, Action<string, Stream> dataCallback); | |
} |