Table des matières
TODO: Plan de l’exposé
| <?xml version="1.0" encoding="UTF-8"?> | |
| <module type="WEB_MODULE" version="4"> | |
| <component name="NewModuleRootManager"> | |
| <content url="file://$MODULE_DIR$" /> | |
| <orderEntry type="inheritedJdk" /> | |
| <orderEntry type="sourceFolder" forTests="false" /> | |
| </component> | |
| </module> |
| version: '2.1' | |
| services: | |
| sonarr: | |
| image: ghcr.io/linuxserver/sonarr | |
| container_name: sonarr | |
| environment: | |
| - PUID=1000 | |
| - PGID=1000 | |
| - TZ=Europe/Brussels | |
| volumes: |
TODO: Plan de l’exposé
| import frida | |
| import sys | |
| # Define the JavaScript code to be injected | |
| js_code = """ | |
| Interceptor.attach(Module.findExportByName(null, "calloc"), { | |
| onEnter: function(args) { | |
| console.log("calloc(" + args[0] + ") called"); | |
| console.log("count = "+Interceptor.count); | |
| Interceptor.count++; | |
| var stack = Thread.backtrace(this.context, Backtracer.ACCURATE); |
| function fzf_jj_edit | |
| if test -d .jj | |
| set -l name (jj log --no-graph -T 'change_id.shortest() ++ "\t" ++ description.first_line() ++ " " ++ bookmarks.join(" ") ++ "\n"' --color always | fzf --ansi | cut -f1) | |
| commandline -it "$name" | |
| else | |
| commandline -it "# not in a jj directory" | |
| end | |
| end | |
| bind \cj 'fzf_jj_edit' |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta property="og:type" content="video.other"> | |
| <meta property="og:title" content="Amazing Video You Must Watch!"> | |
| <meta property="og:description" content="This video will change your life!"> | |
| <meta property="og:url" content="https://www.youtube.com/watch?v=wlsdMpnDBn8"> | |
| <meta property="og:image" content="https://img.youtube.com/vi/wlsdMpnDBn8/maxresdefault.jpg"> |
| ID_start | ID_end | |
|---|---|---|
| BKK | ADD | |
| BOM | ADD | |
| CAI | ADD | |
| CAN | ADD | |
| CDG | ADD | |
| DEL | ADD | |
| DOH | ADD | |
| DXB | ADD | |
| FRA | ADD |
| #define setupChrono() clock_t start; clock_t end; double cpu_time_used; | |
| #define chrono(t, ...) start = clock();\ | |
| __VA_ARGS__;\ | |
| end = clock();\ | |
| cpu_time_used = ((double) (end - start)) * 1000 / CLOCKS_PER_SEC; \ | |
| printf("[PERFORMANCE] Name: %s | File: %s | Line: %d | Execution Time: %.3f ms\n", t,__FILE__, __LINE__, cpu_time_used); | |
| // ==UserScript== | |
| // @name UCLouvain, but better | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2025-03-04 | |
| // @description Fix this awful website. | |
| // @author tdaron | |
| // @match https://www.uclouvain.be/* | |
| // @run-at document-start | |
| // @grant none | |
| // @downloadURL https://gist.github.com/tdaron/853e65ee535cf0e9889edd0d270bfdc5/raw/uclouvain.user.js |