xcode-select --install
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
(function () { | |
'use strict'; | |
var ENABLED = new URLSearchParams(location.search).has('debugColors') || localStorage.getItem('__debug_colors__') === '1'; | |
var state = { | |
enabled: ENABLED, | |
frozen: null, | |
panel: null, | |
hover_box: null, |
📌 Python | 📌 JavaScript | 📌 Java | 📌 C / C++ | 📌 C# | 📌 PHP | 📌 SQL | 📌 Bash | 📌 TypeScript | 📌 Rust | 📌 Go | 📌 Ruby
Symbole | Nom en français | Nom en anglais | Langages | Utilisation |
---|---|---|---|---|
() |
Parenthèses | Parentheses | Tous | Appels de fonction, expressions |
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
wget https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img | |
apt install guestfs-tools | |
virt-customize -a noble-server-cloudimg-amd64.img --install qemu-guest-agent | |
qm create 9000 --name ci-template --memory 2048 --net0 virtio,bridge=vmbr0 --scsihw virtio-scsi-pci | |
qm set 9000 --scsi0 local-lvm:0,import-from=/home/cloudinit/noble-server-cloudimg-amd64.img | |
qm set 9000 --ide2 local-lvm:cloudinit | |
qm set 9000 --boot order=scsi0 | |
qm set 9000 --serial0 socket --vga serial0 | |
qm template 9000 |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Script Name: gitlab-group-privacy.py | |
Auteur: Lucian BLETAN | |
Date de création: 09 Novembre 2023 | |
Dernière modification: 09 Novembre 2023 | |
Description: |
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
docker network create --subnet=30.1.0.0/16 --ip-range=30.1.0.0/24 mynetwork | |
docker run --net=mynetwork --ip=30.1.1.1 --name=myservice1 xxxx | |
docker run --net=mynetwork --ip=30.1.1.2 --name=myservice2 yyyy |
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 pandas as pd | |
from pymongo import MongoClient | |
client = MongoClient("mongodb://localhost:27017") | |
db = client.database_Name | |
collection_conn = db['collection_name'] | |
collection_cursor = collection_conn.find() | |
collection_pandas_df = pd.DataFrame(list(collection_cursor)) |
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
#!/bin/bash | |
URL=$1 | |
FILENAME=${URL##*/} | |
FONT_DIR=/usr/share/fonts/truetype/custom/ | |
echo $FILENAME | |
echo $FONT_DIR | |
echo "Start install" |
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
html { | |
box-sizing: border-box | |
} | |
*, *:before, *:after { | |
box-sizing: inherit | |
} | |
html { | |
-ms-text-size-adjust: 100%; |
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
# Editing out all the echoes... | |
killall Keybase | |
fusermount -uz /keybase | |
killall kbfsfuse | |
killall keybase | |
keybase ctl stop | |
pkill Keybase |
NewerOlder