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
-- For Windows: Place this file in C:\Users\{username}\AppData\Local\Gittyup\themes | |
-- | |
-- | |
-- Many colors support 'active', 'inactive', and 'disabled' states. | |
-- They can all be set to the same color with the syntax: | |
-- | |
-- key = '<color>' | |
-- | |
-- Or set individually with syntax like: | |
-- |
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
param | |
( | |
[parameter(Mandatory = $true)] | |
[String] $ExistingFolderName, | |
[parameter(Mandatory = $true)] | |
[String] $CopiedFolderName | |
) | |
function Create-FolderStructureCopy { | |
[CmdletBinding()] | |
param |
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
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
-- ============================================= | |
-- Description: Returns table with deadlines. | |
-- If there's more than one deadline on a date, all are added to a single row and are comma separated | |
-- ============================================= | |
CREATE FUNCTION [dbo].[Deadlines] |
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
sudo docker pull mcr.microsoft.com/mssql/server:2022-latest | |
sudo docker run -e "ACCEPT_EULA=Y" -e 'MSSQL_SA_PASSWORD=<my-secure-password>' --name 'my-db-name' -p 1433:1433 -v my-db-name-data:/var/opt/mssql -d mcr.microsoft.com/mssql/server:2022-latest | |
sudo docker exec -it my-db-name mkdir /var/opt/mssql/backup |
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
$files = Get-ChildItem "{path to folder being analyzed}" -Recurse | |
## new up an excel file | |
$ExcelObj = New-Object -comobject Excel.Application | |
$ExcelWorkBook = $ExcelObj.Workbooks.Add() | |
$ExcelWorkSheet = $ExcelWorkBook.Worksheets.Item(1) | |
$ExcelWorkSheet.Name = 'File sizes' | |
$ExcelWorkSheet.Cells.Item(1, 1) = 'Filename' | |
$ExcelWorkSheet.Cells.Item(1, 2) = 'Size (MB)' | |
$ExcelWorkSheet.Rows.Item(1).Font.Bold = $true |
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
"schemes": | |
[ | |
{ | |
"background": "#2E3440", | |
"black": "#2E3440", | |
"blue": "#5E81AC", | |
"brightBlack": "#4C566A", | |
"brightBlue": "#5E81AC", | |
"brightCyan": "#88C0D0", | |
"brightGreen": "#8FBCBB", |
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
[alias] | |
s = status | |
d = diff | |
co = checkout | |
cob = checkout -b | |
cane = commit --amend --no-editor | |
aa = add --all | |
cam = commit -am | |
delb = branch -D | |
br = branch --format='%(HEAD) %(color: brightBlue)%(refname:short)%(color:reset) - %(contents:subject)%(color:green)(%(committerdate:relative)) %(color: magenta)[%(authorname)]' --sort=-committerdate |