This file contains 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 python3 | |
import sys | |
import json | |
def parse_value(value): | |
try: | |
# Try converting to integer | |
return int(value) | |
except ValueError: | |
try: |
This file contains 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 | |
# Check if three arguments are passed to the script | |
if [ "$#" -ne 3 ]; then | |
echo "Usage: $0 <REMOTE_HOST> <VOLUME_NAME> <ARCHIVE_PATH>" | |
exit 1 | |
fi | |
REMOTE_HOST=$1 | |
VOLUME_NAME=$2 |
This file contains 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
10 PRINT "HELLO! WHAT IS YOUR NAME?" | |
20 INPUT N$ | |
30 PRINT "NICE TO MEET YOU, " + N$ + "!" | |
40 PRINT "HOW ARE YOU DOING TODAY? (GOOD/BAD)" | |
50 INPUT A$ | |
60 IF A$ = "GOOD" THEN GOTO 80 | |
70 IF A$ = "BAD" THEN GOTO 90 | |
75 PRINT "I DIDN'T UNDERSTAND. PLEASE ANSWER WITH 'GOOD' OR 'BAD'." | |
76 GOTO 40 | |
80 PRINT "I'M GLAD TO HEAR THAT, " + N$ + "!" |
This file contains 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
package com.example; | |
import javax.ws.rs.GET; | |
import javax.ws.rs.Path; | |
import javax.ws.rs.Produces; | |
import javax.ws.rs.core.MediaType; | |
@Path("/hello") | |
public class ExampleResource { |
This file contains 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
# A shell function to manage multiple CPUs using cpuctl on macos | |
# XRR 2023 | |
# Usage: cpuset { offline | online } <start_cpu1>-<end_cpu1> [ <start_cpu2>-<end_cpu2>... ] | |
cpuset() { | |
action=$1 | |
shift | |
if [ "$action" != "offline" ] && [ "$action" != "online" ]; then | |
echo "Invalid action: $action" |
This file contains 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/python3 | |
from bluepy import btle | |
import argparse | |
import os | |
import re | |
import requests | |
import time | |
veraip = "192.168.1.39" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
C101 22 uF 450 001590532 | |
C102 220 uF 001475974 | |
C104 22 uF 16 001325871 | |
C108 220 uF 50 000422056 | |
C109 10 uF 25 001325870 | |
C110 470 uF 001328832 | |
C113 10 uF 25 001325870 | |
C203 100 UF 25 001301761 | |
C205 220 uF 001475974 | |
C209 1 uF 50 001280690 |
This file contains 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
C1 250V 0,1µF anti parasite http://www.conrad.fr/ce/fr/product/450208/Condensateur-anti-parasite-MKP-X2-450208-01-F-275-VAC-10-Pas-15-mm-L-x-l-x-h-18-x-5-x-11-mm-1-pcsC0 | |
?? 0,47µF anti parasite http://www.conrad.fr/ce/fr/product/450256/Condensateur-anti-parasite-MKP-X2-450256-047-F-275-VAC-10-Pas-225-mm-L-x-l-x-h-265-x-85-x-17-mm-1-pcs | |
C12 16V 1000µF Chimique http://www.conrad.fr/ce/fr/product/1281559/Condensateur-electrolytique-105-C-Wuerth-Elektronik-860160375032-sortie-radiale-5-mm-1000-F-16-V-x-h-10-mm-x-16-mm | |
C13 16V 1000µF Chimique " " " | |
C14 16V 1000µF Chimique " " " | |
C19 16V 1000µF Chimique " " " | |
C20 16V 1000µF Chimique " " " |