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
| ############################################################################### | |
| # Version 1: using ‘apt-get install’ | |
| # Installs using apt-get | |
| # Requires update to npm afterwards | |
| # Harder to get latest copy of node | |
| # Requires sudo to use npm | |
| ############################################################################### | |
| # create new docker ubuntu container | |
| sudo docker run -i -t ubuntu /bin/bash # drops you into container as root |
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
| <script runat="server" language="JavaScript"> | |
| // src: https://gist.github.com/wvpv/19777e1167d6ac91e2e8 | |
| // demo: https://pub.s7.exacttarget.com/yo3hzpktgmu?qs=7145718410d87e2af4e5001112e1de43e2e457b69041ac21&mid=7203368 | |
| Platform.Load("core", "1"); | |
| var debug = true; | |
| var request = {}; |
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
| <script runat="server"> | |
| Platform.Load("core", "1.1.1"); | |
| function pruneRows () { | |
| var DERowKeys = DataExtension.Init("DEofRowKeys"); | |
| var DERowKeyRows = DERowKeys.Rows.Lookup(["ProcessedFlag"], [0], 50, "RowDate"); | |
| var returnString = ""; |
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
| <script type="javascript" runat="server"> | |
| Platform.Load("core","1.1.5"); | |
| var DE = "Contacts_To_Delete"; | |
| var logDE = "Contacts_To_Delete_Log"; | |
| var log = DataExtension.Init(logDE); | |
| var url = 'https://auth.exacttargetapis.com/v1/requestToken'; | |
| var contentType = 'application/json'; |