<script>
document.addEventListener("DOMContentLoaded", function() {
$('[id=sw-email-capture-submit-btn]').click(function() {
if($('.sw-input-invalid').length) {
return;
}
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> | |
/** this needs to be changed if block ids get changed score fields get changed **/ | |
const blockMapping = { | |
'list-details7': { | |
'field1' : 'F.O.R. Score', | |
'field2' : 'Status FOR' | |
}, | |
'list-details6': { | |
'field1' : 'High Score 4', | |
'field2' : 'Test 4 Status' |
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
import sun.misc.Cleaner; | |
import sun.misc.Unsafe; | |
import sun.nio.ch.DirectBuffer; | |
import java.lang.reflect.Field; | |
import java.nio.ByteBuffer; | |
// How to run: | |
// struct: javac ObjectVsStruct.java && java ObjectVsStruct struct | |
// object: javac ObjectVsStruct.java && java ObjectVsStruct object |
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> | |
document.addEventListener("DOMContentLoaded", function () { | |
/* Intercept into Airtable call */ | |
window['records'] = []; | |
$.ajaxSetup({ | |
dataFilter: function (data, type) { |
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
<style> | |
#pricing9584 .sw-pricing-column{ max-width: 18%; flex: 0 0 18%; text-align: center; padding: 16px 15px; box-sizing: border-box; } #pricing9584 .pricing-table .features:not(.buttons-row):hover{ background-color: #f3f4f8; } #pricing9584 .pricing-table .features{ align-items: baseline; } #pricing9584 .pricing-table { border-top: 1px solid #f3f4f8; padding: 30px 0; } #pricing9584 .pricing-header { margin-bottom: .83333333vw; } #pricing9584 .table-name{ font-weight: 500; } #pricing9584 .column--first{ max-width: 28%; flex: 0 0 28%; text-align: left; color: #1C2B41; font-size: 18px; padding: 10px 12px; } #pricing9584 .pricing-tier{ font-size: 18px; } #pricing9584 .pricing-title{ color: #1C2B41; position: relative; font-size: 1.16666667vw; line-height: 1.66666667vw; font-weight: 500; } #pricing9584 .sw-pricing-title--big{ font-size: 1.5vw; line-heig |
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
{ | |
"tables": [ | |
{ | |
"id": "tbl2g31JZOaP5v35E", | |
"name": "Jobs", | |
"primaryFieldId": "fldKWJFMfX27nTZAw", | |
"fields": [ | |
{ | |
"type": "singleLineText", | |
"id": "fldKWJFMfX27nTZAw", |
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> | |
document.addEventListener("DOMContentLoaded", function() { | |
const category = getUrlParam('category'); | |
if(category) { | |
const existCondition = setInterval(function() { | |
if ($('span[data-value="' + category.trim() + '"]').length) { | |
$('span[data-value="' + category.trim() + '"]').click(); | |
clearInterval(existCondition); | |
} | |
}, 100); |
<script>
document.addEventListener("DOMContentLoaded", function() {
$('.js-filter').eq(2).addClass('d-none');
$('.js-filter').eq(3).addClass('d-none');
$('.js-filter-option').click(function(){
setTimeout(function(){
let containsShoes = false;
let containsJeansOrPants = false;