All Projects → initialed85 → mac_os_scripts

initialed85 / mac_os_scripts

Licence: MIT license
Some scripts for automating Windows domain stuff for MacOS machines

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to mac os scripts

NotionAI-MyMind
This repo uses AI and the wonderful Notion to enable you to add anything on the web to your "Mind" and forget about everything else.
Stars: ✭ 181 (+570.37%)
Mutual labels:  apple
Open-Mam
Open Source Mobile Application Management (WORK IN PROGRESS)
Stars: ✭ 28 (+3.7%)
Mutual labels:  apple
apple-knowledge
A collection of reverse engineered Apple things, as well as a machine-readable database of Apple hardware
Stars: ✭ 338 (+1151.85%)
Mutual labels:  apple
iOS-Shortcuts-Reference
Reference documentation for the iOS Shortcuts app file structure
Stars: ✭ 89 (+229.63%)
Mutual labels:  apple
ipatool
Command-line tool that allows searching and downloading app packages (known as ipa files) from the iOS App Store
Stars: ✭ 2,438 (+8929.63%)
Mutual labels:  apple
Clover GA-H97-D3H
No longer maintained, now OpenCore is supported
Stars: ✭ 25 (-7.41%)
Mutual labels:  apple
ALButtonMenu
A simple, fully customizable menu solution for iOS.
Stars: ✭ 45 (+66.67%)
Mutual labels:  apple
apns2
Node client for connecting to Apple's Push Notification Service using the new HTTP/2 protocol with JSON web tokens
Stars: ✭ 66 (+144.44%)
Mutual labels:  apple
Gunfish
No description or website provided.
Stars: ✭ 35 (+29.63%)
Mutual labels:  apple
Dumb
Dumain Bruteforcer - a fast and flexible domain bruteforcer
Stars: ✭ 54 (+100%)
Mutual labels:  domain
registry
TLD Management Software
Stars: ✭ 32 (+18.52%)
Mutual labels:  domain
apfs
Package apfs implements an Apple File System(apfs) bindings for Go
Stars: ✭ 30 (+11.11%)
Mutual labels:  apple
react-native-single-select
Customizable & Easy to Use Single Select Library for React Native
Stars: ✭ 74 (+174.07%)
Mutual labels:  apple
react-native-header-search-bar
Fully customizable header search bar for React Native
Stars: ✭ 101 (+274.07%)
Mutual labels:  apple
flying-apple
Just to keep track of nice content and new announcements related to Apple products and Swift
Stars: ✭ 45 (+66.67%)
Mutual labels:  apple
HyperCardPreview
Little app to see HyperCard stacks in Mac OS X. Programmed in Swift.
Stars: ✭ 111 (+311.11%)
Mutual labels:  apple
mbpfan
A simple daemon to control fan speed on all MacBook/MacBook Pros (probably all Apple computers) for Linux Kernel 3 and newer
Stars: ✭ 680 (+2418.52%)
Mutual labels:  apple
add-to-calendar-button
A convenient JavaScript snippet, which lets you create beautiful buttons, where people can add events to their calendars.
Stars: ✭ 697 (+2481.48%)
Mutual labels:  apple
DDD
Domain-Driven Design is a software development approach in which it utilizes concepts and good practices related to object-oriented programming.
Stars: ✭ 51 (+88.89%)
Mutual labels:  domain
IP2Location-PHP-Module
This module is a PHP module that enables the user to find the country, region, city, coordinates, zip code, ISP, domain name, timezone, connection speed, IDD code, area code, weather station code, weather station name, mobile, usage types, address type, IAB category, etc that any IP address or host name originates from.
Stars: ✭ 154 (+470.37%)
Mutual labels:  domain

MacOS scripts

This repo contains some scripts that help in the management of MacOS machines on a Windows domain.

They were put together to supplement a project that consisted of:

  • Windows DCs
  • a MacOS server
  • Parallels Mac Management

The scripts are broken into two parts:

  • run_during_build.sh - scripts that run during the computer build (as a privileged user)
  • run_during_login.sh - scripts that run during logon (as the user logging on)

The two entrypoint scripts above are written in Bash and the rest of the scripts are written in Python to make for easy unit testing (with the exception of a Bash script and a AppleScript script called by Python).

There are also some scripts in the "user template" folder with a README of their own- these will assist you in creating a user template to your liking.

How do I use it?

Frankly I don't know, I'm not a sysadmin- I just write the scripts. As best I understand it you can load files in at build time and tell scripts to run.

What you will want to do is edit run_during_build.sh and put all the necessary passwords, network paths etc in before you mix the script into your image building system.

Then, when you're ready to ship it, simply run "build.sh" or "build.bat" (depending on your platform) and it should put all the necessary parts into a "deploy" folder for you.

How do I work on it?

Prerequisites (assuming you're on a Mac):
  • pip (brew install pip)
  • virtualenvwrapper (pip install virtualenvwrapper)
Create the Python virtualenv

mkvirtualenv mac_os_scripts

Activate the Python virtualenv

workon mac_os_scripts

Install the requirements

pip install -r requirements-dev.txt

Run the tests

py.test -v

Make your changes

Code-wise, the things to be aware of are:

  • utils.py contains the base utils to interact with the system (run commands, read and write files etc)
    • also contain some helper functions to assist with argument parsing
  • common.py contains the base CLITieIn object that implements some of those commands along with a logger

Look at any of the scripts to get an idea of how to use the argument parser and the CLITieIn and how to test stuff

Credits
License

The scripts I have written are licensed under under the MIT license (see LICENSE.txt); gfxCardStatus is licensed under the New BSD license (see LICENSE_gfxCardStatus.txt)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].