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
| New-Item -ItemType File -Path D:\TEMP\Run1.txt | |
| New-Item -ItemType File -Path D:\TEMP\Run2.txt | |
| New-Item -ItemType File -Path D:\TEMP\Run3.txt |
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
| <# | |
| Author: Daniel Schwensen | |
| Creation Date: 29.11.2023 | |
| Log: | |
| #> | |
| $LogFolder = "D:\Temp" | |
| $LogPath = Join-Path -Path $LogFolder -ChildPath "NVMeDriverUpdate.log" |
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
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "copyOnSelect": false, | |
| "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
| // Add custom keybindings to this array. | |
| // To unbind a key combination from your defaults.json, set the command to "unbound". | |
| // To learn more about keybindings, visit https://aka.ms/terminal-keybindings | |
| "keybindings": | |
| [ | |
| // Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json. |
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
| #!/bin/sh | |
| # full and incremental backup script | |
| COMPUTER=deep # name of this computer | |
| DIRECTORIES="/home" # directoris to backup | |
| BACKUPDIR=/backups # where to store the backups | |
| TIMEDIR=/backups/last-full # where to store time of full backup | |
| TAR=/bin/tar # name and locaction of tar | |
| PATH=/usr/local/bin:/usr/bin:/bin |
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
| #!/bin/bash | |
| # Latest Docker for Ubuntu basic install script | |
| # | |
| # This is the same process as the official docker install guide for Ubuntu | |
| sudo apt-get update \ | |
| && sudo apt-get install curl \ | |
| linux-image-extra-$(uname -r) \ | |
| linux-image-extra-virtual \ |
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
| Set-WindowsExplorerOptions -EnableShowFileExtensions -EnableShowFullPathInTitleBar -EnableOpenFileExplorerToQuickAccess -EnableShowRecentFilesInQuickAccess -EnableShowFrequentFoldersInQuickAccess | |
| Enable-RemoteDesktop | |
| Disable-UAC | |
| Disable-InternetExplorerESC | |
| cinst firefox | |
| cinst 7zip.install | |
| cinst notepadplusplus.install | |
| cinst far | |
| cinst totalcommander |
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
| #!/bin/bash | |
| # install script for my most used applications | |
| # Written by Daniel Schwensen <daniel.schwensen@gmail.com> | |
| echo " #########################################################" | |
| echo " SYSTEM UPDATE" | |
| echo " #########################################################" | |
| # Missing | |
| # download .bashrc and .bash_aliases from GitHub, if not present |
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
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac |
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
| alias ll="ls -al" | |
| alias lm="ls -al|more" | |
| alias cls="clear" | |
| alias apt-get="sudo apt-get" | |
| alias df="df -h" | |
| alias update="sudo apt-get update && sudo apt-get upgrade" | |
| alias ba="vim ~/.bash_aliases" | |
| alias vi="vim" | |
| alias du="du -ach | sort -h" | |
| alias free="free -h" |