-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbackwards_compat.sh
executable file
·36 lines (25 loc) · 1.49 KB
/
backwards_compat.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
mkdir -p public/posts
cp public/escaping-hell-with-monads/index.html \
public/posts/2017-05-07-escaping-hell-with-monads.html
cp public/algebraic-patterns-semigroup/index.html \
public/posts/2016-07-14-functional-patterns-semigroup.html
cp public/algebraic-patterns-category/index.html \
public/posts/functional-patterns-category.html
cp public/algebraic-patterns-monoid-morphism/index.html \
public/posts/2016-08-10-functional-patterns-monoid-morphism.html
cp public/algebraic-patterns-monoid/index.html \
public/posts/2016-07-21-functional-patterns-monoid.html
cp public/algebraic-patterns-identity-element/index.html \
public/posts/2016-06-29-functional-patterns-identity-element.html
sed -i 's/<script src=\"\/Badness10k\/bundle.js?t=.*\"><\/script>//g' \
public/posts/2017-05-07-escaping-hell-with-monads.html
sed -i 's/<script src=\"\/Badness10k\/bundle.js?t=.*\"><\/script>//g' \
public/posts/2016-07-14-functional-patterns-semigroup.html
sed -i 's/<script src=\"\/Badness10k\/bundle.js?t=.*\"><\/script>//g' \
public/posts/functional-patterns-category.html
sed -i 's/<script src=\"\/Badness10k\/bundle.js?t=.*\"><\/script>//g' \
public/posts/2016-08-10-functional-patterns-monoid-morphism.html
sed -i 's/<script src=\"\/Badness10k\/bundle.js?t=.*\"><\/script>//g' \
public/posts/2016-07-21-functional-patterns-monoid.html
sed -i 's/<script src=\"\/Badness10k\/bundle.js?t=.*\"><\/script>//g' \
public/posts/2016-06-29-functional-patterns-identity-element.html