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
- Revert my migration | |
- remove migration | |
- merge with master | |
- upgrade DB | |
- Rescaffold migration |
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
git branch | grep -v "master" | xargs git branch -D |
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
Exec sp_VolumeDriversbyPMG_Population 2, 'D' | |
Exec sp_CheckoutSummary_15Min_w_BasketLine_Population 2, 'D' | |
Exec sp_VolumeDriversbyPMG_Population 2, 'C' | |
Exec sp_CheckoutSummary_15Min_w_BasketLine_Population 2, 'C' | |
--delete from VolumeDriversbyPMG | |
--Exec sp_Control_Run_Time '?', 'Adrian Test Full Run 1', 'Adrian A' | |
Exec sp_Runcontrol 'R', 2, 6731 , '?' | |
--Exec sp_Control_Run_Time 'U', 'Adrian A' |
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
/** | |
* Controls the actions of the confirm on exit component | |
* | |
* @export | |
* @class ConfirmOnExitController | |
*/ | |
export class ConfirmOnExitController { | |
public confirmOnExit: Function; | |
public confirmMessageRoute: string; | |
public confirmMessage: string; |
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
IPrincipal currentUser = HttpContext.Current.User; | |
var identity = User.Identity as ClaimsIdentity; | |
string claims = string.Empty; | |
if (identity != null) | |
foreach (Claim identityClaim in identity.Claims) | |
{ | |
claims += $"{identityClaim.Subject.Name}:{identityClaim.Type}:{identityClaim.Value},"; | |
} |
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
find . -name "*.rar" -exec unrar x -o+ {} \; |
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
read raw = Yes | |
write raw = Yes | |
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072 | |
min receivefile size = 16384 | |
use sendfile = true | |
aio read size = 16384 | |
aio write size = 16384 |
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
if not exist "../output" mkdir "../output" | |
for /R %%f in (*.mkv) do copy %%f "%cd%\..\output" |
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
FOR /D /r %%F in ("*") DO ( | |
pushd %CD% | |
cd %%F | |
FOR %%X in (*.rar *.zip) DO ( | |
"C:\Program Files\7-zip\7z.exe" x "%%X" | |
) | |
popd | |
) |
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
public isMultiSelectOptionSelected(object: any): boolean { | |
return object && Object.keys(object).some(key => object[key]); | |
} |