4127 links
739 private links
  • Doo's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
  • ► Jouer les vidéos
Links per page: 20 50 100
◄Older
page 2 / 170
Newer►
  • thumbnail
    Unraid | Community Apps

    via Clém

    May 17, 2024 03:01:35 PM GMT+02:00 * - permalink -
    QRCode
    - https://unraid.net/community/apps/p58#r
    raid nas syno
  • thumbnail
    How to build a thermal battery
    May 3, 2024 02:03:42 PM GMT+02:00 * - permalink -
    QRCode
    - https://www.technologyreview.com/2024/04/18/1091481/how-to-build-a-thermal-battery/
    énergie
  • thumbnail
    EndeavourOS – A terminal-centric distro with a vibrant and friendly community at its core
    April 28, 2024 02:17:14 PM GMT+02:00 * - permalink -
    QRCode
    - https://endeavouros.com/
    gaming linux
  • thumbnail
    CachyOS — Blazingly Fast OS based on Arch Linux — CachyOS
    April 28, 2024 02:17:09 PM GMT+02:00 * - permalink -
    QRCode
    - https://cachyos.org/
    gaming linux
  • FYI: Be sure to do this BEFORE you update to Fedora 40/Gnome 46 next week. : r/Fedora

    good to know!

    April 20, 2024 09:32:33 AM GMT+02:00 * - permalink -
    QRCode
    - https://www.reddit.com/r/Fedora/comments/1c7u3mg/fyi_be_sure_to_do_this_before_you_update_to/
    fedora gnome
  • https://www.cgedd.fr/prix-immobilier-friggit.pdf
    April 19, 2024 11:10:24 AM GMT+02:00 * - permalink -
    QRCode
    - https://www.cgedd.fr/prix-immobilier-friggit.pdf
    économie
  • thumbnail
    curl/trurl: trurl is a command line tool for URL parsing and manipulation.

    trurl

    Command line tool for URL parsing and manipulation

    Video presentation

    Examples

    Replace the host name of a URL:

    $ trurl --url https://curl.se --set host=example.com
    https://example.com/

    Create a URL by setting components:

    $ trurl --set host=example.com --set scheme=ftp
    ftp://example.com/

    Redirect a URL:

    $ trurl --url https://curl.se/we/are.html --redirect here.html
    https://curl.se/we/here.html

    Change port number:

    $ trurl --url https://curl.se/we/../are.html --set port=8080
    https://curl.se:8080/are.html

    Extract the path from a URL:

    $ trurl --url https://curl.se/we/are.html --get '{path}'
    /we/are.html

    Extract the port from a URL:

    $ trurl --url https://curl.se/we/are.html --get '{port}'
    443

    Append a path segment to a URL:

    $ trurl --url https://curl.se/hello --append path=you
    https://curl.se/hello/you

    Append a query segment to a URL:

    $ trurl --url "https://curl.se?name=hello" --append query=search=string
    https://curl.se/?name=hello&search=string

    Read URLs from stdin:

    $ cat urllist.txt | trurl --url-file -
    ...

    Output JSON:

    $ trurl "https://fake.host/hello#frag" --set user=::moo:: --json
    [
      {
        "url": "https://%3a%3amoo%3a%3a@fake.host/hello#frag",
        "parts": {
          "scheme": "https",
          "user": "::moo::",
          "host": "fake.host",
          "path": "/hello",
          "fragment": "frag"
        }
      }
    ]

    Remove tracking tuples from query:

    $ trurl "https://curl.se?search=hey&utm_source=tracker" --trim query="utm_*"
    https://curl.se/?search=hey

    Show a specific query key value:

    $ trurl "https://example.com?a=home&here=now&thisthen" -g '{query:a}'
    home

    Sort the key/value pairs in the query component:

    $ trurl "https://example.com?b=a&c=b&a=c" --sort-query
    https://example.com?a=c&b=a&c=b

    Work with a query that uses a semicolon separator:

    $ trurl "https://curl.se?search=fool;page=5" --trim query="search" --query-separator ";"
    https://curl.se?page=5

    Accept spaces in the URL path:

    $ trurl "https://curl.se/this has space/index.html" --accept-space
    https://curl.se/this%20has%20space/index.html

    Install

    Linux

    It's quite easy to compile the C source with GCC:

    $ make
    cc  -W -Wall -pedantic -g   -c -o trurl.o trurl.c
    cc   trurl.o  -lcurl -o trurl

    trurl is also available in some Linux distributions. You can try searching for it using the package manager of your preferred distribution.

    Windows

    1. Download and run Cygwin installer.
    2. Follow the instructions provided by the installer. When prompted to select packages, make sure to choose the following: curl, libcurl-devel, libcurl4, make and gcc-core.
    3. (optional) Add the Cygwin bin directory to your system PATH variable.
    4. Use make, just like on Linux.

    Prerequisites

    Development files of libcurl (e.g. libcurl4-openssl-dev or
    libcurl4-gnutls-dev) are needed for compilation. Requires libcurl version
    7.62.0 or newer (the first libcurl to ship the URL parsing API).

    trurl also uses CURLUPART_ZONEID added in libcurl 7.81.0 and
    curl_url_strerror() added in libcurl 7.80.0

    It would certainly be possible to make trurl work with older libcurl versions
    if someone wanted to.

    Older libcurls

    trurl builds with libcurl older than 7.81.0 but will then not work as
    good. For all the documented goodness, use a more modern libcurl.

    April 18, 2024 08:39:36 PM GMT+02:00 * - permalink -
    QRCode
    - https://github.com/curl/trurl
    curl url
  • thumbnail
    En Savoie, des fans reproduisent la porte du film "Stargate" après douze ans de travail

    x)

    April 14, 2024 06:23:01 PM GMT+02:00 * - permalink -
    QRCode
    - https://www.francetvinfo.fr/culture/series/en-savoie-des-fans-reproduisent-la-porte-du-film-stargate-apres-douze-ans-de-travail_5333422.html
    stargate
  • thumbnail
    Filimoa/open-parse: PDF Layout Chunking for LLMs
    April 9, 2024 01:32:48 PM GMT+02:00 * - permalink -
    QRCode
    - https://github.com/Filimoa/open-parse
    pdf python llm
  • Linux Crisis Tools
    March 31, 2024 03:13:13 PM GMT+02:00 * - permalink -
    QRCode
    - https://www.brendangregg.com/blog/2024-03-24/linux-crisis-tools.html?ck_subscriber_id=1753174432
    linux tools
  • thumbnail
    Identifying and profiling problematic MySQL queries
    March 30, 2024 08:20:54 PM GMT+01:00 * - permalink -
    QRCode
    - https://planetscale.com/blog/identifying-and-profiling-problematic-mysql-queries
    mysql
  • thumbnail
    Cybersecurity for Beginners: Basic Skills - YouTube

    "for begginers" haha, I'd like to see friends of mine try this one out

    March 23, 2024 09:17:43 AM GMT+01:00 * - permalink -
    QRCode
    - https://www.youtube.com/watch?v=aRbKFCY4tjE
    security
  • Note: Using mistral as an intern

    I was too lazy to write anything remotely as clean as this so I asked Kagi's integration of Mistral Large:

    Sure, here's an example of how you could create a systemd timer to automatically renice existing Google Chrome processes.

    1. First, create a new service file. You can use any text editor you like, but for this example, we'll use nano:
    sudo nano /etc/systemd/system/renice-chrome.service
    1. In the service file, add the following lines:
    [Unit]
    Description=Renice Google Chrome processes
    
    [Service]
    Type=oneshot
    ExecStart=/bin/bash -c 'for pid in $(pgrep chrome); do ionice -c3 -p $pid; renice 19 -p $pid; done'

    This service file defines a new service that runs a bash command to find all Google Chrome processes (using pgrep chrome), and then applies ionice and renice to each process.

    1. Save and close the file.

    2. Next, create a new timer file:

    sudo nano /etc/systemd/system/renice-chrome.timer
    1. In the timer file, add the following lines:
    [Unit]
    Description=Run renice-chrome.service every hour
    
    [Timer]
    OnCalendar=hourly
    Persistent=true
    
    [Install]
    WantedBy=timers.target

    This timer file defines a new timer that runs the renice-chrome.service every hour.

    1. Save and close the file.

    2. Now, enable and start the timer:

    sudo systemctl enable renice-chrome.timer
    sudo systemctl start renice-chrome.timer
    1. You can check the status of the timer with:
    sudo systemctl list-timers

    This will show you a list of all active timers, including when they're next due to run.

    Please note that this will only affect Google Chrome processes that are already running when the timer runs. If you want to also lower the priority of new Google Chrome processes as they're launched, you would need to use a different approach, such as the script I described in my previous answer.

    Also, remember to replace chrome with the correct process name if it's different on your system. You can check the process name with pgrep chrome. If it doesn't return anything, try pgrep chromium or pgrep google-chrome.

    March 18, 2024 02:18:32 PM GMT+01:00 * - permalink -
    QRCode
    - https://dooby.fr/shaare/tF_4eA
    ai ia intelligence artificielle mistral chatgpt gpt
  • thumbnail
    sjpiper145/MakerSkillTree: A repository of Maker Skill Trees and templates to make your own.

    très bon concept

    March 13, 2024 07:25:32 PM GMT+01:00 * - permalink -
    QRCode
    - https://github.com/sjpiper145/MakerSkillTree
    hacker skill tree
  • A Distributed Systems Reading List
    February 19, 2024 01:37:16 PM GMT+01:00 * - permalink -
    QRCode
    - https://ferd.ca/a-distributed-systems-reading-list.html
    système distribué
  • thumbnail
    The story of the SSH port is 22.

    Anyway, just before announcing ssh-1.0 in July 1995, I sent this e-mail to IANA:

    From ylo Mon Jul 10 11:45:48 +0300 1995 From: Tatu Ylonen ylo@cs.hut.fi
    To: Internet Assigned Numbers Authority iana@isi.edu
    Subject: request for port number
    Organization: Helsinki University of Technology, Finland
    Dear Sir, I have written a program to securely log from one machine into another over an
    insecure network. It provides major improvements in security and functionality over existing
    telnet and rlogin protocols and implementations. In particular, it prevents IP, DNS and
    outing spoofing. My plan is to distribute the software freely on the Internet and to get it
    into as wide use as possible. I would like to get a registered privileged port number for
    the software.

    The number should preferably be in the range 1-255 so that it can be used in the WKS field
    in name servers. I'll enclose the draft RFC for the protocol below. The software has been in
    local use for several months, and is ready for publication except for the port number. If
    the port number assignment can be arranged in time, I'd like to publish the software already
    this week. I am currently using port number 22 in the beta test.

    It would be great if this number could be used (it is currently shown as Unassigned in the
    lists). The service name for the software is "ssh" (for Secure Shell).

    Yours sincerely, Tatu Ylonen ylo@cs.hut.fi ... followed by protocol specification
    for ssh-1.0
    The next day, I had an e-mail from Joyce waiting in my mailbox:

    Date: Mon, 10 Jul 1995 15:35:33 -0700 From: jkrey@ISI.EDU To: ylo@cs.hut.fi Subject:
    Re: request for port number Cc: iana@ISI.EDU
    Tatu, We have assigned port number 22 to ssh, with you as the point of contact. Joyce
    There we were! SSH port was 22!!!

    February 13, 2024 11:25:02 AM GMT+01:00 * - permalink -
    QRCode
    - https://www.ssh.com/academy/ssh/port#the-story-of-getting-ssh-port-22
    ssh
  • thumbnail
    electromagnetic radiation - Why does a remote car key work when held to your head/body? - Physics Stack Exchange
    January 9, 2024 10:48:01 AM GMT+01:00 * - permalink -
    QRCode
    - https://physics.stackexchange.com/questions/101913/why-does-a-remote-car-key-work-when-held-to-your-head-body
    lol signal electromagnetic fun voiture
  • thumbnail
    Linux kernel version 6 not supported - patch available · Issue #384 · DisplayLink/evdi

    Displaylink c'est vraiment de la daube

    git clone git@github.com:DisplayLink/evdi.git
    sudo mv evdi /usr/src/evdi
    cd /usr/src
    sudo mv evdi-1.12.0 evdi-1.12.0-backup
    sudo ln -s evdi/module evdi-1.12.0
    cd evdi-1.12.0
    sudo make
    sudo make install
    December 21, 2023 09:52:20 AM GMT+01:00 * - permalink -
    QRCode
    - https://github.com/DisplayLink/evdi/issues/384#issuecomment-1301739514
    evdi displaylink dock usb
  • thumbnail
    restic backup with auto restic, autorestic and an nfs server as a remote storage

    restic.sh

    #!/bin/bash
    timeout 30 mount /home/backup/ && time autorestic --config /home/changeme/.autorestic.yml backup -a ; umount /home/backup

    restic.service

    [Unit]
    Description="Restic script"
    
    [Service]
    ExecStart=/bin/bash -c "/home/changeme/restic.sh"

    restic.timer

    [Unit]
    Description="Run restic.service 5min after boot and every 24 hours relative to activation time"
    
    [Timer]
    OnBootSec=5min
    OnUnitActiveSec=24h
    OnCalendar=Mon..Fri *-*-* 10:00:*
    Unit=restic.service
    
    [Install]
    WantedBy=multi-user.target

    /etc/fstab

    storage.ip.address:/home/changeme/backup /home/backup nfs4  noauto,rw,hard,intr,rsize=8192,wsize=8192,timeo=14 0 0

    ~/.autorestic.yml

    version: 2
    
    locations:
      home:
        from: /home/changeme/
        to: remote
        options:
              backup:
                exclude:
                  - 'Dropbox/*'
                  - 'Dropbox*/*'
                  - '.cache'
                  - '.*CacheStorage.*'
                  - '.*CachedData.*'
                  - '.*Cache.*'
                  - '.var/app'
                  - '.cargo'
                  - '.ssh'
                  - '.rustup'
                exclude-file: /home/changeme/.gitignore
    backends:
      remote:
        type: local
        path: "/home/backup/"
        key: "changeme"
    December 8, 2023 03:25:21 PM GMT+01:00 * - permalink -
    QRCode
    - https://gist.github.com/theonlydoo/1ee4640ffe9555dd8d3a92e67c717d00
    restic backup
  • What is DDL, DML, DCL, and TCL in MySQL Databases?

    Learn how to use MySQL SQL commands with this comprehensive tutorial. Discover four subgroups of MySQL SQL commands: DDL for database schema, DML for data manipulation, DCL for access control, and TCL for transaction management.

    December 4, 2023 11:21:08 AM GMT+01:00 * - permalink -
    QRCode
    - https://www.w3schools.in/mysql/ddl-dml-dcl
    mysql
Links per page: 20 50 100
◄Older
page 2 / 170
Newer►
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation