profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/AramZS/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Aram Zucker-Scharff AramZS @washingtonpost and @PressForward New York, New York http://hacktext.com

AramZS/AdSandbox 3

Take a shovel and pail to ads everywhere by putting them in sandboxes and securing your web surfing experience without blocking them (and journalism profits) entirely.

AramZS/A-SES 1

SES WordPress theme

AramZS/adstxtcrawler 1

A reference implementation in python of a simple crawler for Ads.txt

AramZS/augmented-ui 1

Cyberpunk-inspired web UI made easy. Get augmented.

AramZS/boxedin 1

Boxed In WordPress theme

AramZS/broadside-hybrid 1

Creating a ThemeFit Hybrid child theme

AramZS/cite-this 1

Redoing the Cite This plugin to work with modern WordPress installs.

AramZS/11ty-website 0

Documentation site for the Eleventy static site generator.

pull request commentw3c/web-advertising

Adding template for detailed use case documentation and first use case in-detail document

There seems to be an interest in the group so I think an HTML mockup makes sense. I'll work on that first. I agree that collections looks like a good way to go.

AramZS

comment created time in 2 days

delete branch w3c/web-advertising

delete branch : add-more-testing-ops-aramzs

delete time in 2 days

delete branch w3c/web-advertising

delete branch : add-testing-tools

delete time in 2 days

delete branch w3c/web-advertising

delete branch : wseltzer-patch-5

delete time in 2 days

delete branch w3c/web-advertising

delete branch : understanding-privacy-advocates

delete time in 2 days

delete branch w3c/web-advertising

delete branch : wseltzer-sushi

delete time in 2 days

push eventw3c/web-advertising

Aram Zucker-Scharff

commit sha 1903b68db4df4cab12cdac5423c7082f434da39c

Adding the Self-Review Questionnaire that came up

view details

push time in 2 days

pull request commentw3c/web-advertising

Adding a link to the TAG privacy principles doc

Fixing tabbing.

AramZS

comment created time in 2 days

PR opened w3c/web-advertising

Reviewers
Adding a link to the TAG privacy principles doc

Since this has come up in our calls more than once, I think it makes sense for a link to be added to the ideas and proposals area.

Adding:

+4 -2

0 comment

1 changed file

pr created time in 2 days

create barnchw3c/web-advertising

branch : add-tag-work-privacy-principles

created branch time in 2 days

push eventAramZS/AdSandbox

Aram Zucker-Scharff

commit sha 5553956a67b0bda2167558bf93761e048d0ccb21

Add some new needed urls to the base allowlist

view details

push time in 6 days

push eventAramZS/devblog

AramZS

commit sha 6fde339431bb3f171352702855ef3bcd63ef538c

deploy: 10a27dda8e0d2f2b1790f4a2091725b62c819f49

view details

push time in 17 days

push eventAramZS/devblog

Aram Zucker-Scharff

commit sha 10a27dda8e0d2f2b1790f4a2091725b62c819f49

Slight fixes to page 24 and template

view details

push time in 17 days

push eventAramZS/devblog

AramZS

commit sha e5852fa8bf0b0691fcc1ce13975c80d350cde38a

deploy: 619e46965c414255ed4c1e1dc721f6d40751d201

view details

push time in 17 days

push eventAramZS/devblog

Aram Zucker-Scharff

commit sha 619e46965c414255ed4c1e1dc721f6d40751d201

Putting last commit msg in day 24

view details

push time in 17 days

push eventAramZS/devblog

AramZS

commit sha a6980effa1e230b95f35badc09aa937652923e35

deploy: 014b135ee57df77b27e6180d2a2a894c3e2f6dc7

view details

push time in 18 days

push eventAramZS/devblog

Aram Zucker-Scharff

commit sha 224180a3e9028f2854d7fc5622832543d8170845

Reverse chronological order on feeds.

view details

Aram Zucker-Scharff

commit sha 083babda199a04d4777e6abb0fabd2342ef843e1

Fix post tag section styling

view details

Aram Zucker-Scharff

commit sha f2e6651cc700de43a60ba6c860be6135ff427a27

Add table of contents to posts

view details

Aram Zucker-Scharff

commit sha 724988a41d3d8b4390b42cf3a310092fe2328bfb

Finishing off day 23, TOC working, pagination is not.

view details

Aram Zucker-Scharff

commit sha 4cd8ef7aae3e5c14876cd8fb681250a9ce9c0a8a

Set up tags pages' pagination and fix njk template inheretence.

view details

Aram Zucker-Scharff

commit sha 014b135ee57df77b27e6180d2a2a894c3e2f6dc7

Merge branch 'main' of github.com:AramZS/devblog

view details

push time in 18 days

issue comment11ty/eleventy

Redefining Nunjucks environment causes significant impact to other rendering behavior

Thanks to @pdehaan for helping me debug the core issue, I agree this was an issue out of confusing trying to pass options to a new Nunjucks environment, so put my vote behind the idea of a setNunjucksOptions function! There may be some other issue here that I'm still trying to work through, but it doesn't appear to be an 11ty issue, so this ticket can remain closed.

AramZS

comment created time in a month

push eventAramZS/devblog

AramZS

commit sha 3c64214741776dced8cd949cce499c488b8458f9

deploy: 0de1b80350e3fc7ab4d6ae58307068b18be61caa

view details

push time in a month

push eventAramZS/devblog

Aram Zucker-Scharff

commit sha 0de1b80350e3fc7ab4d6ae58307068b18be61caa

Update README.md

view details

push time in a month

push eventAramZS/devblog

AramZS

