Skip to content

Instantly share code, notes, and snippets.

@runxel
runxel / apple-crap-destroyer.ps1
Last active April 26, 2024 08:31
Powershell script for deleting unwanted apple crap files
# powershell script for deleting unwanted apple crap files – mostly on "infected" USB-sticks
# like ._somecrap
$theSource = "E:\" # <<<<< insert drive here
Get-Childitem $theSource -Include @("._*", ".DS_Store", ".fseventsd", ".TemporaryItems", ".Trashes", ".Spotlight-V100") -Recurse -Force -ErrorAction SilentlyContinue | Remove-Item -Force -Recurse
@mbbx6spp
mbbx6spp / ALTERNATIVES.adoc
Last active April 25, 2024 15:14
Super quick list of alternatives to Jira and/or Confluence, Stash, Crucible, etc.
@stuart-warren
stuart-warren / tomcat-mkdeb.sh
Last active July 1, 2022 13:03
Create deb of Tomcat installing into its own dir (to allow multiple versions) Uses fpm
#!/bin/bash -xe
#
# sudo gem install fpm
# sudo apt-get install curl
# # Put this script in a folder called tomcat-packaging
# ./mkdeb.sh 7.0.40
# ./mkdeb.sh 6.0.37
#
VERSION=$1