This file contains hidden or 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-1.10.1.min.js"></script> | |
</script> | |
<script> | |
$(document).ready(function(){ | |
$("#label").text("Hello world!"); | |
}); | |
</script> |
This file contains hidden or 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
javascript:(function(){alert("Hello, World!");}()); |
This file contains hidden or 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
Gist can do tagging after all... Just search for @username and #tagname | |
I.e. https://gist.github.com/search?q=%40jhorsman+%23tagging |
This file contains hidden or 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
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %> | |
<%@ page language="java"%> | |
<%@ page import="java.net.URI" %> | |
<%@ page import="com.tridion.ambientdata.claimstore.ClaimStore" %> | |
<%@ page import="com.tridion.ambientdata.AmbientDataContext" %> | |
<%@ taglib uri="smarttarget" prefix="smarttarget" %> | |
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> | |
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
This file contains hidden or 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
<appender name="rollingContextLog" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |
<fileNamePattern>${log.folder}/cd_context.%d{yyyy-MM-dd}.log</fileNamePattern> | |
<maxHistory>${log.history}</maxHistory> | |
</rollingPolicy> | |
<encoder> | |
<charset>${log.encoding}</charset> | |
<pattern>${log.pattern}</pattern> | |
</encoder> | |
<prudent>true</prudent> |
This file contains hidden or 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/tnwin/tnsmart/log"/> | |
<property name="log.level" value="INFO"/> | |
<!-- Appenders --> |
This file contains hidden or 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="c:/tridion/log"/> | |
<property name="log.level" value="WARN"/> | |
<!-- Appenders --> | |
<appender name="rollingSmartTargetLog" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
This file contains hidden or 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
@echo off | |
@echo Stopping Tridion Services | |
REM stopping the services with 'net stop' instead of 'sc stop' (this is synchronous) | |
net stop TCMPublisher | |
net stop TcmSearchIndexer | |
net stop TcmServiceHost | |
@echo Stopping Tridion Com+ application | |
cscript "..\..\..\Stop ComPlus.vbs" |
This file contains hidden or 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
mytax.TaxonomyFilter = | |
new DepthFilter(DepthFilter.UnlimitedDepth, DepthFilter.FilterDown); |
This file contains hidden or 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
Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -recurse | | |
Get-ItemProperty -name Version -EA 0 | | |
Where { $_.PSChildName -match '^(?!S)\p{L}'} | | |
Select PSChildName, Version |