commit sha d7468f65c9845f234c3b377690eee2c3af7913b3

deploy: 4e4fd0139dfecf65b13cabc7394b869163ceabe6

view details

push time in a month

push eventAramZS/devblog

Aram Zucker-Scharff

commit sha 4e4fd0139dfecf65b13cabc7394b869163ceabe6

Finishing off day 22

view details

push time in a month

push eventAramZS/devblog

AramZS

commit sha c230ce291b120f09bd8a46581a98f152c8463711

deploy: 002e0c54f0f705508c9ca31d426d7277f9e4e982

view details

push time in a month

push eventAramZS/devblog

Aram Zucker-Scharff

commit sha 002e0c54f0f705508c9ca31d426d7277f9e4e982

Finishing off day 22

view details

push time in a month

Pull request review commentAramZS/devblog

Tweaking custom Nunjucks env

 module.exports = function (eleventyConfig) { 	eleventyConfig.addPassthroughCopy("src/img"); 	eleventyConfig.addPassthroughCopy("./CNAME"); 	// eleventyConfig.addPassthroughCopy("src/.gitignore");-	eleventyConfig.addPassthroughCopy({ "dinky/assets/js": "assets/js" });-	eleventyConfig.addPassthroughCopy({-		"dinky/assets/images": "assets/images",-	});-	eleventyConfig.addPassthroughCopy({-		"dinky/_sass": "sass/dinky/_sass",-	});+	// eleventyConfig.addPassthroughCopy({ "dinky/assets/js": "assets/js" });+	// eleventyConfig.addPassthroughCopy({+	// 	"dinky/assets/images": "assets/images",+	// });+	// eleventyConfig.addPassthroughCopy({+	// 	"dinky/_sass": "sass/dinky/_sass",+	// }); 	eleventyConfig.addPassthroughCopy({ 		"src/_sass": "sass/src/_sass", 	}); -	const pathNormalizer = function(pathString){-		return normalize(path.normalize(path.resolve(".")))+const njkEngine = require("nunjucks").configure(+	[+		path.join(siteConfiguration.dir.input, siteConfiguration.dir.includes),+		path.join(siteConfiguration.dir.input, siteConfiguration.dir.layouts),+		siteConfiguration.dir.input,+	],+	{+		autoescape: false,+		throwOnUndefined: true 	}+); -	// Nunjucks Filters-	let nunjucksEnvironment = new Nunjucks.Environment(-		new Nunjucks.FileSystemLoader([-			pathNormalizer(siteConfiguration.dir.includes),-			pathNormalizer(siteConfiguration.dir.input),-			pathNormalizer(".")-		]),-		{-			throwOnUndefined: throwOnUndefinedSetting,-			autoescape: true-		}-	);-	eleventyConfig.setLibrary("njk", nunjucksEnvironment);-	eleventyConfig.addNunjucksFilter("interpolate", function(value) {+eleventyConfig.setLibrary('njk', njkEngine );  //: autoescape for CSS rules

@pdehaan I was able to get everything to work with your changes and this configuration but.... the thing I don't understand is why the other way with new Nunjucks.FileSystemLoader( doesn't seem to work.

let nunjucksEnvironment = Nunjucks.configure(
		new Nunjucks.FileSystemLoader([
                    '/Users/username/Dev/devblog/src/_includes',
                    '/Users/username/Dev/devblog/src/_layouts',
                    '/Users/username/Dev/devblog/src',
                    '.'
                  ]),
		  {
			  throwOnUndefined: throwOnUndefinedSetting,
			  autoescape: true,
		  }
	  );
eleventyConfig.setLibrary("njk", nunjucksEnvironment);

This matches what I've seen elsewhere and the given documentation, but I tried it with absolute and relative paths, and it didn't load the folders properly.

This should work right? But it doesn't seem to read the paths. The site builds fine this way, but I am somewhat disappointed I couldn't get it working the original way, or figure out why it isn't working.

pdehaan

comment created time in a month

PullRequestReviewEvent
PullRequestReviewEvent

Pull request review commentAramZS/devblog

Tweaking custom Nunjucks env

 If this works correctly on publish, it will resolve the last of my base requirem  Ok, I was thinking about how to handle build-time cache-breaking and realized that there's likely a way to handle getting a cache-break variable at the build stage. There's [a plugin for Jekyll to do it](https://github.com/jekyll/github-metadata), it looks like [it does so at least partially via the Github API](https://github.com/jekyll/github-metadata/blob/master/docs/authentication.md). It gets [a pretty good list of data too](https://github.com/jekyll/github-metadata/blob/master/docs/site.github.md). There's also [the "Github Context" which is available to GitHub actions](https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context). I could call the API during build time, which is what it appears that Jekyll is doing (I didn't really look too deeply into the plugin). But if this data is available in the Actions context... couldn't I export it as a environment variable? Why not try adding that to the Github Actions script? +{% raw %} ```yaml         - run: export GITHUB_HEAD_SHA=${{ github.run_id }} ```+{% endraw %}

Oops, thanks for the catch here!

pdehaan

comment created time in a month

pull request comment11ty/11ty-website

Suggested change to collections reverse pitfall

@zachleat I think this should help? I added a small change to the pre style to make it flow in a way that matches the other elements in the callout style and changed the background to make it less disruptive. Hopefully that helps!

AramZS

comment created time in a month

push eventAramZS/11ty-website

Aram Zucker-Scharff

commit sha c6e091942d376ad1b8865ecdfff63fcf8166cd9e

Update callout CSS to make codeblocks consistent This should match the rest of the style.

view details

push time in a month