Skip to content

Instantly share code, notes, and snippets.

View LouisGJBertrand's full-sized avatar
🎯
Focusing

Loé LouisGJBertrand

🎯
Focusing
View GitHub Profile
@LouisGJBertrand
LouisGJBertrand / SetAllTexturesInMayaToUnfiltered.py
Created August 8, 2025 14:35
Batch Set filter to textures to unfiltered in Maya using python
texs = cmds.ls(textures=True)
print (tex)
for tex in texs:
cmds.setAttr(tex+".filterType", 0)

A custom made csv parser that returns a table of data with keys corresponding to the header. Works only if the column count is corresponding perfectly to the number of columns in the first row.

usage:

$csv_string = "your csv file data";
$separator = "the char that separates columns (default = [ , ] )";
$stringen_closure = "the caracter that enclose a string (default = [ \" ] )";
$line_break_character = "the character that separates rows (default = [ \n ] )";
@LouisGJBertrand
LouisGJBertrand / BatchResize.py
Created May 25, 2024 06:27
Batch Resize Images
from PIL import Image
import os
class BatchResizeParams:
InputPath = "Input"
OutputPath = "Output"
RescaleFactor = 1
class BatchResize:
@LouisGJBertrand
LouisGJBertrand / 00_explainations.md
Last active January 17, 2024 18:40
Fixing Focusrite Card Desynchronizations with video games (counter strike 2, speed runners etc.)
@LouisGJBertrand
LouisGJBertrand / ExcludeAIProjectsFromArtstationSearchs.js
Last active April 14, 2023 08:50
A small javascript function with a timeout to exclude ai projects in artsation researchs
function excludeAiFromArtstation()
{
var found = document.getElementsByClassName('search-filters-control')[0];
if(found == undefined)
{
console.log("Unable to find the Hide AI Button");
return;
}
@LouisGJBertrand
LouisGJBertrand / CI for .net console app
Last active July 21, 2021 21:12
CI for .net console app
ReadME !!
a small notice:
author: Louis BERTRAND
license MIT or everything in fact, that's just a simple
You might need to modify the script with your publishing profile names but the
idea might remain the same. Also change the artifact names by yours.
To have an idea of how it works:
### Keybase proof
I hereby claim:
* I am pylott on github.
* I am louisgjbertrand (https://keybase.io/louisgjbertrand) on keybase.
* I have a public key ASDnoAlJeMGhE3wINOU7gYcs0FCJcHFgtOC9IV1bu1iqqAo
To claim this, I am signing this object: