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
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:template match="@*|node()"> | |
<xsl:copy><xsl:apply-templates select="@* | node()"/></xsl:copy> | |
</xsl:template> | |
<xsl:template match="item_list"> | |
<xsl:copy> | |
<xsl:apply-templates select="@*|node()"> | |
<xsl:sort select="ln"/> | |
</xsl:apply-templates> |
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 | |
## https://crosstalksolutions.com/freepbx-polycom-directory-automation/ | |
## Runs every hour from "nano -w /etc/crontab" | |
## http://thyrusgorges.com/post/generate-polycom-xml-directory-using-freepbx/ | |
# Author: Thyrus Gorges | |
# Date: 2015/03/04 | |
#The MIT License (MIT) |
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 | |
# Sorts the Polycom directory file by last name | |
# That original file is produced by: https://crosstalksolutions.com/freepbx-polycom-directory-automation/ | |
# XSL code taken from: https://stackoverflow.com/questions/28322438/sort-xml-in-alphabetic-order | |
# XSL file is at: https://gist.github.com/nathandarnell/0c7cac5e628a43b126f96d7c64970cf9#file-polycom-dir-xslt-xsl | |
# Runs every hour from "nano -w /etc/crontab" |
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
// Settings - Modify this with your values | |
// ************************* | |
// User Defined in the Script | |
var API_KEY = ''; | |
var ORG_ID = ''; | |
var NET_ID = ''; | |
var TIMESPAN = ''; | |
// User Defined in a Sheet |
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/sh | |
# SetHomepages.sh | |
# Change Chrome and Safari Homepage | |
# This script assumes that default preference files for all three browsers have been installed | |
# with FUT/FEU options in Casper. | |
# Define homepage |
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
#All backups go to here automatically: | |
#/var/lib/vz/dump | |
#install rclone if uninstalled or update available | |
#downloads page is http://rclone.org/downloads/ | |
wget http://downloads.rclone.org/rclone-current-linux-amd64.zip | |
# version on webpage is http://downloads.rclone.org/rclone-v1.33-linux-amd64.zip | |
# from: http://blog.mattwynne.net/2008/04/26/fetch-and-parse-html-web-page-content-from-bash-wow/ | |
# Download ZIP, keep zip in working folder, check future runs against HTML piped through w3c for newer versions | |
# from: http://tips.webdesign10.com/scrape-web-pages-gnu-linux-shell: |
OlderNewer