This commit is contained in:
quoije
2022-08-14 23:11:38 -04:00
parent 820b0504ea
commit 8cb87216fa
459 changed files with 63164 additions and 43 deletions
+81
View File
@@ -0,0 +1,81 @@
/* Works on Firefox */
* {
scrollbar-width: thin;
scrollbar-color: #FF69B4 #4B0082;
}
/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 12px;
}
*::-webkit-scrollbar-track {
background: #4B0082;
}
*::-webkit-scrollbar-thumb {
background-color: #FF69B4;
border-radius: 20px;
border: 3px solid #4B0082;
}
body {
background: url("../img/winxp.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
height: 100vh;
}
.fixedep {
position: -webkit-sticky;
position: sticky;
top: 20px;
}
.star {
width: 145px;
text-align: left;
margin-bottom: -22px;
}
.pclass {
font-size: 64px;
margin-left: 0;
margin-bottom: 0px;
font-weight: bold;
font-family: 'Comic Neue', cursive;
font-style: normal;
letter-spacing: -2px;
text-shadow: 4px 0px var(--teal);
}
#sbody {
font-size: 15px;
margin-left: 5px;
margin-right: 5px;
margin-top: 10px;
margin-bottom: 10px;
font-weight: bold;
font-family: 'Comic Neue', cursive;
font-style: normal;
}
#ws:link {
text-decoration: none;
color: inherit;
}
#ws:visited {
text-decoration: none;
color: inherit;
}
#ws:hover {
text-decoration: none;
color: coral;
}
#ws:active {
text-decoration: none;
color: inherit;
}
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 662 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 855 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="500" height="500" viewBox="0 0 75 75">
<path d="M39.389,13.769 L22.235,28.606 L6,28.606 L6,47.699 L21.989,47.699 L39.389,62.75 L39.389,13.769z"
style="stroke:#111;stroke-width:5;stroke-linejoin:round;fill:#111;"
/>
<path d="M48,27.6a19.5,19.5 0 0 1 0,21.4M55.1,20.5a30,30 0 0 1 0,35.6M61.6,14a38.8,38.8 0 0 1 0,48.6" style="fill:none;stroke:#111;stroke-width:5;stroke-linecap:round"/>
</svg>

After

Width:  |  Height:  |  Size: 508 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 KiB

