Skip to content

Instantly share code, notes, and snippets.

View Daniel-M's full-sized avatar
💻
Coding

Daniel Mejía Raigosa Daniel-M

💻
Coding
View GitHub Profile
@Daniel-M
Daniel-M / pacmd_list-modules.txt
Created August 6, 2018 22:43
Output of pacmd_list-modules
28 module(s) loaded.
index: 0
name: <module-device-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute state of devices"
module.version = "11.1"
@Daniel-M
Daniel-M / pactl_list.txt
Created August 6, 2018 22:40
Output of pactl list
Módulo #0
Nombre: module-device-restore
Argumento:
Contador de uso: n/a
Propiedades:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute state of devices"
module.version = "11.1"
Módulo #1
@Daniel-M
Daniel-M / telegram_run_gdb_output.txt
Created August 1, 2018 20:58
Telegram GDB output errors
Fontconfig warning: line 5: unknown element "its:rules"
Fontconfig warning: line 6: unknown element "its:translateRule"
Fontconfig error: line 6: invalid attribute 'translate'
Fontconfig error: line 6: invalid attribute 'selector'
Fontconfig error: line 7: invalid attribute 'xmlns:its'
Fontconfig error: line 7: invalid attribute 'version'
Fontconfig warning: line 9: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'translate'
<!--- Look here https://www.taniarascia.com/basic-html5-file/ --->
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
@Daniel-M
Daniel-M / Compile_Root7_from_6.sh
Last active November 14, 2017 17:39
Installing ROOT 7 from tag 6-10-04 https://github.com/root-project/root
# install those packages firs
# apt install cmake git dpkg-dev make g++ gcc gfortran binutils libx11-dev libxpm-dev libxft-dev libgif-dev graphviz-dev python3-dev python3-pip libxml2-dev libssl-dev libmysql++-dev libcfitsio-dev libtbb-dev
# It is adviced to have installed GSL, FFTW and OpenBLAS.
# They can be compiled from source for better performance or installed via apt with,
# apt install libgsl-dev libfftw3-dev libopenblas-dev
# and optionally install R
# apt install r-base r-base-dev
@Daniel-M
Daniel-M / default.pa.add
Created August 17, 2017 16:28
Enable equalizer in pulseaudio
# Install pulseaudio-equalizer
# SYSTEM WIDE: add the equalizer section and optionally the default sink to /etc/pulse/default.pa
# USER: just create ~/.config/pulse/default.pa with the contents below
.include /etc/pulse/default.pa
## Equalizer section
# For the equalizer to work you need to set the sound output through the equalizer with pavucontrol
# another way is to set the equalizer as the default sink but this is no recommended
# since some applications can perform with laggy sound
@Daniel-M
Daniel-M / 30-synaptics.conf
Last active August 17, 2017 06:01
Debian testing `synaptics` configuration file for the touchpad `/etc/X11/xorg.conf.d/30-synaptics.conf` on Dell Inspiron 14 3000 series
Section "InputClass"
Identifier "Touchpad" # required
MatchIsTouchpad "on" # required
Driver "synaptics" # required
Option "MinSpeed" "0.5"
Option "MaxSpeed" "2.75"
Option "AccelFactor" "0.085"
Option "TapButton1" "1"
Option "TapButton2" "2" # multitouch
Option "TapButton3" "3" # multitouch
@Daniel-M
Daniel-M / compile_igraph_0.7.1.sh
Created August 16, 2017 18:05
Compile igraph 0.7.1 C library
# Install GMP first
# On Debian install build-essential and libxml2-dev
./configure
make -j4
@Daniel-M
Daniel-M / compile_mpfr_3.1.5.sh
Created August 16, 2017 18:03
Install MPFR 3.1.5 with latest patches
# Install GMP first, at least version 4.1}
# You will need curl installed too
curl http://www.mpfr.org/mpfr-3.1.5/allpatches | patch -N -Z -p1
./configure
make -j4
@Daniel-M
Daniel-M / compile_gmp_6.1.2.sh
Created August 16, 2017 17:55
Compile GNU GMP 6.1.2 library
# Need to install m4 first. In Debian,
# apt install m4
./configure --enable-assert --enable-assert --enable-fft
make -j4