This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Lodel Backoffice | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Accès au backoffice Lodel avec CTRL + SHIFT + L | |
// @author brrd | |
// @match https://*.edinum.org/* | |
// @match https://*.openedition.org/* | |
// @icon https://www.edinum.org/img/edinum-logo.png | |
// @grant GM_log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fs from 'fs/promises'; | |
async function main() { | |
await fs.rm(myDir, { recursive: true, force: true }); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEST <br> | |
<LET ARRAY="test"></LET> | |
<LET ARRAY="test.foo">bar</LET> | |
<LET VAR="lorem">baz</LET> | |
<LET ARRAY="test.#LOREM">ispum</LET> | |
res: [#TEST.FOO] - [#TEST.#LOREM] - [#TEST.BAZ]<br> | |
[#TEST|var_dump] | |
// TEST | |
// res: bar - ispum - ispum |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json", | |
"version": "0.2", | |
"language": "fr", | |
"ignorePaths": ["node_modules"] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const trace = new Error().stack.split("\n")[1].replace(/^\s*at\s*/, ""); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
localStorage.clear(); | |
var i = 0; | |
var str = 'x'.repeat(50); | |
while(true) { | |
localStorage.setItem(i, str); | |
i++; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name github-tab-size | |
// @namespace http://brrd.fr | |
// @version 0.2 | |
// @description Fix tab size in Github | |
// @author brrd | |
// @match *.github.com/* | |
// @grant GM_addStyle | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Script à copier dans le dossier où se trouvent les images. | |
@echo off | |
setlocal enabledelayedexpansion enableextensions | |
mkdir output | |
set list= | |
for %%f in (*.png) do @set list=!list! %%f | |
set list=%list:~1% | |
echo Traitement des images : %list% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="fr"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<style> | |
@media print { | |
h1, h2, h3, h4, h5, h6 { | |
break-after: avoid; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.img-container { | |
width: 100%; | |
max-width: 100px; | |
position: relative; | |
} | |
.img-container::after { | |
content: ''; | |
position: absolute; | |
top: 0; |
NewerOlder