-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpost-haskell.mk
139 lines (121 loc) · 6.18 KB
/
post-haskell.mk
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
debug.in.ghci.1.post: post/haskell/debug.in.ghci.1.md post/haskell/debug.in.ghci.1.sum.md
@pandoc -o .ignore/debug.in.ghci.1.html post/haskell/debug.in.ghci.1.md
@pandoc -o .ignore/debug.in.ghci.1.sum.html post/haskell/debug.in.ghci.1.sum.md
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X PUT \
' -F "type=post" ' \
' -F "create-time=2017-02-27 13:23:25.343155 UTC" ' \
' -F "update-time=$(IH_NOW)" ' \
' -F "title=Debug with GHCi 1" ' \
' -F "[email protected]/debug.in.ghci.1.html" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
' -F "[email protected]/debug.in.ghci.1.sum.html" ' \
' -F "whose=Qinka" ' \
' -F "tag=blog" ' \
' -F "tag=highlight" ' \
' -F "tag=code" ' \
' -F "tag=haskell" ' \
$(SITE_URL)/b/haskell/debug-with-ghci/1 | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
debug.in.ghci.1.post.del:
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X DELETE \
' -F "type=post" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
$(SITE_URL)/b/haskell/debug-with-ghci/1 | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
memoization-in-haskell.1.img: img/haskell/mem_right_one.png
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X PUT \
' -F "type=binary" ' \
' -F "create-time=2017-09-18 10:39:42.989391 UTC" ' \
' -F "update-time=$(IH_NOW)" ' \
' -F "title=Memoization in Haskell figure 1" ' \
' -F "binary=@img/haskell/mem_right_one.png" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
' -F "summary= " ' \
' -F "mime=image/png" ' \
' -F "whose=Qinka" ' \
' -F "tag=img" ' \
$(SITE_URL)/img/haskell/mem_right_one.png | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
memoization-in-haskell.1.img.del:
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X DELETE \
' -F "type=binary" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
$(SITE_URL)/img/haskell/mem_right_one.png | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
memoization-in-haskell.2.img: img/haskell/mem_error_one.png
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X PUT \
' -F "type=binary" ' \
' -F "create-time=2017-09-18 10:40:00.702901 UTC" ' \
' -F "update-time=$(IH_NOW)" ' \
' -F "title=Memoization in Haskell figure 1" ' \
' -F "binary=@img/haskell/mem_error_one.png" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
' -F "summary= " ' \
' -F "mime=image/png" ' \
' -F "whose=Qinka" ' \
' -F "tag=img" ' \
$(SITE_URL)/img/haskell/mem_error_one.png | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
memoization-in-haskell.2.img.del:
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X DELETE \
' -F "type=binary" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
$(SITE_URL)/img/haskell/mem_error_one.png | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
memoization-in-haskell.3.img: img/haskell/mem_error_two.png
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X PUT \
' -F "type=binary" ' \
' -F "create-time=2017-09-18 10:39:50.438584 UTC" ' \
' -F "update-time=$(IH_NOW)" ' \
' -F "title=Memoization in Haskell figure 1" ' \
' -F "binary=@img/haskell/mem_error_two.png" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
' -F "summary= " ' \
' -F "mime=image/png" ' \
' -F "whose=Qinka" ' \
' -F "tag=img" ' \
$(SITE_URL)/img/haskell/mem_error_two.png | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
memoization-in-haskell.3.img.del:
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X DELETE \
' -F "type=binary" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
$(SITE_URL)/img/haskell/mem_error_two.png | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
memoization-in-haskell.post: post/haskell/memoization_in_haskell.md post/haskell/memoization_in_haskell.sum.md
@pandoc -o .ignore/memoization_in_haskell.html post/haskell/memoization_in_haskell.md
@pandoc -o .ignore/memoization_in_haskell.sum.html post/haskell/memoization_in_haskell.sum.md
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X PUT \
' -F "type=post" ' \
' -F "create-time=2017-03-23 14:26:10.1791938 UTC" ' \
' -F "update-time=$(IH_NOW)" ' \
' -F "title=Memoization in Haskell" ' \
' -F "[email protected]/memoization_in_haskell.html" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
' -F "[email protected]/memoization_in_haskell.sum.html" ' \
' -F "whose=Qinka" ' \
' -F "tag=code" ' \
' -F "tag=highlight" ' \
' -F "tag=post" ' \
' -F "tag=blog" ' \
' -F "tag=haskell" ' \
$(SITE_URL)/b/haskell/memoization | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
memoization-in-haskell.post.del:
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X DELETE \
' -F "type=post" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
$(SITE_URL)/b/haskell/memoization | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
overloadedlabels: post/haskell/overloadedlabels.md post/haskell/overloadedlabels.sum.md
@pandoc -o .ignore/overloadedlabels.html post/haskell/overloadedlabels.md
@pandoc -o .ignore/overloadedlabels.sum.html post/haskell/overloadedlabels.sum.md
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X PUT \
' -F "type=post" ' \
' -F "create-time=2017-01-01 05:26:03.55291 UTC" ' \
' -F "update-time=$(IH_NOW)" ' \
' -F "title=OverloadedLables" ' \
' -F "[email protected]/overloadedlabels.html" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
' -F "[email protected]/overloadedlabels.sum.html" ' \
' -F "whose=Qinka" ' \
' -F "tag=highlight" ' \
' -F "tag=blog" ' \
' -F "tag=haskell" ' \
' -F "tag=haskell language extensions" ' \
$(SITE_URL)/b/haskell/extension/overloadedlabels | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
overloadedlabels.del:
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X DELETE \
' -F "type=post" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
$(SITE_URL)/b/haskell/extension/overloadedlabels | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)