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 | |
# Required commands : | |
# - optipng | |
# - jpegoptim | |
# optipng (non destructive) | |
optipng *.png | |
optipng *.PNG |
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 | |
## Get the "Device name" or ID number | |
## for touch from 'xsetwacom list dev' | |
DEVICE="Wacom Intuos PT M Finger touch" | |
TOUCH_STATE=`xsetwacom get "$DEVICE" touch` | |
if [ "$TOUCH_STATE" == "on" ] | |
then | |
echo "Touch is ON, turning OFF." |
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 | |
export LANG="fr_FR.UTF-8" | |
## Pad | |
PAD="Wacom Intuos PT M Finger pad" | |
xsetwacom set "$PAD" Button 3 "key Ctrl Super T" #up left button ## configured as touch switch - Ctrl Super T is set to call Touch switch script in the OS | |
xsetwacom set "$PAD" Button 1 "key super" #bottom left button ## configured as "Menu" | |
xsetwacom set "$PAD" Button 9 "key Ctrl Z" #top right button ## configured as "Undo" | |
xsetwacom set "$PAD" Button 8 "key Ctrl Y" #bottom right button ## configured as "Redo" |
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" |
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
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/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
@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
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 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) |
OlderNewer