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
import re | |
import matplotlib.patches as mpatches | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from matplotlib.collections import PatchCollection | |
from pymatgen.core.periodic_table import Element | |
class PeriodicTablePlotter(object): |
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
diff --git a/PKGBUILD b/PKGBUILD | |
index a97c0b9..7b37fba 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -40,6 +40,7 @@ | |
# partial install | |
_partialinstall=false | |
+_logininstall=true |
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
# Maintainer: Michael Lass <[email protected]> | |
# Maintainer: Doug Newgard <scimmia at archlinux dot info> | |
# Contributor: reflexing <[email protected]> | |
# Instructions were copied from ttf-ms-win8 and slightly modified: | |
# | |
# BUILD INSTRUCTIONS: | |
# ------------------- | |
# | |
# Please note, that usage of Microsoft fonts outside running Windows |
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
[Trigger] | |
Operation = Install | |
Operation = Upgrade | |
Type = Path | |
Target = usr/share/icons/*Papirus*/index.theme | |
[Action] | |
Description = Remove unused theme name from papirus-icon-theme | |
When = PostTransaction | |
Exec = /bin/sh -c "/usr/bin/sed -i.orig '/Inherits/ s/gnome,\?//g' /usr/share/icons/{ePapirus,Papirus,Papirus-Light,Papirus-Dark}/index.theme" |
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/python3 | |
""" | |
Export your Windows Bluetooth LE keys into Linux! (arch edition) | |
Thanks to: http://console.systems/2014/09/how-to-pair-low-energy-le-bluetooth.html | |
discussed here: https://unix.stackexchange.com/questions/402488/dual-boot-bluetooth-device-pairing | |
Usage: | |
$ ./export-ble-infos.py <args> | |
$ sudo bash -c 'cp -r ./bluetooth /var/lib' |
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
### Script to add cros_debug / dev mode option in grub.cfg | |
### ( Each Flex update removes cros_debug / dev mode option | |
### Be sure to run this script AFTER each update and BEFORE rebooting ) | |
ANS= | |
ROOTDEVICE= | |
ROOTDEVICEPREFIX= | |
P12MOUNTPOINT=/var/p12 | |
GRUBCFGPATH=$P12MOUNTPOINT/efi/boot | |
GRUBCFGFILE=grub.cfg |
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
[Trigger] | |
Operation = Install | |
Operation = Upgrade | |
Type = Path | |
Target = usr/bin/code-insiders | |
[Action] | |
Description = Insert environment to enable wayland for vscode | |
When = PostTransaction | |
Exec = /usr/bin/sed -i '/# Support setting global flags/i export ELECTRON_OZONE_PLATFORM_HINT=auto\n' /usr/bin/code-insiders |
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
[Trigger] | |
Operation = Install | |
Operation = Upgrade | |
Type = Path | |
Target = usr/bin/cursor | |
[Action] | |
Description = Insert environment to fix cursor-bin | |
When = PostTransaction | |
Exec = /usr/bin/sed -i '/# Allow users to override command-line options/i export ELECTRON_OZONE_PLATFORM_HINT=auto\n' /usr/bin/cursor |
OlderNewer