<?xml version="1.0" encoding="US-ASCII"?>
<msml version="1.1">
<dialogstart target="conn:96460211_47d11d3c_68118bc2-db9d-4f75-914d-cc88861e0294" type="application/moml+xml" name="3">
<play cvd:barge="true" cvd:cleardb="false">
<audio uri="file://5011"/>
<playexit>
<send target="source" event="app.playdone" namelist="play.amt play.end"/>
</playexit>
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
| var async = require('async'); | |
| var obj = [ "apple", "banana", "orange", "pineapple", "kiwi", "watermelon", "grape" ]; | |
| function getObj(i, callback) { | |
| setTimeout(function() { | |
| console.log(i) | |
| callback(null); | |
| }, 2000); | |
| } |
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
| -- LET'S SAY WE NEED TO LIST THROUGH ALL LAST NAMES AND PERFORM SOME ACTION | |
| -- ON LAST NAMES BEGINNING WITH THE LETTER S | |
| SELECT StaffId, LastName FROM Staff WHERE LastName LIKE 'S%' | |
| -- THIS RETURNS A SET AS SUCH | |
| -- StaffId LastName | |
| -- ======= ======== | |
| -- 11 Sherwood | |
| -- 35 Schmidt | |
| -- 41 Sauvé |
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
| [System.IO.FileInfo] $outputFile = "C:\AclCompareDump.txt" | |
| [System.IO.DirectoryInfo] $searchDir = Read-Host -Prompt "Enter folder path to search" | |
| if ($outputFile.Exists) | |
| { | |
| $outputFile.Delete() | |
| } | |
| if ($searchDir.Exists) | |
| { |
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
| author "Your Name" | |
| description "upstart script for sample-dw-service" | |
| # respawn the job up to 5 times within a 10 second period. | |
| # If the job exceeds these values, it will be stopped and | |
| # marked as failed. | |
| respawn | |
| respawn limit 5 10 | |
| # move to this service's working directory |
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
| mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile=jta.jar | |
| mvn install:install-file -DgroupId=microsoft -DartifactId=sqljdbc4 -Dversion=4.0 -Dpackaging=jar -Dfile=sqljdbc.jar |
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
| #re-sync time for a CentOS VM which was sleeping | |
| /etc/init.d/ntpd stop | |
| ntpdate pool.ntp.org | |
| /etc/init.d/ntpd start | |
| date |
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
| #Does an OPTIONS and shows the output | |
| sipsak -d -v -s sip:msml@10.211.55.2 |