Skip to content

Instantly share code, notes, and snippets.

View ThomasKoscheck's full-sized avatar

Thomas K. ThomasKoscheck

View GitHub Profile
@ThomasKoscheck
ThomasKoscheck / DownloadAndExecutePowerShellTest.ps1
Last active May 18, 2020 07:42
DownloadAndExecutePowerShellTest
Write-Host "Succesfull downloaded and executed"
New-Item -Path '.\File.txt' -ItemType File
Start-Sleep 10
@ThomasKoscheck
ThomasKoscheck / Gitlab Permissions Fix
Created November 12, 2019 16:44 — forked from leowinterde/Gitlab Permissions Fix
gitlab-ce permissions fix
# Holds repositories directory
sudo chown -R -v git:root /var/opt/gitlab/git-data
sudo chmod -R -v 0700 /var/opt/gitlab/git-data
# Holds git repositories
sudo chown -R -v git:git /var/opt/gitlab/git-data/repositories
sudo chmod -R -v 2770 /var/opt/gitlab/git-data/repositories
# Holds large object directories
sudo chown -R -v git:gitlab-www /var/opt/gitlab/gitlab-rails/shared

Keybase proof

I hereby claim:

  • I am thomaskoscheck on github.
  • I am thokos (https://keybase.io/thokos) on keybase.
  • I have a public key ASAxpcYdBhGo4W_vBoh7fqi376l-A1iUKNvRp1sKloQnCQo

To claim this, I am signing this object: