many small fixes
|
@ -110,7 +110,7 @@ fr: - Le `:t` signfie "tail" ; si `toto=/path/to/file.ext` alors `${toto:t}=file
|
||||||
en: After ⇒
|
en: After ⇒
|
||||||
fr: Après
|
fr: Après
|
||||||
|
|
||||||
<code class="zsh">
|
<code class="bash">
|
||||||
gif_to_png() { convert $1 ${1:r}.png && \rm -f $1 }
|
gif_to_png() { convert $1 ${1:r}.png && \rm -f $1 }
|
||||||
|
|
||||||
handle_resources() { map gif_to_png $1/resources/*.gif(.N) }
|
handle_resources() { map gif_to_png $1/resources/*.gif(.N) }
|
||||||
|
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 52 KiB |
|
@ -4,7 +4,7 @@
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="keywords" content="Haskell, programming, functional, tutorial, fractal"> <link rel="shortcut icon" type="image/x-icon" href="/Scratch/img/favicon.ico" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="keywords" content="Haskell, programming, functional, tutorial, fractal"> <link rel="shortcut icon" type="image/x-icon" href="/Scratch/img/favicon.ico" />
|
||||||
<link rel="stylesheet" type="text/css" href="/Scratch/assets/css/main.css" />
|
<link rel="stylesheet" type="text/css" href="/Scratch/assets/css/scientific.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="/Scratch/css/solarized.css" />
|
<link rel="stylesheet" type="text/css" href="/Scratch/css/solarized.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="/Scratch/css/idc.css" />
|
<link rel="stylesheet" type="text/css" href="/Scratch/css/idc.css" />
|
||||||
<link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
|
<link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
<div id="choixlang"><a href="/Scratch/fr/blog/Haskell-OpenGL-Mandelbrot/" onclick="setLanguage('fr')">en Français</a>
|
<div id="choixlang"><a href="/Scratch/fr/blog/Haskell-OpenGL-Mandelbrot/" onclick="setLanguage('fr')">en Français</a>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">// <![CDATA[
|
<script type="text/javascript">// <![CDATA[
|
||||||
document.write('<div id="switchcss"><a href="#">Switch style</a></div>');
|
document.write('<div id="switchcss"><a href="#">Change style</a></div>');
|
||||||
// ]]>
|
// ]]>
|
||||||
</script>
|
</script>
|
||||||
<div class="flush"></div>
|
<div class="flush"></div>
|
||||||
|
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 52 KiB |
|
@ -4,7 +4,7 @@
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="keywords" content="Haskell, programming, functional, tutorial, fractal"> <link rel="shortcut icon" type="image/x-icon" href="/Scratch/img/favicon.ico" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="keywords" content="Haskell, programming, functional, tutorial, fractal"> <link rel="shortcut icon" type="image/x-icon" href="/Scratch/img/favicon.ico" />
|
||||||
<link rel="stylesheet" type="text/css" href="/Scratch/assets/css/main.css" />
|
<link rel="stylesheet" type="text/css" href="/Scratch/assets/css/scientific.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="/Scratch/css/solarized.css" />
|
<link rel="stylesheet" type="text/css" href="/Scratch/css/solarized.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="/Scratch/css/idc.css" />
|
<link rel="stylesheet" type="text/css" href="/Scratch/css/idc.css" />
|
||||||
<link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
|
<link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
|
||||||
|
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 3 KiB |
|
@ -6,7 +6,7 @@
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="/Scratch/img/favicon.ico" />
|
<link rel="shortcut icon" type="image/x-icon" href="/Scratch/img/favicon.ico" />
|
||||||
<link rel="stylesheet" type="text/css" href="/Scratch/assets/css/main.css" />
|
<link rel="stylesheet" type="text/css" href="/Scratch/assets/css/scientific.css" />
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://feeds.feedburner.com/yannespositocomen"/>
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://feeds.feedburner.com/yannespositocomen"/>
|
||||||
<link rel="alternate" lang="fr" xml:lang="fr" title="Home" type="text/html" hreflang="fr" href="/" />
|
<link rel="alternate" lang="fr" xml:lang="fr" title="Home" type="text/html" hreflang="fr" href="/" />
|
||||||
<link rel="alternate" lang="en" xml:lang="en" title="Home" type="text/html" hreflang="en" href="/" />
|
<link rel="alternate" lang="en" xml:lang="en" title="Home" type="text/html" hreflang="en" href="/" />
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
for fic in $@; do
|
for fic in $@; do
|
||||||
tmp=${fic:r}-old.${fic:e}
|
tmp=${fic:r}-old.${fic:e}
|
||||||
mv $fic $tmp
|
mv $fic $tmp
|
||||||
convert -background 'rgba(255,255,255,0.66)' -fill white -channel Alpha -evaluate Add 0.5 -flatten $tmp $fic
|
convert -fuzz 1% -transparent white -background 'rgba(255,255,255,0.66)' -fill white -channel Alpha -evaluate Add 0.5 -flatten $tmp $fic
|
||||||
\rm -f $tmp
|
\rm -f $tmp
|
||||||
done
|
done
|
||||||
|
|