This file contains 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
# For a description of this file, please see: | |
# https://www.innoq.com/en/blog/markdown-with-zotero-workflow | |
#------------------------------------------------------------ | |
# what's the name of the generated output file(s) | |
OUTPUT=out | |
# what's the name of the markdown source file | |
SOURCE=principles-content.md |
This file contains 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
#!/bin/sh | |
# First: Open Terminal. Then: | |
# Install NPM. Easiest way is to first install homebrew on a mac | |
# and then do | |
# brew install npm | |
# brew install ffmpeg | |
# | |
# Then make a folder where you wanna download videos.. and navigate | |
# to it with your terminal. | |
# |
This file contains 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
(function (context, trackingId, options) { | |
const history = context.history; | |
const doc = document; | |
const nav = navigator || {}; | |
const storage = localStorage; | |
const encode = encodeURIComponent; | |
const pushState = history.pushState; | |
const typeException = 'exception'; | |
const generateId = () => Math.random().toString(36); | |
const getId = () => { |
This file contains 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
/* | |
To setup, place in scripts/generate.js and add | |
"st:generate": "node scripts/generate.js" | |
To your npm scripts. | |
To generate a component in src/components/ run | |
npm run st:generate component my-component |
This file contains 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
convert -density 150 input.pdf -brightness-contrast 5x25 -sharpen 0x1 output.pdf | |
convert -density 300 input.pdf -colorspace gray -normalize -level 50%,51% -sharpen 0x1 output.pdf | |
convert -density 300 input.pdf -colorspace gray -normalize -level 25%,26% -sharpen 0x1 output.pdf | |
convert -density 300 input.pdf -colorspace gray -normalize -modulate 150 -sharpen 0x1 output.pdf | |
convert -density 300 input.pdf -contrast -contrast -contrast -contrast -sharpen 0x1 output.pdf |
This file contains 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
# ~/.XCompose | |
### Based on the en_US.UTF locale. ### | |
include "/usr/share/X11/locale/en_US.UTF-8/Compose" | |
### Populated with Kragen's additions. ### |