File diff suppressed because one or more lines are too long
+310
View File
@@ -0,0 +1,310 @@
!(function () {
"use strict";
const t = [
"doctype",
"html",
"head",
"title",
"base",
"link",
"meta",
"style",
"script",
"noscript",
"body",
"article",
"nav",
"aside",
"section",
"header",
"footer",
"h1-h6",
"hgroup",
"address",
"p",
"hr",
"pre",
"blockquote",
"ol",
"ul",
"li",
"dl",
"dt",
"dd",
"figure",
"figcaption",
"div",
"table",
"caption",
"thead",
"tbody",
"tfoot",
"tr",
"th",
"td",
"col",
"colgroup",
"form",
"fieldset",
"legend",
"label",
"input",
"button",
"select",
"datalist",
"optgroup",
"option",
"textarea",
"keygen",
"output",
"progress",
"meter",
"details",
"summary",
"command",
"menu",
"del",
"ins",
"img",
"iframe",
"embed",
"object",
"param",
"video",
"audio",
"source",
"canvas",
"track",
"map",
"area",
"a",
"em",
"strong",
"i",
"b",
"u",
"s",
"small",
"abbr",
"q",
"cite",
"dfn",
"sub",
"sup",
"time",
"code",
"kbd",
"samp",
"var",
"mark",
"bdi",
"bdo",
"ruby",
"rt",
"rp",
"span",
"br",
"wbr",
];
class e {
constructor() {
(this.topics = {}), (this.hop = this.topics.hasOwnProperty);
}
on(t, e) {
this.hop.call(this.topics, t) || (this.topics[t] = []);
const i = this.topics[t].push(e) - 1;
return {
remove: () => {
this.topics[t].splice(i, 1);
},
};
}
emit(t, e = {}) {
return this.hop.call(this.topics, t) ? this.topics[t].forEach((t) => t(e)) : this;
}
}
function i(t) {
let e = document.createElement("template");
return (e.innerHTML = t.trim()), e.content.firstElementChild;
}
class s {
constructor(t, i, s = {}) {
(this.version = "1.4.0"),
(this.target = t),
(this.urls = [].concat(i)),
(this.html = []),
(this.options = {
ssl: !0,
host: "feed.ljdp.ca",
support: !0,
limit: null,
key: null,
layoutTemplate: "<ul>{entries}</ul>",
entryTemplate: '<li><a href="{url}">[{author}@{date}] {title}</a><br/>{shortBodyPlain}</li>',
tokens: {},
outputMode: "json",
dateFormat: "dddd MMM Do",
dateLocale: "en",
offsetStart: !1,
offsetEnd: !1,
fetchFeed: null,
encoding: null,
...s,
}),
(this.events = new e());
}
on(t, e) {
return this.events.on(`vanilla-rss/${t}`, e), this;
}
render() {
return new Promise(async (t, e) => {
try {
const t = await this._load();
(this.feed = t.responseData.feed), (this.entries = t.responseData.feed.entries);
} catch (t) {
return (this.entries = []), (this.feed = null), e(t);
}
const i = this._generateHTMLForEntries();
if ((this.target.append(i.layout), 0 !== i.entries.length)) {
this.events.emit("vanilla-rss/data", { rss: this, feed: this.feed, entries: this.entries });
const t = (function (t, e) {
return t.tagName.toLowerCase() === e.toLowerCase();
})(i.layout, "entries")
? i.layout
: i.layout.querySelector("entries");
this._appendEntries(t, i.entries);
}
t();
});
}
_appendEntries(t, e) {
e.forEach((e, i) => {
var s = this._wrapContent(e);
t.insertAdjacentHTML("beforebegin", s.outerHTML);
}),
t.remove();
}
_wrapContent(t) {
return 0 !== t.trim().indexOf("<") ? i(`<div>${t}</div>`) : i(t);
}
_load() {
const t = `${`http${this.options.ssl ? "s" : ""}`}://${this.options.host}`,
e = { support: this.options.support, version: this.version, q: this.urls.map((t) => encodeURIComponent(t)).join(",") };
this.options.offsetStart && this.options.offsetEnd && (this.options.limit = this.options.offsetEnd),
null !== this.options.limit && (e.num = this.options.limit),
null !== this.options.key && (e.key = this.options.key),
null !== this.options.encoding && (e.encoding = this.options.encoding),
this.options.order && (e.order = this.options.order);
const i = `${t}?${Object.keys(e)
.map((t) => `${t}=${e[t]}`)
.join("&")}`;
return this._fetchFeed(i);
}
async _fetchFeed(t) {
if (this.options.fetchFeed) return await this.options.fetchFeed(t);
const e = await fetch(t, { headers: { "Content-Type": "application/json" } });
return await e.json();
}
_generateHTMLForEntries() {
const t = { entries: [], layout: null };
return (
this.entries.forEach((e, i) => {
const s = this.options.offsetStart,
n = this.options.offsetEnd;
let o;
s && n
? i >= s && i <= n && this._isRelevant(e, t.entries) && ((o = this._evaluateStringForEntry(this.options.entryTemplate, e)), t.entries.push(o))
: this._isRelevant(e, t.entries) && ((o = this._evaluateStringForEntry(this.options.entryTemplate, e)), t.entries.push(o));
}),
this.options.entryTemplate ? (t.layout = this._wrapContent(this.options.layoutTemplate.replace("{entries}", "<entries></entries>"))) : (t.layout = this._wrapContent("<div><entries></entries></div>")),
t
);
}
_isRelevant(t, e) {
const i = this._getTokenMap(t);
return !this.options.filter || ((!this.options.filterLimit || this.options.filterLimit !== e.length) && this.options.filter(t, i));
}
_evaluateStringForEntry(t, e) {
var i = t;
return (
(t.match(/(\{.*?\})/g) || []).forEach((t) => {
i = i.replace(t, this._getValueForToken(t, e));
}),
i
);
}
_getFormattedDate(t) {
if (this.options.dateFormatFunction) return this.options.dateFormatFunction(t);
if ("undefined" != typeof moment) {
var e = moment(new Date(t));
return (e = e.locale ? e.locale(this.options.dateLocale) : e.lang(this.options.dateLocale)).format(this.options.dateFormat);
}
return t;
}
_getTokenMap(e) {
if (!this.feedTokens) {
var i = JSON.parse(JSON.stringify(this.feed));
delete i.entries, (this.feedTokens = i);
}
return {
feed: this.feedTokens,
url: e.link,
author: e.author,
date: this._getFormattedDate(e.publishedDate),
title: e.title,
body: e.content,
shortBody: e.contentSnippet,
bodyPlain: (function (e) {
for (var i = e.content.replace(/<script[\\r\\\s\S]*<\/script>/gim, "").replace(/<\/?[^>]+>/gi, ""), s = 0; s < t.length; s++) i = i.replace(new RegExp("<" + t[s], "gi"), "");
return i;
})(e),
shortBodyPlain: e.contentSnippet.replace(/<\/?[^>]+>/gi, ""),
index: this.entries.indexOf(e),
totalEntries: this.entries.length,
teaserImage: (function (t) {
try {
return t.content.match(/(<img.*?>)/gi)[0];
} catch (t) {
return "";
}
})(e),
teaserImageUrl: (function (t) {
try {
return t.content.match(/(<img.*?>)/gi)[0].match(/src=["'](.*?)["']/)[1];
} catch (t) {
return "";
}
})(e),
...this.options.tokens,
};
}
_getValueForToken(t, e) {
var i = this._getTokenMap(e),
s = i[t.replace(/[\{\}]/g, "")];
if (void 0 !== s) return "function" == typeof s ? s(e, i) : s;
throw new Error("Unknown token: " + t + ", url:" + this.url);
}
}
var n;
(n = jQuery).fn.rss = function (t, e = {}, i) {
return (
new s(this, t, {
...e,
fetchFeed: (t) =>
new Promise((e, i) => {
n.ajax({ dataType: "json", url: t, success: e, error: i });
}),
})
.render()
.then(
(...t) => {
i && i(...t), e && e.success && e.success(...t);
},
(...t) => {
e && e.error && e.error(...t);
}
),
this
);
};
})();
+132
View File
@@ -0,0 +1,132 @@
/*! amazing animations bootstrap ayy */
$(document).ready((function(){$("[data-bss-hover-animate]").mouseenter((function(){var a=$(this);a.addClass("animated "+a.attr("data-bss-hover-animate"))})).mouseleave((function(){var a=$(this);a.removeClass("animated "+a.attr("data-bss-hover-animate"))}))}));
/*! js-cookie v3.0.1 | MIT */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self,function(){var n=e.Cookies,o=e.Cookies=t();o.noConflict=function(){return e.Cookies=n,o}}())}(this,(function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}return function t(n,o){function r(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({},o,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var u in i)i[u]&&(c+="; "+u,!0!==i[u]&&(c+="="+i[u].split(";")[0]));return document.cookie=t+"="+n.write(r,t)+c}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],o={},r=0;r<t.length;r++){var i=t[r].split("="),c=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);if(o[u]=n.read(c,u),e===u)break}catch(e){}}return e?o[e]:o}},remove:function(t,n){r(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}));
jQuery(function($) {
$("#rss-feeds").rss("https://anchor.fm/s/af11b98/podcast/rss", {
limit: 1000,
tokens: {
enclosure: function (entry, tokens) {
if (entry.enclosure) {
return `${entry.enclosure.url}`;
}
return "";
},
},
layoutTemplate: "{entries}",
entryTemplate:"<table class=\"entry\" style=\"overflow:hidden;word-wrap:break-word;border-width:2; border-style:solid; max-width: 100%; width: 100%; border-color: transparent;\"cellpadding=\"3\"><tr><td class=\"entry\"style=\"background-color: #0FF404; color: #0FF00; \"><b><a href=\"{enclosure}\" onclick=\"play('{enclosure}',`{title}`,'{date}', `{shortBodyPlain}`); return false;\" style=\"color: #0FF00;\" target=\"_blank\">{title}</a></b></td></tr>\n<tr><td class=\"entry\"style=\"width:100%; overflow: hidden; word-wrap: break-word;background-color: transparent; color: #ffffff; padding-top: 10px;\"><i><b>{date}</b></i><br><p>{bodyPlain}</p></td></tr><tr>",
dateFormat: 'DD/MM/YYYY',
dateLocale: 'fr-ca',
});
$("#lastephome").rss("https://anchor.fm/s/af11b98/podcast/rss", {
limit: 1,
tokens: {
enclosure: function (entry, tokens) {
if (entry.enclosure) {
return `${entry.enclosure.url}`;
}
return "";
},
},
layoutTemplate: "{entries}",
entryTemplate:"<table class=\"entry\" style=\"overflow:hidden;word-wrap:break-word;border-width:2; border-style:solid; max-width: 100%; width: 100%; border-color: transparent;\"cellpadding=\"3\"><tr><td class=\"entry\"style=\"background-color: #0FF404; color: #0FF00; \"><b><a href=\"{enclosure}\" onclick=\"play('{enclosure}',`{title}`,'{date}', `{shortBodyPlain}`); switchTab(); return false;\" style=\"color: #0FF00;\" target=\"_blank\">{title}</a></b></td></tr>\n<tr><td class=\"entry\"style=\"width:100%; overflow: hidden; word-wrap: break-word;background-color: transparent; color: #ffffff; padding-top: 10px;\"><i><b>{date}</b></i><br><p>{bodyPlain}</p></td></tr><tr>",
dateFormat: 'DD/MM/YYYY',
dateLocale: 'fr-ca',
});
$("#playerwindow").draggable();
$("#playerwindow").data({
'originalLeft': $("#playerwindow").css('left'),
'origionalTop': $("#playerwindow").css('top')
});
$(".reset").click(function() {
$("#playerwindow").css({
'left': $("#playerwindow").data('originalLeft'),
'top': $("#playerwindow").data('origionalTop')
});
topFunction();
document.getElementById("player").pause();
});
var audio = document.getElementById('player');
console.log(audio.src);
// cookie last playback
if (Cookies.get("lastep-title")) {
console.log("playback function")
document.getElementById("lienep").innerHTML= Cookies.get("lastep-title");
document.getElementById("sbody").innerHTML= Cookies.get("lastep-body") + "....";
document.getElementById("player").setAttribute('src', Cookies.get("lastep-src"));
document.getElementById("lienep").href = Cookies.get("lastep-src");
document.getElementById("player").currentTime =Cookies.get("lastep-time");
}
audio.addEventListener('timeupdate',function(){
var currentTime = audio.currentTime;
Cookies.set("lastep-time", currentTime);
},false);
});
// player things
function play(src, title, date, body) {
var audio = document.getElementById('player');
console.log(src);
console.log(title);
var linkenc = src.substring(src.lastIndexOf('/')+1);
var linkdec = decodeURIComponent(linkenc);
console.log(linkdec)
document.getElementById("lienep").innerHTML= title;
document.getElementById("sbody").innerHTML= body + "....";
document.getElementById("lienep").href= linkdec;
document.getElementById("player").pause();
document.getElementById("player").setAttribute('src', linkdec);
document.getElementById("player").load();
document.getElementById("player").play();
Cookies.set("lastep-title", title)
Cookies.set("lastep-src", audio.src);
Cookies.set("lastep-body", body)
}
function switchTab() {
$('[href="#ep"]').tab('show');
}
function topFunction() {
document.body.scrollTop = 0; // safari
document.documentElement.scrollTop = 0; // webkit
}
function imagewow() {
var imlocation = "assets/img/maymay/";
function ImageArray(n) {
this.length = n;
for (var i = 1; i <= n; i++) {
this[i] = ' '
}
}
image = new ImageArray(7);
image[0] = 'dimanche.png';
image[1] = 'lundi.jpg';
image[2] = 'mardi.png';
image[3] = 'mercredi.png';
image[4] = 'jeudi.jpg';
image[5] = 'vendredi.jpg';
image[6] = 'samedi.jpg';
var currentdate = new Date();
var imagenumber = currentdate.getDay();
document.getElementById("meme").src = imlocation + image[imagenumber];
}