cleanup (hehe)

This commit is contained in:
gauthiier 2023-04-29 11:42:11 +02:00
parent 9bb5a690a0
commit 6dda0615ef
10 changed files with 0 additions and 285 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 798 B

View File

@ -1,162 +0,0 @@
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
.tableau {
border: 10px grey ridge;
margin: 5em;
margin-bottom: 1em;
}
table {
display: block;
margin: 1em;
border: 10px grey ridge;
font-size: small;
text-align: left;
width: 55em;
}
table td {
border: 2px grey ridge;
padding: 1em;
}
table td h1 {
bborder: 1px red solid;
margin-top: 0.4em;
margin-bottom: 0.2em;
}
table td p {
bborder: 1px red solid;
margin-top: 0.1em;
margin-bottom: 0.4em;
}
table tr {
text-align: center;
}
table td img {
width: 100%;
border: 2px grey ridge;
}
table td video {
width: 100%;
border: 2px grey ridge;
}
.lst {
margin-right: 3em;
}
.lst p mat {
margin-left: : 2em;
}
.lst ul li { display: inline; }
.lst ul li desc {
margin: 2em;
margin-bottom: 1em;
width: 985;
display: block;
}
.lst ul li desc img {
border: 10px grey ridge;
margin: 0em;
margin-bottom: 2em;
width: 985;
display: block;
}
.lst ul li desc video {
border: 10px grey ridge;
margin: 0em;
margin-bottom: 2em;
width: 985;
display: block;
}
.lst ul li img {
border: 10px grey ridge;
margin: 2em;
margin-bottom: 1em;
width: 450;
}
.lst ul li video {
border: 10px grey ridge;
margin: 2em;
margin-bottom: 1em;
width: 450;
}
.lst ul li sound {
display: inline-block;
border: 10px grey ridge;
margin: 2em;
width: 440;
padding: 10;
}
.lst ul li sound.full {
display: inline-block;
border: none;
padding: 0;
margin: 2em;
width: 985;
}
.lst ul li sound track {
display: block;
margin-top: 0.3em;
margin-bottom: 0.3em;
}
.lst ul li sound.full track {
display: block;
margin-top: 0.6em;
margin-bottom: 0.6em;
}
.lst ul li sound info {
width: 100%;
}
.lst ul li sound audio {
width: 100%;
margin-top: 0.5em;
}
.lst ul li lo img {
border: none;
margin: 1em;
margin-top: 0.5em;
max-width: 300;
}
.lst ul li la img {
border: none;
margin: 1em;
margin-top: 0.5em;
max-width: 100;
max-height: 100;
}
address {
margin: 20px;
}
#index_tile h1 {
margin: 20px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 KiB

View File

@ -1 +0,0 @@
RedirectMatch 404 /\.git

12
<table>
View File

@ -1,12 +0,0 @@
<table>
<tr>
<td>
[[text_md]]
</td>
</tr>
<tr>
<td>
[[link_md]]
</td>
</tr>
</table>

View File

@ -1,24 +0,0 @@
<html>
<head>
<meta charset="utf-8">
<link rel="icon" href="../+++/jules-henri.ico" type="image/x-icon">
<title>Index of /gauthiier.info/[[dir]]</title>
<link rel="stylesheet" type="text/css" href="../+++/lestyle.css"/>
<meta name="keywords" content="david gauthier, gauthiier, davidgauthier, dviid">
</head>
<body>
<div id="index_tile"><h1>Index of /gauthiier.info/[[dir]]</h1></div>
<div style=" margin-left: 20px;">
<a href=".."><img src="../+++/back.gif"></a>
<a href=".." style=" margin-left: 5px;"> Parent Directory</a>
</div>
<div class="lst">
<ul>
[[content]]
</ul>
</div>
<address>Apache Server at gauthiier.info Port 80</address>
</body>
</html>

View File

@ -1,23 +0,0 @@
<html>
<head>
<meta charset="utf-8">
<meta name="keywords" content="david gauthier, gauthiier, davidgauthier, dviid">
<meta name="description" content="David Gauthier (b.1979, CA) - selected index of works">
<link rel="icon" href="+++/jules-henri.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="+++/lestyle.css"/>
<link rel="pgpkey" href="+++/key.asc"/>
<link rel="openid.delegate" href="http://gauthiier.info/" />
<link rel="openid.server" href="https://indieauth.com/openid" />
<title>David Gauthier</title>
</head>
<body>
<div align="center">
<a href="+++/"><img src="+++/yeux.png" width="500" class="tableau"></a>
<h4>David Gauthier</h4>
<h1><i>(Selected) Index of works</i></h1>
<h4><a href="https://www.uu.nl/medewerkers/DGauthier">index of academic work</a></h4>
<h4>d[at]gauthiier.info</h4>
[[content]]
</div>
</body>
</html>

View File

@ -1,2 +0,0 @@
User-agent: *
Disallow: /+++/

View File

@ -1,61 +0,0 @@
import argparse, sys, os, glob, subprocess
supported = ['ogg', 'mp3']
def sanity_check_system():
r = subprocess.call("ffmpeg -version", shell=True) == 0
if not r:
sys.exit("ffmpeg not installed. Aborting...")
def convert(i, o, f):
global supported
if f not in supported:
print("warning: format " + f + "is not supported")
return
if f == 'mp3':
codec = 'libmp3lame'
elif f == 'ogg':
codec = 'libvorbis'
subprocess.call(['ffmpeg', '-i', i, '-acodec', codec, o])
if __name__ == '__main__':
p = argparse.ArgumentParser(description='Converts .wav files to other formats (using ffmpeg)');
p.add_argument('-i', '--input', help='input directory');
p.add_argument('-f', '--format', help='output formats (ogg and/or mp3)', nargs="+");
sanity_check_system()
args = p.parse_args()
if not args.format:
sys.exit("Nor formats specified. Aborting.")
formats = []
for f in args.format:
if f not in supported:
print("warning: format " + f + "is not supported")
else:
formats.append(f)
if not formats:
sys.exit("None of the specified formats are supported. Aborting.")
input_dir = "."
if args.input:
input_dir = args.input
wav_files = glob.glob(os.path.join(input_dir, "*.wav"))
for w in wav_files:
for f in formats:
fn = os.path.join(input_dir, os.path.basename(w).replace('.wav', '.' + f))
convert(w, fn, f)