This file contains hidden or 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
# Downgrade Electron | |
pacman -U https://archive.archlinux.org/packages/e/electron32/electron32-32.2.8-3-x86_64.pkg.tar.zst | |
# add this to /etc/pacman.conf | |
IgnorePkg = electron32 |
This file contains hidden or 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
sudo nano /sys/module/snd_hda_intel/parameters/power_save | |
10 -> 0 | |
sudo nano /sys/module/snd_hda_intel/parameters/power_save_controller | |
Y -> N | |
sudo nano /etc/modprobe.d/alsa-base.conf | |
-> options snd-hda-intel power_save=0 power_save_controller=N |
This file contains hidden or 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
uname -r | |
sudo dpkg --list 'linux-image*'|awk '{ if ($1=="ii") print $2}'|grep -v `uname -r` | |
sudo apt purge linux-image-3.19.0-25-generic | |
sudo apt autoremove -y | |
sudo update-grub |
This file contains hidden or 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
# RESCAN FOR NEWLY ADDED HDS | |
echo "- - -" > /sys/class/scsi_host/host#/scan | |
fdisk -l | |
# NEW LOGICAL VOLUME | |
sudo fdisk /dev/sdb | |
# then create a new partition of type 8e (Linux LVM) | |
# create a phisical volume | |
sudo pvcreate /dev/sdb1 | |
# create new volume group |
This file contains hidden or 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
for p in *; do (cd $p; git pull);done |
This file contains hidden or 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
pyvenv-3.4 --without-pip env | |
source env/bin/activate | |
curl https://bootstrap.pypa.io/get-pip.py | python | |
deactivate | |
source env/bin/activate |
This file contains hidden or 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
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"draw_minimap_border": true, | |
"ensure_newline_at_eof_on_save": true, | |
"folder_exclude_patterns": | |
[ | |
".svn", | |
".git", | |
".hg", |
This file contains hidden or 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 python | |
# -*- coding: utf-8 -*- | |
## This is an example of a simple sound capture script | |
## with text vmeter. | |
## | |
## The script opens an ALSA pcm for sound capture. Set | |
## various attributes of the capture, and reads in a loop, | |
## Then prints a vmeter with curses. | |
## |