Skip to content

Instantly share code, notes, and snippets.

View Dj0ulo's full-sized avatar

Julien Launois (jula) Dj0ulo

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<gpx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.topografix.com/GPX/1/1" xmlns:gpxdata="http://www.cluetrust.com/XML/GPXDATA/1/0" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.cluetrust.com/XML/GPXDATA/1/0 http://www.cluetrust.com/Schemas/gpxdata10.xsd" version="1.1" creator="http://ridewithgps.com/">
<metadata>
<name>Arel Gravel 2024 - 43 KM</name>
<link href="https://ridewithgps.com/routes/45607085">
<text>Arel Gravel 2024 - 43 KM</text>
</link>
<time>2024-02-16T05:25:45Z</time>
</metadata>
<trk>

Space Falling Ball - Privacy Policy

Effective Date: 2024-04-13

Introduction

Welcome to "Space Falling Ball"! This privacy policy ("Policy") explains how we ("we," "us," or "our") collect, use, and disclose information from and about users ("you" or "your") of our Android game "Space Falling Ball" (the "App").

Information We Collect

Privacy Policy - GPX from Strava & Komoot

Effective Date: 2024-04-14

This privacy policy ("Policy") describes how GPX from Strava & Komoot ("App") handles your personal data.

We Collect No Data

The App does not collect any personal data from you. It functions solely as a tool to assist you in extracting GPX data from your existing Strava and Komoot accounts.

@Dj0ulo
Dj0ulo / bingwallpaper.py
Last active February 12, 2024 09:43
Set daily Bing Wallpaper to Ubuntu
#!/usr/bin/env python3
"""
- To get a random wallpaper:
$ ./bingwallpaper.py --random
- For a daily wallpaper, run:
$ crontab -e
And add the following :
@Dj0ulo
Dj0ulo / pdb_print_color.py
Last active July 5, 2023 14:27
pdb print in color
def _pc(dictionary=locals(), ignore=['__builtins__'], indent=0):
try:
keys = dictionary._fields
except:
try:
keys = dictionary.keys()
except:
keys = dictionary.__dict__.keys()
for key in keys:
if key in ignore:
function observeShadowRoots(handle, element, config) {
setObserver((mutations) => {
mutations
.filter(m => !!m.addedNodes.length)
.forEach(m =>
[...m.addedNodes]
.filter(node => node.shadowRoot)
.forEach(node => observeShadowRoots(handle, node.shadowRoot, config))
);
handle(mutations);
@Dj0ulo
Dj0ulo / diff-rpc.diff
Last active January 23, 2023 10:29
Bug rpc odoo
diff --git a/odoo/addons/base/controllers/rpc.py b/odoo/addons/base/controllers/rpc.py
index e18b8acc4210..099b9ef03d8f 100644
--- a/odoo/addons/base/controllers/rpc.py
+++ b/odoo/addons/base/controllers/rpc.py
@@ -6,6 +6,7 @@ from datetime import date, datetime
from markupsafe import Markup
from werkzeug.wrappers import Response
+from collections import defaultdict
@Dj0ulo
Dj0ulo / engines.json
Last active November 13, 2023 10:21
OptiSearch queries
{
"Google": {
"link": "https://www.google.com",
"icon": "https://www.google.com/images/branding/googleg/1x/googleg_standard_color_128dp.png",
"rightColumn": "#rhs",
"centerColumn": "#center_col",
"resultRow": "#rso > div:not(.optisearchbox)",
"searchBox": "input.gLFyf.gsfi, input.gLFyf, textarea.gLFyf",
"active": true,
"regex": "^www\\.google\\.",