Skip to content

Instantly share code, notes, and snippets.

View aderumier's full-sized avatar

alexandre derumier aderumier

View GitHub Profile
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidOperationException: Command parameter[2] '' data value could not be converted for reasons other than sign mismatch or data overflow.
---> System.Data.OleDb.OleDbException: IErrorInfo.GetDescription failed with E_FAIL(0x80004005).
--- End of inner exception stack trace ---
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
0x0.mp4
1000cc Turbo.mp4
1000 Miglia - 1927-1933 Volume 1.mp4
10 Green Bottles.mp4
10 out of 10 - Dinosaurs.mp4
10 Out of 10 - Early Essentials.mp4
10 out of 10 - English.mp4
10 Out of 10 - Essentials Science.mp4
10 out of 10 - Junior Essentials.mp4
10 out of 10 - Maths Algebra.mp4
cat emulatorlauncher
#!/usr/bin/python
# -*- coding: utf-8 -*-
import re
import sys
import yaml
from importlib import import_module
import configgen
from configgen.Emulator import Emulator, _dict_merge, _load_defaults
use std::collections::{HashMap, HashSet};
use std::fmt;
use std::io::Write;
use rand::Rng;
use rand::seq::SliceRandom;
use std::time::Instant;
// Structure representing a Virtual Machine
#[derive(Debug, Clone)]
struct VM {
#!/usr/bin/perl
use strict;
use warnings;
use List::Util qw(sum max min);
use Data::Dumper;
# Implementation of the TOPSIS algorithm for load balancing VMs across hypervisors
# with support for migrations from an initial placement
# Class representing a Virtual Machine
# proxmox-backup-client list --repository root@pam@<Proxmox-Backup-Server-IP>:8007:pbs01
# proxmox-backup-client map vm/100/2021-01-03T17:21:21Z drive-scsi0.img --repository root@pam@<Proxmox-Backup-Server-IP>:8007:pbs01
Image '...' mapped on /dev/loop0
- qm set 100 -scsiN /dev/loop0
#overlay change at each boot
if cmp -s "/userdata/system/rgsfix/S02resize-v40fix" "/etc/init.d/S02resize"; then
echo "resize fix already applied"
else
cp /userdata/system/rgsfix/S02resize-v40fix /etc/init.d/S02resize
batocera-save-overlay
fi
#custom mess systems
{
"actions_player1": [
{
"trigger": ["hotkey", "start"],
"type": "key",
"target": [ "KEY_LEFTALT", "KEY_F4" ]
},
{
"trigger": "start",
"type": "key",
Feb 16 16:24:08 batocera kernel: [ 2780.030616] usb 1-10: new full-speed USB device number 8 using xhci_hcd
Feb 16 16:24:09 batocera kernel: [ 2780.172452] usb 1-10: New USB device found, idVendor=046d, idProduct=c294, bcdDevice=13.50
Feb 16 16:24:09 batocera kernel: [ 2780.172468] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 16 16:24:09 batocera kernel: [ 2780.172474] usb 1-10: Product: G29 Driving Force Racing Wheel
Feb 16 16:24:09 batocera kernel: [ 2780.172478] usb 1-10: Manufacturer: Logitech
Feb 16 16:24:09 batocera kernel: [ 2780.177369] input: Logitech G29 Driving Force Racing Wheel as /devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:046D:C294.0007/input/input25
Feb 16 16:24:09 batocera kernel: [ 2780.234588] logitech 0003:046D:C294.0007: input,hidraw3: USB HID v1.00 Gamepad [Logitech G29 Driving Force Racing Wheel] on usb-0000:00:14.0-10/input0
Feb 16 16:24:09 batocera kernel: [ 2780.251365] usb 1-10: USB disconnect, device number 8
Feb 16 16:24:09 batocera kernel: [