Developers using Neo4j are currently working alone when they should be working together, but they don’t know who is working on the same technologies. This graph aims to solve this by linking developers with similar interests, projects and events.
This file contains 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
IF 1 = 2 | |
BEGIN | |
SELECT | |
cast(null as int) as UserId | |
,cast(null as nvarchar(250)) as Username | |
,cast(null as int) as RoleCount | |
,cast(null as datetime) as UserRevoked | |
,cast(null as bit) as Locked | |
,cast(null as bit) as ForcePassChange | |
,cast(null as varchar(200)) as ClientName |
This file contains 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
private static bool CheckValid(string controller, string action) | |
{ | |
if (!controller.Contains("Controller")) | |
{ | |
controller = controller + "Controller"; | |
} | |
// Get assembly | |
Assembly a = GetWebEntryAssembly(); | |
if (a != null) | |
{ |
It doesn’t seem to, and the way it is supposed to work causes an error (see query 4) This is based upon this blog post: http://blog.neo4j.org/2013/11/neo4j-200-rc1-final-preparations.html
This gist was prompted by Nigel Small’s tweet of a query to generate a unique id for a node (and is posted here with his agreement). It inspired me to think about how it could be used in a full example, unrestricted by Twitter’s 140 characters. I have also looked at how we could generate different sets of unique ids for different labels.
Auto-incrementing #Neo4j counter
MERGE (x:Counter {name:'foo'})
ON CREATE SET x.count = 0
ON MATCH SET x.count = x.count + 1
RETURN x.count
— Nigel Small (@technige) December 16, 2013
This file contains 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
// Seed code from Configuration.cs | |
protected override void Seed(DAL.Models.Context context) | |
{ | |
// This method will be called after migrating to the latest version. | |
// Default Customers - create | |
var customers = new[]{ | |
new Customer { Name = "cust_a" }, | |
new Customer { Name = "cust_b" }, |
OlderNewer