Skip to content

Instantly share code, notes, and snippets.

@pk-nb
pk-nb / NetlifyServerPushPlugin.js
Created September 30, 2018 23:13 — forked from ValentinFunk/NetlifyServerPushPlugin.js
Webpack - Generate Netlify HTTP2 Server Push _headers File when using the HtmlWebpackPlugin
/**
* Generate a Netlify HTTP2 Server Push configuration.
*
* Options:
* - headersFile {string} path to the _headers file that should be generated (relative to your output dir)
*/
function NetlifyServerPushPlugin(options) {
this.options = options;
}
{
"response": [
{
"domain": "🔥.engineering",
"expire": "2w",
"ttl": "3h",
"a_records": [
{
"subdomain": "@",
"address": "8.8.4.4"
group :test do
gem 'capybara'
gem 'poltergeist' # gem 'capybara-webkit'
gem 'database_cleaner'
end
@pk-nb
pk-nb / Web Design Resources.md
Last active August 29, 2015 14:03
A few resources that I routinely go to for web design

General Inspiration / Intimidation

Links to New and Great Design Articles

Open and Commericial Friendly Fonts

@pk-nb
pk-nb / Makefile.patch
Last active December 22, 2015 11:09 — forked from gburd/Makefile.patch
diff --git a/Makefile b/Makefile
index 33bfb0a..af625c8 100644
--- a/Makefile
+++ b/Makefile
@@ -29,10 +29,10 @@ OBJS = \
vm.o\
# Cross-compiling (e.g., on Mac OS X)
-#TOOLPREFIX = i386-jos-elf-
+TOOLPREFIX = /opt/gnu/bin/i386-jos-elf-
@pk-nb
pk-nb / Makefile.patch
Created November 27, 2012 17:11 — forked from gburd/Makefile.patch
Building the xv6 operating system using Clang on OS/X (10.8) for fun and non-profit.
diff --git a/Makefile b/Makefile
index 33bfb0a..af625c8 100644
--- a/Makefile
+++ b/Makefile
@@ -29,10 +29,10 @@ OBJS = \
vm.o\
# Cross-compiling (e.g., on Mac OS X)
-#TOOLPREFIX = i386-jos-elf-
+TOOLPREFIX = /opt/gnu/bin/i386-jos-elf-
@pk-nb
pk-nb / Makefile.patch
Created November 27, 2012 17:11 — forked from gburd/Makefile.patch
Building the xv6 operating system using Clang on OS/X (10.8) for fun and non-profit.
diff --git a/Makefile b/Makefile
index 33bfb0a..af625c8 100644
--- a/Makefile
+++ b/Makefile
@@ -29,10 +29,10 @@ OBJS = \
vm.o\
# Cross-compiling (e.g., on Mac OS X)
-#TOOLPREFIX = i386-jos-elf-
+TOOLPREFIX = /opt/gnu/bin/i386-jos-elf-