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
# This blocks pushes into `master` locally. To enforce this for everyone with access | |
# to your repo, you should protect the branch with repository setting on Github | |
# | |
# 1. Save this file as .git/hooks/pre-push in your repo | |
# 2. Run `chmod +x .git/hooks/pre-push` to turn it on | |
branch_blocked=master | |
if grep -q "$branch_blocked"; then | |
echo "Blocked by git pre-push. You should not push into '$branch_blocked'." >&2 | |
exit 1 |
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
<html> | |
<head> | |
<title>Demo for using web workers with pdfmake.js</title> | |
<style> | |
body { | |
width: 100vw; | |
height: 100vh; | |
display: flex; | |
justify-content: center; |