Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Script ImageMagick avancé pour créer une couverture de jeu
# Usage: ./create_advanced_game_cover.sh [options] titlescreen gameplay logo output
# Paramètres par défaut
WIDTH=600
HEIGHT=800
LOGO_POSITION="north"
LOGO_OFFSET="+0+60"
#!/bin/bash
# Script ImageMagick avancé pour créer une couverture de jeu
# Usage: ./create_advanced_game_cover.sh [options] titlescreen gameplay logo output
# Paramètres par défaut
WIDTH=600
HEIGHT=800
LOGO_POSITION="north"
LOGO_OFFSET="+0+60"
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