- version Must match version exactly
- >version Must be greater than version
- >=version etc
- <version
- <=version
- ~version "Approximately equivalent to version"
- ^version "Compatible with version"
- 1.2.x 1.2.0, 1.2.1, etc., but not 1.3.0
- http://... See 'URLs as Dependencies' below
- * Matches any version
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
Show hidden characters
{ | |
"auto_complete_triggers": | |
[ | |
{ | |
"characters": "<", | |
"selector": "text.html", | |
}, | |
{ | |
"characters": ".", | |
"selector": "source.js", |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>encrypted</key> | |
<false/> | |
<key>format</key> | |
<string>query favorites</string> | |
<key>queryFavorites</key> | |
<array> |
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
# Default Homebrew MySQL server config | |
[mysqld] | |
#interactive_timeout = 300 | |
#wait_timeout = 300 | |
max_allowed_packet=256M | |
table_open_cache=250 | |
# Only allow connections from localhost | |
bind-address = * | |
#skip-networking |
Find: ([A-Z])([a-zA-Z]*)
Replace: $1\L$2
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
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": false, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
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
var versions = "Array from https://jira/rest/api/2/project/projectKey/versions"; | |
var dateRegex = /([0-9]{4})([0-9]{2})([0-9]{2})[0-9]{4}/; | |
var counts = {}; | |
versions.forEach(function(version) | |
{ | |
if (dateRegex.test(version.name)) | |
{ | |
var dateParts = dateRegex.exec(version.name); | |
var yearKey = "" + dateParts[1]; |
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
-- via https://gallery.technet.microsoft.com/scriptcenter/List-all-Locks-of-the-2a751879 | |
SELECT TL.resource_type AS ResType | |
,TL.resource_description AS ResDescr | |
,TL.request_mode AS ReqMode | |
,TL.request_type AS ReqType | |
,TL.request_status AS ReqStatus | |
,TL.request_owner_type AS ReqOwnerType | |
,TAT.[name] AS TransName | |
,TAT.transaction_begin_time AS TransBegin | |
,DATEDIFF(ss, TAT.transaction_begin_time, GETDATE()) AS TransDura |
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
angular.module("app").directive("setPrintToLandscape", function($document) | |
{ | |
return { | |
restrict: "AE", | |
link: function link(scope) | |
{ | |
// Currently only supported in Chrome. | |
// FF - https://bugzilla.mozilla.org/show_bug.cgi?id=851441 | |
// Safari - https://bugs.webkit.org/show_bug.cgi?id=63575 | |
var newSheet = angular.element("<style/>").attr({ "type":"text/css", "media":"print" }); |
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
angular.module("app").directive("clickToEdit", function() | |
{ | |
return { | |
restrict: "A", | |
link: function link(scope, element) | |
{ | |
var LEFT = 37, UP = 38, RIGHT = 39, DOWN = 40, ENTER = 13; | |
var navKeys = [ LEFT, UP, RIGHT, DOWN, ENTER ]; | |
element.attr("contenteditable", true); | |
element.on("focus", function(e) |
NewerOlder