Oh yes, this is nice:
git revert --strategy resolve <sha-ish>
Given a git log of A--B--C--D--E you can remove commit C using:
git revert --strategy resolve <sha-of-C>
Which will produce:
| -- show running queries (pre 9.2) | |
| SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
| FROM pg_stat_activity | |
| WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
| ORDER BY query_start desc; | |
| -- show running queries (9.2) | |
| SELECT pid, age(clock_timestamp(), query_start), usename, query | |
| FROM pg_stat_activity | |
| WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
Oh yes, this is nice:
git revert --strategy resolve <sha-ish>
Given a git log of A--B--C--D--E you can remove commit C using:
git revert --strategy resolve <sha-of-C>
Which will produce:
| (function () { | |
| /* converted by @brakmic */ | |
| /* original code: https://github.com/isaacs/json-stringify-safe */ | |
| /* usage example: | |
| * | |
| *angular.module("myModule", ['jsonStringify']) | |
| * .controller("MainCtrl", ['StringifyJsonService', MainCtrl]); | |
| * |
| /*********************************************************************** | |
| Copyright 2016, Kendra Little - littlekendra.com | |
| MIT License, http://www.opensource.org/licenses/mit-license.php | |
| ***********************************************************************/ | |
| /*********************************************************************** | |
| FIRST, TELL SQL SERVER TO ISSUE THE BLOCKED PROCESS REPORT | |
| ***********************************************************************/ | |
| /* Check if there are any pending configuration items before you start */ |
| ;------------------------------------------------------------------------------- | |
| ; Includes | |
| !include "MUI2.nsh" | |
| !include "LogicLib.nsh" | |
| !include "WinVer.nsh" | |
| !include "x64.nsh" | |
| ;------------------------------------------------------------------------------- | |
| ; Constants | |
| !define PRODUCT_NAME "My Application" |
(Steps taken from: https://www.baeldung.com/x-509-authentication-in-spring-security)
All passwords: changeit
openssl req -x509 -sha256 -days 3650 -newkey rsa:4096 -keyout rootCA.key -out rootCA.crt