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-16"?> | |
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> | |
<RegistrationInfo> | |
<Date>2013-03-05T14:01:44.319601</Date> | |
<Author>TRAIN1\Administrator</Author> | |
<Description>Shut down the server after specified hours of idle time</Description> | |
</RegistrationInfo> | |
<Triggers> | |
<IdleTrigger> | |
<Enabled>true</Enabled> |
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
/* | |
Resize a SDL Media Manager player. | |
By: Jan Horsman ([email protected]) | |
The function setPlayerResizeEvent() performs the resize. | |
This solution is depending on JQuery which is loaded by the Media Manager | |
player anyway. | |
See the demo on http://jsfiddle.net/Jhorsman/4RN9C/ |
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
<!DOCTYPE html> | |
<!-- | |
Using | |
- HTML5 video player | |
- show-layer-endstate event | |
Example on http://jsfiddle.net/Jhorsman/NtQrN/ | |
--> | |
<html> | |
<head> |
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
Write-Host "Restarting all Tridion Services" | |
foreach ($svc in Get-Service) | |
{ | |
if($svc.displayname.StartsWith("Tridion") -or $svc.displayname.StartsWith("SDL Web") -or $svc.displayname.StartsWith("SDL Delivery")) | |
{ | |
if($svc.Status -eq "Running") | |
{ | |
Write-Host " restarting"$svc.DisplayName | |
Restart-Service $svc.name -Force | |
} else { |
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
<# | |
.SYNOPSIS | |
Installing Assemblies to Global Assembly Cache (GAC) | |
.DESCRIPTION | |
This script is an alternative to the GACUTIL available in | |
the .NET Framework SDK. It will put the specified assembly | |
in the GAC. | |
.EXAMPLE | |
.\Add-AssemblyToGlobalAssemblyCache.ps1 -AssemblyName C:\Temp\MyWorkflow.dll | |
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"?> | |
<configuration scan="true"> | |
<!-- Properties --> | |
<property name="log.pattern" value="%date %-5level %logger{0} - %message%n"/> | |
<property name="log.history" value="7"/> | |
<property name="log.folder" value="/home/user/log"/> | |
<property name="log.level" value="INFO"/> | |
<!-- Appenders --> | |
<appender name="rollingTransportLog" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
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
Write-Host "Restarting running SDL Quatron Services" | |
foreach ($svc in Get-Service) | |
{ | |
if($svc.displayname.StartsWith("SDL Quatron")) | |
{ | |
if($svc.Status -eq "Running") | |
{ | |
Write-Host " restarting"$svc.DisplayName | |
Restart-Service $svc.name -Force |
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
<div id='71731aa0-ebaa-4e35-8b99-7c942dc3869f'></div> | |
<script type="text/javascript"> | |
$.getScript('http://sdl-training.dist.sdlmedia.com/vms/distribution/embed/?o=2981B015-A171-4C6A-BEC6-9C0BC80B9F4E&trgt=71731aa0-ebaa-4e35-8b99-7c942dc3869f') | |
</script> | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<!--<script src="jquery-2.0.3.min.js"></script>--> | |
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#myPlayer").bind("player-ready", event_playerready); | |
$(document).bind("MMPLAYERREADY", event_MMPLAYERREADY); | |
}); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script> | |
<script> | |
$(document).bind("MMPLAYERREADY", subscribePlayPauseEvent); | |
function subscribePlayPauseEvent() { | |
$("#myPlayer").find(".ppplay").first().click(trackVideoPlay); | |
$("#myPlayer").find(".pppause").first().click(trackVideoPause); |
OlderNewer