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 | |
# © Aurélien PIERRE - 2022 | |
# Licensed under the terms of the Do What the Fuck You Want to Public License (WTFPL) | |
import os | |
import re | |
""" | |
Step 1: gather GUI labels and module names from source code, |
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
# Create Dataframe with fake data | |
df = pd.util.testing.makeMissingDataframe() | |
df['index1'] = df.index # create a text column by replicating index | |
df['A'] = 0 # create a zero column | |
# Helper function | |
def check_df_sanity(df, verbose=False): | |
"""Perform usual types and values checks on columns of a pandas.DataFrame""" | |
for col in df: |
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
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia QT_DEVICE_PIXEL_RATIO=2 QT_AUTO_SCREEN_SCALE_FACTOR=true /opt/resolve/bin/resolve |
This file has been truncated, but you can view the full file.
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
____________________________________________ | |
Start of NVIDIA bug report log file. Please include this file, along | |
with a detailed description of your problem, when reporting a graphics | |
driver bug via the NVIDIA Linux forum (see devtalk.nvidia.com) | |
or by sending email to '[email protected]'. | |
nvidia-bug-report.sh Version: 23400452 | |
Date: mardi 10 +avril 2018, +14:03:26 +(UTC-0400) |
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
from sympy import * | |
from sympy.matrices import * | |
import numpy | |
import pylab | |
import warnings | |
def Lagrange_interpolation(points, variable=None): | |
""" | |
Compute the Lagrange interpolation polynomial. | |
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
@define-color bg_color #7C7C7C; | |
@define-color plugin_bg_color #333; | |
@define-color fg_color #eee; | |
@define-color base_color #444; | |
@define-color text_color #eee; | |
@define-color selected_bg_color #666; | |
@define-color selected_fg_color #eee; | |
@define-color tooltip_bg_color #BEBEBE; | |
@define-color tooltip_fg_color #111; | |
@define-color really_dark_bg_color #595959; |
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/sh -e | |
DAEMON="/usr/sbin/powertop" #ligne de commande du programme | |
DEAMON_OPT="--auto-tune" #argument à utiliser par le programme | |
DAEMONUSER="root" #utilisateur du programme | |
DEAMON_NAME="powertop" #Nom du programme (doit être identique à l'exécutable) | |
PATH="/sbin:/bin:/usr/sbin:/usr/bin" #Ne pas toucher | |
test -x $DAEMON || exit 0 |
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
REGEDIT4 | |
[HKEY_CURRENT_USER\Software\Wine\Direct3D] | |
"DirectDrawRenderer"="opengl" | |
"Nonpower2Mode"="repack" | |
"OffscreenRenderingMode"="fbo" | |
"RenderTargetLockMode"="auto" | |
"UseGLSL"="readtex" | |
"VertexShaderMode"="hardware" | |
"VideoDescription"="NVIDIA GeForce 635M GT" |
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 | |
winetricks ie8 wmp10 allcodecs d3dx11_43 dotnet40 vc2005 vc2008 dsound ogg allfonts hosts ddr=opengl fontsmooth=rgb videomemorysize=2048 win7 glsl=enabled ao=enabled rtlm=auto psm=enabled mwo=force fontsmooth=rgb vsm=hardware |
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
ACTION=="add", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0303", RUN+="/usr/bin/tablette.sh" |
NewerOlder