Sometimes software just seems to happen haphazardly, despite our allegiance to diligence and process. Systems creep into our lives through some combination of people, skills, and tools. The result is often a mass of unfamiliar and unclear components written by many authors, with little understanding of the big picture.
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
// Author: Jeffrey A. Miller (@xagronaut), 01/15/2015 | |
// License: Apache 2.0 | |
// | |
// Description: Apply a custom tag to multiple TFS Work Items systematically | |
// | |
// Notes: | |
// * Navigate to a TFS query page [YourTfsServer]:8080/tfs/[TfsCollection]/[TfsProject]/_workItems | |
// * Identify the Work Item IDs you want to update and edit the array at the end of this code snippet | |
// * This code should be executed in your browser's script console (tested in Chrome) | |
// |
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
<html> | |
<head> | |
<title>Add QR Code - by Jeffrey A. Miller</title> | |
<!-- the bookmarklet logic is mine; the formatted bookmarklet link was produced with help from | |
Bookmarklet Creator with Script Includer | |
http://mrcoles.com/bookmarklet/ | |
It's a very awesome tool! Check it out! | |
--> |
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
<Query Kind="Statements"> | |
</Query> | |
string.Format("// Add database schemas\nUNWIND [\n\t{0}\n] AS item" + @" | |
MERGE (db:Database {{ name: item[0] }}) | |
MERGE (sc:DbSchema {{ name: item[1] }}) | |
MERGE (ow:DbAccount {{ name: item[2] }}) | |
MERGE (db)-[:CONTAINS]->(sc) | |
MERGE (ow)-[:OWNS]->(sc) | |
RETURN DISTINCT db, ow, sc; |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
$rootScript = <<SCRIPT | |
echo "**********************************" | |
echo "* Modifying hostname" | |
echo "**********************************" | |
echo worldvaxdev>/etc/hostname | |
echo "**********************************" | |
echo "* Installing unzip" |
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
-- ******* | |
-- * Track which objects in the database depend on other objects | |
-- ******* | |
;WITH ObjectTypeNames AS ( | |
SELECT [Type] = 'P', [Name] = 'DbProcedure' UNION ALL | |
SELECT [Type] = 'FN', [Name] = 'DbFunction' UNION ALL | |
SELECT [Type] = 'U', [Name] = 'DbTable' UNION ALL | |
SELECT [Type] = 'V', [Name] = 'DbView' | |
), | |
ObjectReferences AS ( |
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
node { | |
diameter: 100px; | |
color: #FFD86E; | |
border-color: #EDBA39; | |
border-width: 2px; | |
text-color-internal: #604A0E; | |
font-size: 16px; | |
/* uncomment this line if you want the "name" property to be the default caption */ | |
/* caption: '{name}'; */ | |
} |
This page contains helpful resources about Neo4j.
Bookmarklets! by Jeffrey A. Miller ( @xagronaut )
The following are some bookmarklets I've created:
- Add QR Code to page
- QR image hover
- QR link hover
Most of them were created with the assistance of the very helpful bookmarklet creator at mrcoles.com/bookmarklet.
OlderNewer