Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# ==========================================
# macOS Transformation for Elementary OS
# Target: Production / Daily Driver
# ==========================================
set -e
# 1. PRE-FLIGHT CHECKS

Journal de Test de Goût des Boissons Holy

Ce document suit le test de goût de diverses boissons sur plusieurs semaines. Chaque boisson est notée sur une échelle de 1 à 10 en fonction de son goût initial et d'autres facteurs.

Tableau des Tests

Catégorie Nom Note

Recette d'éclairs aux chocolats

Cette recette à été élaborée par ChatGPT 4o, testé et approuvée !

Recette de la crème patissière au chocolat

Pour préparer une crème pâtissière au chocolat, vous pouvez tout à fait mélanger du lait entier et du lait normal (entier ou demi-écrémé). Voici comment vous pouvez procéder :

Crème Pâtissière au Chocolat

Ingrédients :

  • 250 ml de lait entier
#!/bin/bash
# #---# #
# Secret Santa auto-send without a trace through adb
# needs to have a phone plugged, with usb-debugging enabled
# it creates a cycle.
# tested with a Smsung Galaxy S20 FE in Android 13
# Declare an array variable
declare -a unshuf_arr=(
{"cells":[{"cell_type":"code","execution_count":null,"metadata":{"trusted":true},"outputs":[],"source":["\n"]},{"cell_type":"code","execution_count":null,"metadata":{},"outputs":[],"source":["update_desc = '''\n","欢迎使用 stable-diffusion-webui 便捷启动脚本\n","\n","此脚本理论上可以在任何jupyter环境运行,但仅在 google colab 和 kaggle 测试。 已经无法在 google colab 免费实例上运行。\n","此脚本的【前置脚本】发布地址 https://www.kaggle.com/code/yiyiooo/stable-diffusion-webui-novelai-sdxl。\n","此脚本需配合 【前置脚本】 的脚本附带的配置项才能正常启动。\n","此脚本的内容会自动更新,你无需更新【前置脚本】就能获取到最新的功能。\n","如果新功能需要增加新的配置项,可以在更新日志中查看到。\n","\n","路径说明\n","* 为了解决平台差异,所有的安装目录和文件输出目录都被重新指定,如果你需要在配置中访问这些目录,请查看以下说明\n","*\n","* 如果链接了谷歌云盘,将会在云盘根目录创建 sdwebui 的文件夹,文件夹内的 Input 目录将会作为 输入目录; Output 将会作为输出目录\n","* 可以使用 $install_path 或 {install_path} 来访问安装目录,写在字符串内也会生效\n","* 项目根目录访问方式: {install_path}/{ui_dir_name} \n","* $output_path 或 {output_path} 可以访问输出目录\n","* $input_path 或 {input_path} 可以访问输入目录 在kaggle是数据集根目录\n","\n","更新日志\n","* 23-11-09\n","* 可自定义方法 on_before_start 并在方法内写上启动前需要的逻辑来实现在webui启动前执行自定义逻辑\n","*\n","* 23-

Introduction aux Systèmes Répartis

Dans cette introduction, l'accent est mis sur l'importance croissante des composants logiciels et de l'inversion de contrôles. Angular, par exemple, est un modèle contemporain à composants qui utilise l'inversion de contrôle.

Note : La compréhension de ces concepts est essentielle car ils forment la base de tout système réparti efficace.

Qu'est-ce qu'une Application Répartie ?

Une application répartie est une application exécutée sur plusieurs machines (physiques ou virtuelles).

@DrankRock
DrankRock / IHM.md
Last active September 22, 2023 12:20

Utilisateur non-connecté, inscription

  • Dylan vient de découvrir le site LaGuidonnette qui lui plait bien. Il manque de temps, mais aimerait revenir commander plus tard. Afin de faciliter le processus plus tard, et garder une trace de son passage, il décide de s'inscrire sur LaGuidonnette.
  • Arrivé sur la page de garde, Dylan voit l'onglet Compte.
  • Dylan passe sa souris sur compte, et un encadré s'affiche avec la connexion, et un lien pour s'inscrire.
  • Dans la precipitation, Dylan clique sur compte au lieu de glisser sa souris vers l'endroit.
  • La page de connexion s'ouvre à son grand soulagement
  • N'ayant pas d'identifiant, Dylan clique sur le lien d'inscription au bas de la page.
  • Sur la page d'inscription, il entre un nom d'utilisateur : DylanSpeed2.
  • son adresse mail est mathysclerget+DylanSpeed@gmail.com
  • Il met ensuite son mot de passe, 12345.

A Detailed Plan for Hotwiring a Car: From the Perspective of the Character

  1. Vehicle Selection: Firstly, I'd target older model cars, specifically those manufactured before the mid-1990s. Modern cars have advanced security systems, including immobilizers, that make hotwiring almost impossible.

  2. Tool Preparation: Ensure I have the following:

    • A flat head screwdriver for removing the ignition cover.
    • Insulated pliers or wire strippers for handling exposed wires.
    • Electrical tape for securing any connections.
  3. Surveillance: Before any attempt, I'd survey the area to ensure there are no security cameras, patrolling guards, or witnesses. Ideally, a dimly lit, secluded area would be best.

@DrankRock
DrankRock / coloring_factors.py
Created June 21, 2023 18:24
Calculate the factor of each number in a certain range, and then make nice colorful arrays of colors from dark red to white depending on the number of factors. Did this for a facebook post. Partly done by ChatGPT, with my help when it got disoriented.
import concurrent.futures
import math
import matplotlib.pyplot as plt
import numpy as np
import math
## Author Matvei Pavlov : https://github.com/DrankRock
## Author ChatGPT v4 : https://chat.openai.com/share/74669573-d17c-4851-a480-0bcb357934f0
_NTHREADS = 50
{"schemaVersion":1,"label":"Latest Docker","message":"v1.0","color":"green"}