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
#!/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 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
diff -rupN xcrysden-1.5.60/F/gengeom.f myxcrysden-1.5.60/F/gengeom.f | |
--- xcrysden-1.5.60/F/gengeom.f 2012-02-03 18:53:05.000000000 +0800 | |
+++ myxcrysden-1.5.60/F/gengeom.f 2018-08-03 14:41:35.000000000 +0800 | |
@@ -905,7 +905,7 @@ C DETERMINE HOW MENY ATOMS WILL BE I | |
SUBROUTINE GETCCOOR(A33,B33,BROW,X,Y,Z,XC,YC,ZC,NA,NATR) | |
include 'param.inc' | |
- REAL*8 B33(3,4),A33(3,3),RA(3,3),COOR(3),X(NATR),Y(NATR),Z(NATR), | |
+ REAL*8 B33(3,*),A33(3,3),RA(3,3),COOR(3),X(NATR),Y(NATR),Z(NATR), | |
* XC(NAC,4),YC(NAC,4),ZC(NAC,4),RX(3) |
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
main() { | |
# Use colors, but only if connected to a terminal, and that terminal | |
# supports them. | |
if which tput >/dev/null 2>&1; then | |
ncolors=$(tput colors) | |
fi | |
if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then | |
RED="$(tput setaf 1)" | |
GREEN="$(tput setaf 2)" | |
YELLOW="$(tput setaf 3)" |
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
{ | |
"translatorID":"04623cf0-313c-11df-9aae-0800200c9a66", | |
"translatorType":2, | |
"label":"ZotSelect Link", | |
"creator":"Scott Campbell, Avram Lyon, Nathan Schneider", | |
"target":"html", | |
"minVersion":"2.0", | |
"maxVersion":"", | |
"priority":200, | |
"inRepository":false, |