Skip to content

Instantly share code, notes, and snippets.

🗼
Nous n'avons pas besoin de vinaigre balsamique après tout...

Max le Fou maxlefou

🗼
Nous n'avons pas besoin de vinaigre balsamique après tout...
Block or report user

Report or block maxlefou

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@maxlefou
maxlefou / bell hour clock.lsl
Created Apr 18, 2019
This will emits a sound for each hour, like your average town clock or anything...
View bell hour clock.lsl
// CLOCK BELL SCRIPT
// ORIGINAL AUTHOR: Beverly Larkin
// Edited by buttbadger Mirabeau
// Like
// Put below the bell sound name or UUID:
string bell = "bab03683-516a-22a3-a9ec-4a357dbdc587";
// Or some junk
integer H; //Hours
@maxlefou
maxlefou / script.rpy
Created Jan 31, 2019
Snippet for Ren'Py games splash screens and skipped transitions
View script.rpy
# This snippet can be used in your Ren'Py game to fix a tweak that you can find annoying if you ever face the problem.
# The actual behavior of Ren'Py is, when the "skipping transitions" setting is enabled, to, as it says, skip all transitions. A good setting that can be useful... Except this setting also applies for splash screens. And most of developpers wouldn't like to see their splash screen skipped abruptly by a silly setting... The thing has been mentionned but isn't considered as a "bug".....
# This code below will let you bypass this "not bug" while keeping the players settings intact.
# First you need to define a variable just for this. You can also use another temporary variable of your own if your game has any.
define tempvariable1 = None
label splashscreen:
# To insert BEFORE your code:
@maxlefou
maxlefou / gnome-force-restart.sh
Last active May 28, 2017
This script lets you force Gnome restarting if it suddenly started to freeze or be unresponsive...
View gnome-force-restart.sh
#!/bin/sh
# This script lets you force Gnome restarting if it suddenly started to freeze or be unresponsive...
# I can't believe we need this...
# To use this, get into a tty, launch this script, get back to gnome and...pray...
dbus-send --type=method_call --print-reply --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'global.reexec_self()'
exit
View Windows force clock update.bat
@ECHO OFF
REM This script forces Windows to get its clock updated
REM in case multiboot makes it forget what time is it.
REM (WHY?!!!!)
REM Launch this with task schedule and pray that it works.
net start w32time
w32tm /resync
@maxlefou
maxlefou / BioshockHD save saver.bat
Last active Feb 16, 2017
Script that backups Bioshock Remastered saves in case of crash and can recover them.
View BioshockHD save saver.bat
@ECHO OFF
REM BIOSHOCK HD SAVE SAVER
REM I created this script because 2k recoded Bioshock Remastered so badly, the game crashes and removes all saves.
REM I was tired of losing my saves so I made this script.
REM When you launch it, you get a menu. Press 1 and play Bioshock. All the saves you do will get a backup in a folder
REM called "Bioshock saves" in your home folder and will backup the saves every minute.
REM In case of crash, stop the script, relaunch it, choose the option 2 to recover the lost saves.
@maxlefou
maxlefou / open_source_clickable_part_script.lsl
Created Nov 30, 2016
A rudimentary script for Second Life to make body parts interactable
View open_source_clickable_part_script.lsl
// BODY PART CLICKABLE SCRIPT
// Made by Trappy Tickles
// If you want a custom name, change this value.
// Otherwise, keep it void ( "" )
string CUSTOMNAME = "";
// Change it if you plan to use this script for another body part
string bodypart = "mane";
@maxlefou
maxlefou / Prim_cleaner.lsl
Last active Nov 30, 2016
Script for Second Life. Removes reminiscent stuff on a copied non-scripted prim
View Prim_cleaner.lsl
// PRIM CLEANER
//
// Sick of particles or floating text still on a prim, even after removing the script that manages it ?
// This script will remove the effects without having to copy the prim again...
// Just put it in the prim and the script will fix all the things before disappreaing itself,
// making your prim fresh and clear!
//
// Courtesy of buttbadger Mirabeau
default
@maxlefou
maxlefou / Horse_tail_wagging_script.lsl
Created Nov 30, 2016
A script for flexi tails in Second Life. Raises up when clicked.
View Horse_tail_wagging_script.lsl
// FREE TAIL SCRIPT
// Meant for flexi-tails. It wags randomly, and when the owner clicks it, it raises.
// Click again and it goes back wagging.
// Brought to you by buttbadger.mirabeau. Feel free to use in your sales and redistribute
// but keep the script in full perm. Thank you
// User Variables
float wagtime = 0.15; // How long the tail takes to go from center to one side of the tail.
float minWagTime = 5.0; // Minimum time(in seconds) between Wags.
float maxWagTime = 9.0; // Maximum time(in seconds) between Wags.
@maxlefou
maxlefou / Basic_ring_door_button_script.lsl
Last active Apr 3, 2018
A simple doorbell script for Second Life. With sound and antispam
View Basic_ring_door_button_script.lsl
// BASIC RING BUTTON
// by buttbadger Mirabeau
// Usage: When someone touches the doorbell, it rings and the toucher's name will be said in chat.
// When the owner touches it, they can ring the bell or choose a Public and Private setting. (Private by default)
// Private setting will send the notification in private IM in localchat. Only you can read it.
// Public setting will send the notification in localchat, visible for everybody in range.
// Like,
// This script is open source and free. It can't be resold as it is. You can put it in part of your sales
@maxlefou
maxlefou / stfu-and-update.sh
Created Nov 30, 2016
Forces manjaro (or arch after some edits) to update in case new keyrings prevents it
View stfu-and-update.sh
# STFU AND UPDATE
# ---------------
# WARNING: This must be run as root!
# This script might come in handy if you have manjaro (or arch, after some editing) not wanting to update because of invalid keys.
# I had a case where this didn't worked afterwards, but in my tries, this usually do the thing
#!/bin/sh
pacman -S gnupg
pacman-key --populate archlinux manjaro
You can’t perform that action at this time.