A community effort to preserve games and animations from the web.
A tutorial for setting up your own mail server integrated with Nextcloud file sharing.
Une des œuvres matrice de la littérature dite de fantasy du XX siècle. Ce roman monstre que Tolkien lui-même qualifiait de « conte de fées [...] pour des adultes », est désormais considéré comme un des classiques de la culture de notre siècle.
C’est un dangereux héritage que Bilbo Bessac cède à son neveu avant de disparaître : l’anneau de pouvoir forgé par Sauron et dérobé jadis à Gollum. Le mage noir n’aspire qu’à retrouver son arme et sa puissance, et déjà ses cavaliers font route vers le Comté… Pour leur échapper et détruire la menace que représente cet anneau, le jeune Hobbit, Frodo, et ses compagnons commencent la périlleuse traversée de la Terre du Milieu, dans l’espoir d’atteindre la Faille du Destin, au coeur du Mordor.
Chef-d’oeuvre de la fantasy, découverte d’un monde imaginaire, de sa géographie, de son histoire et de ses langues, mais aussi réfl exion sur le pouvoir et la mort, Le Seigneur des Anneaux est sans équivalent par sa puissance d’évocation, son souffle et son ampleur.
Cette nouvelle traduction prend en compte la dernière version du texte anglais, les indications laissées par Tolkien à l’intention des traducteurs et les découvertes permises par les publications posthumes proposées par Christopher Tolkien.
Une interprétation magistrale de Thierry Janssen, qui révèle toute la dimension orale
du texte et nous fait voyager dans le plus vaste et merveilleux univers de littérature fantastique jamais créé.
PS2 Covers Collection.
PCSX2 has its own cover downloader, upgrade to version v1.7.3329 or higher.
Use this URL for default covers
https://raw.githubusercontent.com/xlenore/ps2-covers/main/covers/default/${serial}.jpg
or use this one for 3D covers.
https://raw.githubusercontent.com/xlenore/ps2-covers/main/covers/3d/${serial}.png
Enjoy :)
PSX/PS1 Covers Collection
DuckStation has its own cover downloader, upgrade to version 0.1-5227 or higher.
Use this URL for default covers
https://raw.githubusercontent.com/xlenore/psx-covers/main/covers/default/${serial}.jpg
or use this one for 3D covers
https://raw.githubusercontent.com/xlenore/psx-covers/main/covers/3d/${serial}.png
Enjoy :)
A collection of ten simple one-line CSS solutions to add little improvements to any web page. :: Blog post at Alvaro Montoro's Personal Website.
Carte ARM format mini ITX
SOC : Rockchip RK3588
RAM : de 4 à 32 Go de RAM (soudée, à choisir à l'achat)
Stockage : eMMC, microSD, M.2 NVMe PCIe, 4×SATA
Réseau : 2×2.5Gbps
Alimentation : connecteur ATX 24 pin
Support ARMbian : https://www.armbian.com/radxa-rock-5-itx/
Attention : la version de base n'a ni ventilateur ni dissipateur thermique.
À coupler avec un boîtier Fractal Design Node 304 ou 804 et une alim ATX modulaire
https://www.ldlc.com/fiche/PB00166478.html
https://www.ldlc.com/fiche/PB00135558.html
Infos sur uEFI, SecureBoot, MOK, comment générer sa propre CA, l'importer dans uEFI et signer ses noyaux Linux compilés à la main
FFBitrateViewer is a FFProbe GUI that purpose is to visualize frames` bitrate extracted by FFProbe. It is inspired by Bitrate Viewer (link to Web Archive as the program's web-site and forum are long dead). FFBitrateViewer allows you to select multiple files without dealing with command line and get “per frame” or “per second” info for all of them in one go.
Plots a graph showing the variation of the bitrate as well as up to 75 I-Frames throughout your video. The average bitrate is shown on the legend. In addition to this, the minimum, maximum and standard deviation is shown above the graph. See the example below:
Emulator of x86-based machines based on PCem.
86Box is a low level x86 emulator that runs older operating systems and software designed for IBM PC systems and compatibles from 1981 through fairly recent system designs based on the PCI bus.
Features
See also
Rewrite of Sonixd.
A modern self-hosted music player. Contribute to jeffvli/feishin development by creating an account on GitHub.
Personal Music Streamer
Navidrome allows you to enjoy your music collection from anywhere, by making it available through a modern Web UI and through a wide range of third-party compatible mobile apps, for both iOS and Android devices.
Navidrome is open source software distributed free of charge under the terms of the GNU GPL v3 license.
Since around 2010 I have been running mail servers for myself and other organisations. In this post my notes on how I generally approach this are described. It shows how to set up a modern mail server capable of handling e-mail for multiple domains on Debian 12 “Bookworm”.
This is still a motherfucking website.
And it's more fucking perfect than the last guy's.
Seriously, it takes minimal fucking effort to improve this shit.
This video will show how to use a #RetroTINK 4K or 5x to convert your analog media such as VHS and LaserDisc to digital. It’ll also show WHY it’s a good choice for many of those scenarios, especially digitizing home movies.
//rgb 8 bits
int r = 255, g = 255, b = 255;
//sRGB (r', g' et b')
double rp = 0.0, gp = 0.0, bp = 0.0;
//L
double luma = 0.0;
convertir ici la couleur de fond, peu importe la méthode et la source, et stocker les composantes RGB (valeurs entières sur 8 bits, donc de 0 à 255 pour chaque composante) dans r, g et b.
//Rec.709
//luma = 0.2126 * r + 0.7152 * g + 0.0722 * b;
//Rec.601
//luma = 0.299 * r + 0.587 * g + 0.114 * b;
//Relative luminance from sRGB
//https://www.w3.org/TR/WCAG20/relative-luminance.xml
rp = r / 255.0;
gp = g / 255.0;
bp = b / 255.0;
if (rp <= 0.03928) rp = rp / 12.92; else rp = Math.Pow((rp + 0.055) / 1.055, 2.4);
if (gp <= 0.03928) gp = gp / 12.92; else gp = Math.Pow((gp + 0.055) / 1.055, 2.4);
if (bp <= 0.03928) bp = bp / 12.92; else bp = Math.Pow((bp + 0.055) / 1.055, 2.4);
luma = (0.2126 * rp) + (0.7152 * gp) + (0.0722 * bp);
//http://www.w3.org/TR/WCAG20/#contrast-ratiodef
return luma > 0.179 ? "#000000" : "#ffffff";
À noter :
Avec Rec.2020 :
luma = 0.2627 * r + 0.678 * g + 0.0593 * b
À noter aussi :
Pour plus d'infos : https://www.itu.int/rec/R-REC-BT.2020-2-201510-I/en
Okay folks, I completely understand the security reasons behind this error message, but sometimes, we do need a workaround... and here's mine. It uses ASP.Net (rather than JavaScript, which this question was based on) but it'll hopefully be useful to someone.
Our in-house app has a webpage where users can create a list of shortcuts to useful files spread throughout our network. When they click on one of these shortcuts, we want to open these files... but of course, Chrome's error prevents this:
Not allowed to load local resource: <URL>
Originally, my webpage was attempting to directly create an <a href..> element pointing at the files, but this produced the "Not allowed to load local resource" error when a user clicked on one of these links.
<div ng-repeat='sc in listOfShortcuts' id="{{sc.ShtCut_ID}}" class="cssOneShortcutRecord" >
<div class="cssShortcutIcon">
<img ng-src="{{ GetIconName(sc.ShtCut_PathFilename); }}">
</div>
<div class="cssShortcutName">
<a ng-href="{{ sc.ShtCut_PathFilename }}" ng-attr-title="{{sc.ShtCut_Tooltip}}" target="_blank" >{{ sc.ShtCut_Name }}</a>
</div>
</div>
The solution was to replace those <a href..> elements with this code, to call a function in my Angular controller...
<div ng-click="OpenAnExternalFile(sc.ShtCut_PathFilename);" >
{{ sc.ShtCut_Name }}
</div>
The function itself is very simple...
$scope.OpenAnExternalFile = function (filename) {
//
// Open an external file (i.e. a file which ISN'T in our IIS folder)
// To do this, we get an ASP.Net Handler to manually load the file,
// then return it's contents in a Response.
//
var URL = '/Handlers/DownloadExternalFile.ashx?filename=' + encodeURIComponent(filename);
window.open(URL);
}
And in my ASP.Net project, I added a Handler file called DownloadExternalFile.aspx which contained this code:
namespace MikesProject.Handlers
{
/// <summary>
/// Summary description for DownloadExternalFile
/// </summary>
public class DownloadExternalFile : IHttpHandler
{
// We can't directly open a network file using Javascript, eg
// window.open("\\SomeNetworkPath\ExcelFile\MikesExcelFile.xls");
//
// Instead, we need to get Javascript to call this groovy helper class which loads such a file, then sends it to the stream.
// window.open("/Handlers/DownloadExternalFile.ashx?filename=//SomeNetworkPath/ExcelFile/MikesExcelFile.xls");
//
public void ProcessRequest(HttpContext context)
{
string pathAndFilename = context.Request["filename"]; // eg "\\SomeNetworkPath\ExcelFile\MikesExcelFile.xls"
string filename = System.IO.Path.GetFileName(pathAndFilename); // eg "MikesExcelFile.xls"
context.Response.ClearContent();
WebClient webClient = new WebClient();
using (Stream stream = webClient.OpenRead(pathAndFilename))
{
// Process image...
byte[] data1 = new byte[stream.Length];
stream.Read(data1, 0, data1.Length);
context.Response.AddHeader("Content-Disposition", string.Format("attachment; filename={0}", filename));
context.Response.BinaryWrite(data1);
context.Response.Flush();
context.Response.SuppressContent = true;
context.ApplicationInstance.CompleteRequest();
}
}
public bool IsReusable
{
get
{
return false;
}
}
}
}
And that's it.
Now, when a user clicks on one of my Shortcut links, it calls the OpenAnExternalFile
function, which opens this .ashx file, passing it the path+filename of the file we want to open.
This Handler code loads the file, then passes it's contents back in the HTTP response.
And, job done, the webpage opens the external file.
Phew ! Again - there is a reason why Chrome throws this "Not allowed to load local resources
" exception, so tread carefully with this... but I'm posting this code just to demonstrate that this is a fairly simple way around this limitation.
Just one last comment: the original question wanted to open the file "C:\002.jpg
". You can't do this. Your website will sit on one server (with it's own C: drive) and has no direct access to your user's own C: drive. So the best you can do is use code like mine to access files somewhere on a network drive.
answered Jun 23, 2017 at 8:04
Mike Gledhill
La série Z chez KMC est une série bas de gamme dont la durabilité est très faible moins de 1000kms dans mon cas. Elle ne conviendra que pour des vélos pour enfants ou adultes n'effectuant que peu de kilomètres.
Pour une meilleur durabilité il faudra privilégier la série X qui offre une meilleur durabilité (3/5), et idéalement les séries X-SL et X-EL (4/5) et le top DLC (5/5) toujours chez KMC mais ces 2 dernières n'ont pas la référence 3/8 vitesses...
Préférez donc à minima la X8 plutôt que cette Z8 mais elle n'est pas en rayon chez Decathlon, il serait sage de la rajouter au catalogue car une chaîne usée diminue la durée de vie de toute la transmission, il est donc économiquement beaucoup plus rentable de mettre des chaînes haut de gamme même sur des vélos bas de gamme qui roulent beaucoup (en conjonction avec une huile de qualité et des nettoyages fréquent bien sûr).
Je ne recommande donc pas cette chaîne à la faible durée de vie qui pourrait vous coûter cher à long terme sur vous avalez de la borne...
Yoann