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
# Use this line at your own risk | |
# * text=auto | |
# Editor save files | |
# (these should be in your gitignore) | |
*~ text | |
.*.sw[a-z] text | |
\#* text | |
.#* text |
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
# Project | |
* text eol=lf | |
# Language Diffs | |
*.cs diff=csharp | |
*.css diff=css |
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
' Hack to workaround the Powershell Console popup running on a Windows Scheduled Task | |
' Powershell limitations: https://github.com/PowerShell/PowerShell/issues/3028 | |
' | |
' Add this file in the same git root directory as the sync.ps1 | |
' | |
Dim shell,command | |
Dim oFSO : Set oFSO = CreateObject("Scripting.FileSystemObject") | |
Dim sScriptDir : sScriptDir = oFSO.GetParentFolderName(WScript.ScriptFullName) | |
command = "powershell.exe -nologo -File " & sScriptDir & "\sync.ps1" |
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
[user] | |
name = Arkadiusz Świerczek | |
email = arkadiusz.swierczek@gmail.com | |
[alias] | |
log-dog = log --decorate --oneline --graph | |
log-adog = log --all --decorate --oneline --graph | |
conflicts = diff --name-only --diff-filter=U |
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
#!/bin/sh | |
# Getting Ready | |
LOGDIR="~/log" | |
DOTFILES="~/.dotfiles" | |
# Update & Upgrade | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
# Setup Prerequisite |
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
# -- Modules -------------------------------------------------- | |
Import-Module posh-git | |
Import-Module oh-my-posh | |
Set-Theme Agnoster | |
Import-Module DockerCompletion | |
Import-Module scoop-completion | |
Import-Module PSColor | |
# ZLocation alternates your prompt function to track the location. | |
# If you have a custom prompt function in $profile, you should place Import-Module ZLocation after the prompt customization. |
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
######## POSH-GIT | |
# ... Import-Module for posh-git here ... | |
# Background colors | |
$GitPromptSettings.AfterStash.BackgroundColor = 0x5F5FAF | |
$GitPromptSettings.AfterStatus.BackgroundColor = 0x5F5FAF | |
$GitPromptSettings.BeforeIndex.BackgroundColor = 0x5F5FAF | |
$GitPromptSettings.BeforeStash.BackgroundColor = 0x5F5FAF |
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
#Requires -Version 7 | |
# Version 1.2.10 | |
# check if newer version | |
$gistUrl = "https://api.github.com/gists/a208d2bd924691bae7ec7904cab0bd8e" | |
$latestVersionFile = [System.IO.Path]::Combine("$HOME",'.latest_profile_version') | |
$versionRegEx = "# Version (?<version>\d+\.\d+\.\d+)" | |
if ([System.IO.File]::Exists($latestVersionFile)) { |
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
######################################################################### | |
### USAGE: JSON-rdiff path/to/left,path/to/right [-s path/to/summary/dir] ### | |
### ADD LOCATION OF THIS SCRIPT TO PATH ### | |
######################################################################### | |
[CmdletBinding()] | |
param ( | |
[parameter(HelpMessage="Stores the execution working directory.")] | |
[string]$ExecutionDirectory=$PWD, | |
[parameter(Position=0,HelpMessage="Compare two directories recursively for differences.")] |
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
<?xml version="1.0" encoding="utf-8"?> | |
<packages> | |
<package id="7zip" version="21.7" /> | |
<package id="7zip.install" version="21.7" /> | |
<package id="accesschk" version="6.14" /> | |
<package id="accessenum" version="1.32" /> | |
<package id="adexplorer" version="1.51" /> | |
<package id="adinsight" version="1.20" /> | |
<package id="AdoptOpenJDKjre" version="16.0.1.901" /> | |
<package id="adrestore" version="1.10" /> |