Find: ([A-Z])([a-zA-Z]*)
Replace: $1\L$2
| angular.module("app").directive("validateDateGreaterThan", function() | |
| { | |
| return { | |
| require: "ngModel", | |
| scope: | |
| { | |
| firstDate: "=validateDateGreaterThan" | |
| }, | |
| link: function(scope, element, attrs, ngModel) | |
| { |
| SELECT LOWER(REPLACE(NEWID(),'-','')) |
| 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) |
| 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" }); |
| -- 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 |
| 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]; |
| { | |
| "global": { | |
| "check_for_updates_on_startup": true, | |
| "show_in_menu_bar": false, | |
| "show_profile_name_in_menu_bar": false | |
| }, | |
| "profiles": [ | |
| { | |
| "complex_modifications": { | |
| "parameters": { |
Find: ([A-Z])([a-zA-Z]*)
Replace: $1\L$2
| # 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 |