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
// ==UserScript== | |
// @name New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://jira.* | |
// @grant none | |
// ==/UserScript== |
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
192.168.31.74 robocashph.local.dev |
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
CREATE OR REPLACE FUNCTION jsonb_diff_val(val1 JSONB, val2 JSONB) RETURNS JSONB AS $$ | |
DECLARE | |
result JSONB; | |
difference jsonb; | |
v RECORD; | |
BEGIN | |
result = val1; | |
FOR v IN SELECT * FROM jsonb_each(val2) LOOP | |
IF result -> v.key is not null | |
THEN |
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
const logger = createLogger({ | |
transports: [ | |
new transports.Console({ level: 'silly' }), | |
], | |
}); | |
console.log = function(){ | |
logger.info.apply(logger, arguments as unknown as [object]); | |
}; | |
console.info = function(){ |