echo '.idea' >> .gitignoreadd folder to gitignoregit rm .idea/ -r --cachedremove folder from local git cachegit add .gitignorecommit .gitignore updategit commit -m '(added .idea folder to ignored entries)'git add -u .idea/commit .idea folder updategit commit -m "Removed the .idea folder"git pushpush changes to repo
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
| #!/usr/bin/python | |
| # | |
| # This file is based on | |
| # https://gist.github.com/oseiskar/dbd51a3727fc96dcf5ed189fca491fb3 | |
| # (Copyright 2017 Otto Seiskari, Licensed under the Apache License, Version 2.0.) | |
| # See http://www.apache.org/licenses/LICENSE-2.0 for the full text. | |
| # | |
| """ | |
| Usage: |
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
| # Force script to run as admin | |
| function Test-Admin { | |
| param([switch]$Elevated) | |
| $currentUser = New-Object Security.Principal.WindowsPrincipal $([Security.Principal.WindowsIdentity]::GetCurrent()) | |
| $currentUser.IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator) | |
| } | |
| if ((Test-Admin) -eq $false) { | |
| if ( ! $elevated) { | |
| Start-Process powershell.exe -Verb RunAs -ArgumentList ('-ExecutionPolicy Bypass -noprofile -noexit -file "{0}" -elevated' -f ($myinvocation.MyCommand.Definition)) |
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 | |
| ################ | |
| # Uncomment if you want the script to always use the scripts | |
| # directory as the folder to look through | |
| REPOSITORIES="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
| #REPOSITORIES=`pwd` | |
| IFS=$'\n' |
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
| (* | |
| This script resizes the front-most window to a preset dimension for an easy | |
| and consistent (single-window) screen sharing experience on video calls. | |
| Andrew Witchger Mar 2021 | |
| Setup: | |
| 1. Open in Script Editor, and go to File -> Export... | |
| 2. Change File Format to "Application" and Save |
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
| ########## | |
| # Tweaked Win10 Initial Setup Script | |
| # Primary Author: Disassembler <disassembler@dasm.cz> | |
| # Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences. | |
| # Version: 2.12.1, 2018-03-15 | |
| # Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script | |
| # Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/ | |
| # Tweak difference: | |
| # | |
| # @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ... |