Skip to content

Instantly share code, notes, and snippets.

View tempusthales's full-sized avatar
🤷‍♂️
It's not my fault, he made me do it...

Gilbert Palau tempusthales

🤷‍♂️
It's not my fault, he made me do it...
View GitHub Profile
USE_PKGBUILD=1
include /usr/local/share/luggage/luggage.make
TITLE=scriptRunnerPkg
REVERSE_DOMAIN=com.grahamgilbert
PAYLOAD=\
pack-scriptRunner
pack-scriptRunner: l_usr_local_bin
@sudo ${CP} ./scriptRunner.py ${WORK_D}/usr/local/bin/scriptRunner.py
@sudo chmod 755 ${WORK_D}/usr/local/bin/scriptRunner.py
@tempusthales
tempusthales / forceost.bat
Created August 18, 2014 22:12
ForceOSTPath and moves *.OST to new location
@echo off
setlocal enabledelayedexpansion
taskkill.exe /f /im winword.exe
taskkill.exe /f /im excel.exe
taskkill.exe /f /im msaccess.exe
taskkill.exe /f /im outlook.exe
taskkill.exe /f /im officelivesignin.exe
taskkill.exe /f /im infopath.exe
taskkill.exe /f /im onenote.exe
@tempusthales
tempusthales / install-mso.bat
Created August 18, 2014 22:15
Install MS Office 2010 + Symantec Vault
@echo off
rem kill all applications that may cause install failure!
taskkill.exe /f /im winword.exe
taskkill.exe /f /im excel.exe
taskkill.exe /f /im msaccess.exe
taskkill.exe /f /im outlook.exe
taskkill.exe /f /im officelivesignin.exe
taskkill.exe /f /im infopath.exe
@tempusthales
tempusthales / race-6-4-180-install-mac.sh
Created February 3, 2016 23:36
Install 6.4.180 KACE Agent and adds kace1000.yourserver.name and runs runkbot
#!/bin/sh
#
# Kace Remover for 5.1 and 5.3 from http://derflounder.wordpress.com
# Removes the 5.1 KBox agent
# Modified on 02/03/2016
# Gilbert Palau
#
sudo /Library/StartupItems/KBOXAgent/KBOXAgent stop
sudo /Library/KBOXAgent/Home/bin/kagentctl stop 2>&1
sudo /Library/KBOXAgent/Home/bin/SMMPctl stop 2>&1
@tempusthales
tempusthales / sophos929-preflight.sh
Last active April 12, 2016 02:15
An automated uninstall of any existing Sophos installations.
#!/bin/bash
LOGGER="/usr/bin/logger"
# Determine working directory
install_dir=`dirname $0`
# Uninstall existing copy of Sophos 8.x by checking for the
# Sophos Antivirus uninstaller package in /Library/Sophos Anti-Virus.
# If present, the uninstallation process is run.
@tempusthales
tempusthales / sophos929-postflight.sh
Created April 12, 2016 00:53
Install Sophos and restart SophosAutoUpdate to force the Sophos AutoUpdate process
#!/bin/bash
# Determine working directory
install_dir=`dirname $0`
# Install Sophos Anti-Virus
#
# Managed: $install_dir/"Sophos Installer.app/Contents/MacOS/tools/InstallationDeployer" --install
# Standalone: $install_dir/"Sophos Installer.app/Contents/MacOS/InstallationDeployer" --install
@tempusthales
tempusthales / com.drivemapper.plist
Created June 16, 2016 20:26
drive mapper launch agent
<?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>Label</key>
<string>com.yourcompanyorschool.drivemapper</string>
<key>Program</key>
<string>/Applications/Univision-Drive-Mapper.app/Contents/MacOS/applet</string>
<key>RunAtLoad</key>
<true/>
@tempusthales
tempusthales / drive-mapper.scpt
Last active June 16, 2016 20:41
AppleScript to automate adding mapped drives to mac via AD
----------------------------------------------------------------------------------------------------
--
-- Drive Mapping Script
-- Original by Ben Toms | MacMule / Modified By: Gilbert Palau
--
----------------------------------------------------------------------------------------------------
-------------------------------
--- User Information Logic
-------------------------------

Keybase proof

I hereby claim:

  • I am tempusthales on github.
  • I am gpalau (https://keybase.io/gpalau) on keybase.
  • I have a public key whose fingerprint is 7497 D74F 2829 CF28 6B0F 3186 07B0 2316 1645 D11D

To claim this, I am signing this object:

@tempusthales
tempusthales / DefaultServerSettings.ini
Last active February 7, 2017 00:59
Default Server Settings for Conan Exiles Server
[ServerSettings]
AdminPassword=dongalicious ; This is your admin password. To activate in-game type ~ then MakeMeAdmin <this password>
NPCMindReadingMode=0
MaxNudity=2
ServerCommunity=4
serverRegion=1
ConfigVersion=7
BlueprintConfigVersion=15
PlayerKnockbackMultiplier=1.000000
NPCKnockbackMultiplier=1.000000