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
<p>Hello {{contact.first_name}},</p> | |
<p>The below table is a list of all iPads currently assigned to reps...</p> | |
<br><br> | |
<table> | |
<thead> | |
<tr> | |
<th>Issued To</th> | |
<th>Asset Number</th> |
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
# Fix Cloudflare 308 trailing comma redrect issue | |
# https://community.cloudflare.com/t/cloudflare-pages-get-rid-of-redundat-308-redirect/324582/29 | |
# https://electricui.com/blog/switching-to-cloudflare-pages#how-to-disable-the-trailing-slash-on-cloudflare-pages | |
find ./dist -name 'index.html' -mindepth 2 -type f \ | |
-exec sh \ | |
-c 'parent="$(dirname "$1")"; mv "$1" "$parent/../$(basename "$parent").html";' \ | |
find-sh {} \; |
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
-- using union all to normalize | |
select id, name, foo, bar from ( | |
select * from messages | |
left join broadcasts on broadcasts.id = messages.type_id | |
where type = 'broadcast' | |
union | |
select * from messages |
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
function Deferred( executor ){ | |
var self = this; | |
this._promise = new Promise(function(resolve, reject){ | |
self._resolver = resolve; | |
self._rejector = reject; | |
if( typeof executor === 'function' ){ | |
executor(resolve, rejector) | |
} |
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
[ | |
{ | |
"code": 10001, | |
"text": "Account is not active" | |
}, | |
{ | |
"code": 10002, | |
"text": "Trial account does not support this feature" | |
}, | |
{ |
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
<script> | |
if( window.FS ){ | |
FS.identify(window.CONCO_PID, { | |
displayName: window.CONTACT_NAME || 'Portal User' | |
}); | |
} | |
</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
<script> | |
window['_fs_debug'] = false; | |
window['_fs_host'] = 'fullstory.com'; | |
window['_fs_org'] = '55HVF'; | |
window['_fs_namespace'] = 'FS'; | |
(function(m,n,e,t,l,o,g,y){ | |
if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');} return;} | |
g=m[e]=function(a,b){g.q?g.q.push([a,b]):g._api(a,b);};g.q=[]; | |
o=n.createElement(t);o.async=1;o.src='https://'+_fs_host+'/s/fs.js'; | |
y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y); |
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
Jessica | |
Sarah | |
Emily | |
Stephanie | |
Emma | |
Rebecca | |
Samantha | |
Lauren | |
Laura | |
Georgia |
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
var updates = {}; | |
//pr_id exists and the contact is starred. | |
if( contact.pr_id && contact.starred ){ | |
return false; | |
} | |
if(updates[contact.id]){ | |
clearTimeout(updates[contact.id]); | |
} |
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
alias arti="./artisan" | |
alias up="cd .." |
NewerOlder