Skip to content

Instantly share code, notes, and snippets.

View TetxMate2.download MichalMMac
./Code/autopkg run -vv TextMate2.download 9:58:07
Processing TextMate2.download...
WARNING: TextMate2.download is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
{'Input': {'filename': u'TextMate_2.0.tbz',
'url': u'https://api.textmate.org/downloads/release?os=10.15'}}
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: No value supplied for CURL_PATH, setting default value of: /usr/bin/curl
URLDownloader: No value supplied for prefetch_filename, setting default value of: False
URLDownloader: Storing new Last-Modified header: Sun, 15 Sep 2019 15:31:50 GMT
@MichalMMac
MichalMMac / import_apple_configdata_updates.bash
Created Nov 4, 2017
Import SUS configdata updates to Munki repo as unattended
View import_apple_configdata_updates.bash
#!/bin/bash
# Author: MichalM.Mac
# Script gets list of all Apple update from Reposado server.
# Then it selects only those whose name contains 'Configuration Data' or ConfigData.
# Such updates are imported to Munki as an apple-update items with unattended install key.
readonly APPLEMETA_MUNKI_SUBDIR="apple/swupdateconfig/"
readonly APPLEMETA_MUNKI_DIR="/repos/munki/pkgsinfo/${APPLEMETA_MUNKI_SUBDIR}"
readonly UNIQUE_ID="server"
View E0_xcode_symlinks.bash
View keybase.md

Keybase proof

I hereby claim:

  • I am michalmmac on github.
  • I am michalmmac (https://keybase.io/michalmmac) on keybase.
  • I have a public key ASCWCEN5rx2LGhMxrhYSwB-s4x7lJbxM63yLs80cd6RzMAo

To claim this, I am signing this object:

@MichalMMac
MichalMMac / subcoder.bash
Created Aug 12, 2016
Convert subtitle encoding
View subcoder.bash
#!/bin/bash
# Author: MichalM.Mac
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Config
export ENCODING_FROM='CP1250'
export ENCODING_TO='UTF-8'
SUB_EXTENSION='.srt'
View ds_cleanup_fix.sh
#!/bin/sh
SCRIPT_NAME=`basename "${0}"`
SCRIPT_PATH=`dirname "${0}"`
/bin/echo "${SCRIPT_NAME} - v1.0 ("`date`")"
custom_logger() {
/bin/echo "${SCRIPT_NAME} - $1"
}