Council role: Operator (run-it-in-prod pressure test) Topic: Music Site and Blog — soundfactory.com / teropotila.com migration off Angular/AWS to Cloudflare Date: 2026-06-20
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
| #!/usr/bin/env bash | |
| # macOS_fix_spotlight.sh — drop .metadata_never_index in build/cache dirs | |
| # so mds_worker stops melting your CPU walking node_modules etc. | |
| # | |
| # GUI alternative: System Settings → Spotlight → Search Privacy (bottom of | |
| # the pane) lets you add directories Spotlight should ignore entirely. This | |
| # script is the recursive, repo-aware version — it marks only the noisy | |
| # build/cache subdirs and leaves source trees searchable. | |
| # | |
| # Other OSes have their own Spotlight-equivalents (not addressed by this |
This assumes you've setup a AWS Account and logged into the AWS Console. Any one new to AWS there is also a CLI available. AWS will give you a root AccessKey and Token, and from that point forward you can configure users through IAM.
Important things to note since there is a order/method to your setup. Do things out of order and it may require you to Invalidate paths since CloudFront will cache your site in edge locations. You are allowed 2000 path updates until they start charging you. So if you have a ton of files, use that feature sparingly. What gets cached?
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"/> | |
| <title>Merge Test #jsbench #jsperf</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
| <script src="./suite.js"></script> | |
| </head> | |
| <body> | |
| <h1>Open the console to view the results</h1> |
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 requirejs, define, require, CI, $, jQuery */ | |
| /*jslint devel: true, browser: true */ | |
| /** | |
| * Require Config | |
| * This is all the core scripts needed to be available at runtime. | |
| * Includes CDN and local file fail over. | |
| * Shim will control the availability of dependent libraries/scripts. | |
| * domReady included to insure it all kicks off right. | |
| * @usage <script data-main="js/config" src="js/vendor/requirejs/require.min.js"></script> | |
| */ |
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
| [ | |
| { | |
| "name": "imsmanifest.xml" | |
| }, | |
| { | |
| "contents": [ | |
| { | |
| "contents": [ | |
| { | |
| "contents": [ |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <manifest xmlns:adlcp="http://www.adlnet.org/xsd/adlcp_v1p3" xmlns:imsss="http://www.imsglobal.org/xsd/imsss" | |
| xmlns:adlnav="http://www.adlnet.org/xsd/adlnav_v1p3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns:adlseq="http://www.adlnet.org/xsd/adlseq_v1p3" xmlns:lom="http://ltsc.ieee.org/xsd/LOM" | |
| xmlns:imss="http://www.imsglobal.org/xsd/imsss" | |
| xsi:schemaLocation="http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p1.xsd http://www.adlnet.org/xsd/adlcp_v1p3 adlcp_v1p3.xsd http://www.adlnet.org/xsd/adlseq_v1p3 adlseq_v1p3.xsd http://www.adlnet.org/xsd/adlnav_v1p3 adlnav_v1p3.xsd http://www.imsglobal.org/xsd/imsss imsss_v1p0.xsd http://ltsc.ieee.org/xsd/LOM lom.xsd" | |
| identifier="ims_sequencing_objectives" version="1.0.0" xmlns="http://www.imsglobal.org/xsd/imscp_v1p1"> | |
| <metadata> | |
| <schema>ADL SCORM</schema> | |
| <schemaversion>2004 3rd Edition</schemaversion> |
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
| { | |
| "cmi": { | |
| "_version": "1.0", | |
| "comments_from_learner": { | |
| "_children": "comment,location,timestamp", | |
| "_count": "8", | |
| "0": { | |
| "comment": "This is a comment from learner", | |
| "location": "QUnit Test", | |
| "timestamp": "2013-01-28T15:04:39.1-08:00" |