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
rem Prerequisite: Visual Studio 2019 with "Desktop Development with C++" workload installed (different versions may work with modifications) | |
rem Prerequisite: Python 2.7 or 3.8 (Subversion's 3.x support is experimental, so this script still uses 2.7) | |
rem Prerequisite: JDK, uses Amazon Corretto 8: https://corretto.aws/downloads/latest/amazon-corretto-8-x64-windows-jdk.zip (Update path below) | |
rem Prerequisite: OpenSSL, download from: https://slproweb.com/products/Win32OpenSSL.html | |
rem md \build-svn | |
rem md \build-svn\svn | |
rem download httpd 2.4 from https://www.apachelounge.com/download/ -> \build-svn\Apache24 | |
rem download subversion 1.14.x from https://subversion.apache.org/download.cgi#recommended-release -> \build-svn\subversion-%VERSION% | |
rem download serf 1.3.10 from https://downloads.apache.org/serf/serf-1.3.10.zip -> \build-svn\serf-1.3.10 | |
rem download serf.mak from https://github.com/Jan-E/svn-windows/raw/master/serf.mak -> \build-svn\serf-1.3.10\serf.mak |
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
/* | |
* Infinite Scroll js, no jQuery reliance | |
* | |
*/ | |
var activeCall = false, | |
triggerSelector = '.product-item', | |
triggerElem, | |
pixelsBeforeTrigger = 300, | |
div = document.querySelector('#dataParentDiv > .row'), |
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
// if using as standalone package, add package reference to Umbraco.Cms.Web.Common (9.0+) | |
// We use this to authenticate against a rotating password, which keeps access to employees | |
// If an employee leaves or it's suspected to be compromised it can be rotated at will | |
using Newtonsoft.Json; | |
using System.IO; | |
using System.Net; | |
using System.Threading.Tasks; | |
using Umbraco.Cms.Core.Security; |