This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Disable Icon preview for all column view | |
UserList=$(ls -1 /Users | grep -vi .localized | grep -vi Shared | grep -vi Deleted | grep -vi guest | grep -vi root) | |
for u in $UserList ; | |
do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>PayloadContent</key> | |
<array> | |
<dict> | |
<key>PayloadDisplayName</key> | |
<string>Screensaver</string> | |
<key>PayloadIdentifier</key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>PayloadContent</key> | |
<array> | |
<dict> | |
<key>PayloadDisplayName</key> | |
<string>Restrictions</string> | |
<key>PayloadIdentifier</key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apple Remote Desktop and the screen sharing service on the Macs by default do not allow network accounts to remotely log in. This set of commands will create a screen sharing permission group on the Mac, enable directory logins to remote desktop, and add an AD group (when bound to AD) to the remote desktop permission group. | |
ARD must already be enabled with screen sharing for this to work, you can't kick off ARD from nothing without GUI interaction as of macOS Mojave but you can modify it. | |
Original info about how to do this pulled from the following google group: https://groups.google.com/forum/#!msg/macenterprise/-p6pyMPAt04/qRJ_VbIuscQJ | |
Create the ARD Interact security group: | |
sudo /usr/sbin/dseditgroup -n /Local/Default -o create com.apple.local.ard_interact |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os, shutil, hashlib | |
folderNames = [] | |
startingDir = '.' | |
foldersRootDir = os.path.realpath(startingDir) | |
unsortedFilesDirName = 'Z-Unsorted' | |
unsortedFilesDir = os.path.join(foldersRootDir,unsortedFilesDirName) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
depth = 0 | |
slotFill = 1 | |
slotKelp = 5 | |
slotGate = 9 | |
slotDirt = 10 | |
slotSoul = 11 | |
slotWater = 12 | |
print("Builds a bubblevator. Face turtle at fence gate direction. Water ends up one block forward from turtle's current position.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("ID: "..os.getComputerID().." Label: "..os.getComputerLabel()) | |
turtle = 34 | |
os.loadAPI("touchpoint") | |
peripheral.find("modem", rednet.open) | |
mon = peripheral.wrap("top") | |
mon.setTextScale(.7) | |
monW,monH = mon.getSize() | |
local pageFood = touchpoint.new("top") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
maxSize = 27 | |
edgeGap = 2 | |
midGap = 5 | |
math.randomseed(os.time()) | |
grid = {} | |
-- set up basic grid values | |
for x = 1,maxSize do | |
grid[x] = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mon = peripheral.find("monitor") | |
bridge = peripheral.find("rsBridge") | |
os.startTimer(1) | |
mon.setTextScale(.5) | |
mon.clear() | |
monW,monH = mon.getSize() | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--{program="tClear",version="1.00",date="2021-03-28"} | |
--------------------------------------- | |
-- tClear by Kaikaku | |
-- 2021-03-28, v1.00 three-way digging | |
-- 2016-03-13, v0.90 dig on way back | |
-- 2014-09-27, v0.80 dig sand | |
-- 2013-09-01, v0.10 initial | |
--------------------------------------- | |
--------------------------------------- |
OlderNewer