Skip to content

Instantly share code, notes, and snippets.

View AloPress's full-sized avatar
💀
MIA

Alo Press AloPress

💀
MIA
View GitHub Profile
@AloPress
AloPress / gist:3846a7bb250a49fb3fa5cc921317fb36
Last active August 15, 2023 05:01
Apple Security References
@AloPress
AloPress / com.saba.SabaPeopleCloudMobile.xml
Created September 3, 2019 06:08
AppConfig key for autofilling Saba Cloud application Site name field.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>siteName</key>
<string>sabacloud</string>
</dict>
</plist>
@AloPress
AloPress / iOS_10-12_bundle_IDs.md
Last active August 13, 2019 06:06
Default app names and bundle ID's from iOS 10 to iOS 12
App name iOS 12 bundle ID iOS 11 bundle ID iOS 10 bundle ID
App Store com.apple.AppStore com.apple.AppStore com.apple.AppStore
Watch com.apple.Bridge com.apple.bridge com.apple.bridge
Calculator com.apple.calculator com.apple.calculator com.apple.calculator
Camera com.apple.camera com.apple.camera com.apple.camera
Clips com.apple.clips
Compass com.apple.compass com.apple.compass com.apple.compass
Files com.apple.DocumentsApp com.apple.DocumentsApp
FaceTime com.apple.facetime com.apple.face
@AloPress
AloPress / fix-opendirectory.md
Last active April 10, 2019 13:49
A simple way to fix Open Directory via terminal. Source: http://automatica.com.au/2016/01/fix-a-broken-open-directory/

Fixing the Open Directory via macOS terminal.

sudo launchctl unload /System/Library/LaunchDaemons/org.openldap.slapd.plist
sudo /usr/libexec/slapd -Tt
sudo db_recover -cv -h /var/db/openldap/openldap-data/
sudo db_recover -cv -h /var/db/openldap/authdata/
sudo /usr/libexec/slapd -Tt
sudo launchctl load /System/Library/LaunchDaemons/org.openldap.slapd.plist

If this sequence of commands doesn’t fix it, then you will need to restore the LDAP databases from backup, which can generally be done with the following command:

@AloPress
AloPress / Zabbix-install.md
Last active October 14, 2020 09:37
Installing Zabbix Agent 4.0.1 from source on macOS Mojave with the addition of PCRE 8.42 and libiconv 1.15

Install macOS Command Line Tools

xcode-select --install

Agent log folder and log files

sudo mkdir -p /var/run/zabbix
sudo mkdir -p /var/log/zabbix
sudo touch /var/run/zabbix/zabbix_agentd.pid
@AloPress
AloPress / cfgutil
Last active October 18, 2023 20:02
Command-line iOS device management, cfgutil performs various management tasks on one or more attached iOS devices. It can be used manually and as part of automated workflows. Source: https://configautomation.com/cfgutil-man-page.html
CFGUTIL(1) BSD General Commands Manual CFGUTIL(1)
NAME
cfgutil -- Command-line iOS device management
SYNOPSIS
cfgutil [-C ] [-K ]
[-e | -f | --foreach]
[--format JSON | plist | text] [-v] command [ ...]
<!-- UI Messages - Estonian -->
<UI_Messages_ET>
<DiskSpace_Message>Kettal on liiga vähe ruumi, et paigaldada:
{0}
Nõutud ruum: {1}MB
Saadaval ruum: {2}MB
Paigalduse jätkumiseks vabastage palun kettaruumi.</DiskSpace_Message>
<ClosePrompt_ButtonContinue>Jätka</ClosePrompt_ButtonContinue>
@AloPress
AloPress / iOS Support Matrix Text (Estonian)
Last active January 13, 2019 18:06 — forked from rjstelling/iOS Support Matrix Text (english)
This is the text that needs translating so we can release localised versions of the iOS Support Matrix. Feel free to fork and translate: http://www.empiricalmagic.com/post/34832825209/ios-support-matrix-v2-0-winter-2012
iOS Toe Maatriks (Estonian)
Talv 2012 Väljaanne - v2.0
iPhone Juuni 2007
iPod touch Sept 2007, Veebr 2008 (32GB only)
iPhone 3G Juuli 2008
iPod touch (2. Põlvkond) Sept 2008 Sept 2009 - (Ainult 8GB)
iPhone 3GS Juuni 2009
iPod touch (3. Põlvkond) Sept 2009
iPad Aprill 2010
iPhone 4 Juuni 2010