Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
workshop.metahoguet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
osp
workshop.metahoguet
Commits
e3b6dd3c
Commit
e3b6dd3c
authored
Nov 12, 2016
by
alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test with different refreshing rates
parent
a9b76ec9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
exportMeta.sh
pad/exportMeta.sh
+5
-5
index.html
pad/index.html
+7
-7
No files found.
pad/exportMeta.sh
View file @
e3b6dd3c
for
((
;
;
))
;
for
((
;
;
))
;
do
mkdir
-p
svg eps
rm
-f
svg/
*
.svg
rm
-f
eps/
*
.eps
...
...
@@ -12,12 +12,12 @@ do
echo
'outputtemplate := "%c.svg";'
>
svg/metahoguet.svg.mp
curl http://osp.constantvzw.org:9999/p/metahoguet/export/txt |
tee
-a
eps/metahoguet.eps.mp
>>
svg/metahoguet.svg.mp
cd
svg
mpost
-interaction
=
batchmode
-s
'outputformat="svg"'
metahoguet.svg.mp
cd
..
cd
eps
mpost
-interaction
=
batchmode
-s
'outputformat="eps"'
eps/metahoguet.eps.mp
cd
..
sleep
3
done
\ No newline at end of file
sleep
2
done
pad/index.html
View file @
e3b6dd3c
...
...
@@ -52,7 +52,7 @@
startImg
=
startImg
.
substring
(
2
);
elt
=
startImg
.
split
(
"-"
);
}
splitHash
();
if
(
elt
.
length
>
0
){
...
...
@@ -61,7 +61,7 @@
$
(
"body"
).
append
(
'<img id="letter_'
+
i
+
'" title="cliquez pour imprimer" src="svg/'
+
elt
[
i
]
+
'.svg?'
+
(
new
Date
()).
getTime
()
+
'" />'
);
}
}
function
Zoom
(
valZ
){
var
imgH
=
$
(
'img'
).
height
();
if
(
valZ
==
'up'
){
...
...
@@ -102,20 +102,20 @@
if
(
result
){
var
path
=
$
(
this
).
attr
(
'src'
).
split
(
'?'
)[
0
].
replace
(
/svg/g
,
'eps'
);
$
.
get
(
'/api/ploteps/'
,
{
epsfile
:
path
});
}
});
setInterval
(
function
(){
stamp
=
(
new
Date
).
getTime
();
$
(
"img"
).
each
(
function
()
{
var
src
=
$
(
this
).
attr
(
'src'
).
split
(
'?'
)[
0
];
$
(
this
).
attr
(
'src'
,
src
+
'?'
+
stamp
);
});
},
5
000
);
},
7
000
);
testing
();
</script>
</body>
</html>
\ No newline at end of file
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment