Skip to content

Instantly share code, notes, and snippets.

View mrowell's full-sized avatar

Marcus Rowell mrowell

View GitHub Profile
@mrowell
mrowell / digital-literacy.md
Last active October 27, 2020 22:24
What is Digital Literacy?

What is Digital Literacy?

Our Organisation is a digital organisation

Our products all require digital workflow and delivery. We need to be Digitally Literate to be efficient and effective.

Just being able to type fast is a small part of our daily work. Just being able to use Word, Excel, Outlook effectively is a small part.

Why do I need to be Digitally Literate?

We need to:

@mrowell
mrowell / Word Character and Paragraph Style Test.WORD.yaml
Last active February 15, 2020 03:51
Create a new snippet from a blank template.
name: Word Character and Paragraph Style Test
description: Create a new snippet from a blank template.
host: WORD
api_set: {}
script:
content: |
$("#placeText").click(() => tryCatch(placeText));
$("#applyCharacterStyle").click(() => tryCatch(applyCharacterStyle));
$("#applyParagraphStyle").click(() => tryCatch(applyParagraphStyle));
### Keybase proof
I hereby claim:
* I am mrowell on github.
* I am mrowell (https://keybase.io/mrowell) on keybase.
* I have a public key ASD2brL8arRbcC0JORGfPU1XDxBDg8mTtfLaAHMFo821Igo
To claim this, I am signing this object:
#!/bin/bash
#Check for Kasepersky launch agent
if [ -f /Library/Application\ Support/Kaspersky\ Lab/klnagent/Binaries/UninstallScript ]; then
echo "klnagent exists - uninstalling"
/Library/Application\ Support/Kaspersky\ Lab/klnagent/Binaries/UninstallScript
fi
if [ -f /Library/Application\ Support/Kaspersky\ Lab/KAV/Binaries/UninstallScript ]; then
echo "KAV exists - uninstalling"
@mrowell
mrowell / remove-phantom-volumes.sh
Last active March 3, 2017 05:36
Remove Phantom Folders from /Volumes
#!/bin/bash
for path in /Volumes/*; do
echo "checking $path"
if [[ -d "$path" ]] && [[ "$path" != "/Volumes/MobileBackups" ]] ; then
notADisk=`diskutil list "$path" | grep -c "Could not find disk"`
notAShare=`df -H | grep -c "$path"`
if [[ "$notADisk" == 1 ]] && [[ "$notAShare" == 0 ]] ; then
@mrowell
mrowell / gist:7d28c7e2b8720d624db0
Created October 30, 2014 22:14
IIS rewrites for reposado
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<directoryBrowse enabled="true" />
<rewrite>
<rules>
<rule name="Darwin/8" stopProcessing="true">
<match url="^/index(.*)\.sucatalog$" />
<conditions>
<add input="{HTTP_USER_AGENT}" pattern="Darwin/8" />