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
<?php | |
// Wordpress Themes built with Sage (http://roots.io) | |
// These actions will dequeue all junk CSS and JS that plugins attempt to include in your theme: | |
function dequeue_doubleup_styles() { | |
wp_dequeue_style('minimax-bootstrap'); | |
wp_dequeue_style('module-styles'); | |
wp_dequeue_style('wp-color-picker'); | |
wp_dequeue_style('row-styles'); | |
wp_dequeue_style('fa'); |
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 collapseSrc = function(file) { | |
return lazypipe() | |
.pipe(function(){ | |
return through.obj(function(file, enc, cb) { | |
var contentTypes = { | |
".png": "image/png", | |
".gif": "image/gif", | |
".jpg": "image/jpeg", | |
".jpeg": "image/jpeg", | |
".bmp": "image/bmp", |
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 username = process.env.USERNAME; // See selenium.env | |
var authkey = process.env.PASSWORD; | |
var webdriver = require('selenium-webdriver'), | |
SeleniumServer = require('selenium-webdriver/remote').SeleniumServer, | |
request = require('request'); | |
var remoteHub = "http://" + username + ":" + authkey + "@hub.crossbrowsertesting.com:80/wd/hub"; | |
var browsers = [ |
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
SELECT | |
MobileMessageTrackingID, | |
EID, | |
MID, | |
Mobile, | |
MessageID, | |
KeywordID, | |
CodeID, | |
ConversationID, | |
CampaignID, |
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"); | |
var api = new Script.Util.WSProxy(); | |
try { | |
var cols = [ "ContactId", "Email" ]; | |
var data = api.retrieve("DataExtensionObject[TEST SMS Info Capture]", cols); |
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"); | |
var accessToken = {{yourToken}}; | |
var url = 'https://www.exacttargetapis.com/asset/v1/content/assets/{{ContentID}}' | |
var payload = '{{yourPayload}}'; | |
var auth = 'Bearer ' + accessToken; |
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
utm_source=SFMC&utm_medium=Email&UTM_campaign=%%emailname_%%&UTM_content=%%emailname_%%_%%jobid%%&UTM_Term=%%linkname%% |
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
global void finish(Database.BatchableContext BC){ | |
enableTriggers(); | |
} | |
global static void enableTriggers() { | |
toggleTriggers(true); | |
} |
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
context.Domain +"/api/myEndpoint?page=" + ((Integer)globalMap.get("tLoop_1_CURRENT_ITERATION")) |
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
-- Use window functions to remove duplicate rows: | |
SELECT * EXCEPT(row_number) | |
FROM ( | |
SELECT | |
Email, | |
ROW_NUMBER() OVER (PARTITION BY Email) row_number | |
FROM Dataset.Emails | |
) | |
WHERE row_number = 1 |
OlderNewer