I hereby claim:
- I am greyltc on github.
- I am greyltc (https://keybase.io/greyltc) on keybase.
- I have a public key whose fingerprint is D903 1085 68FB 528B 94BA CE0A 80DA 60E7 2570 377C
To claim this, I am signing this object:
# QEMU configure log Thu Oct 11 12:09:20 BST 2018 | |
# Configured with: './configure' '--static' '--disable-system' '--disable-tools' | |
# | |
funcs: do_compiler do_cc compile_object check_define main | |
lines: 92 119 606 623 0 | |
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c | |
funcs: do_compiler do_cc compile_object check_define main | |
lines: 92 119 606 675 0 |
# echo 'commit_hash.txt export-subst' >> .gitattributes | |
# echo 'Commit: $Format:%H %d$' > commit_hash.txt | |
# assumes the .git project directory is the parent directory of the dir this file is in | |
def getMyHash(short=True): | |
thisPath = os.path.dirname(os.path.abspath(__file__)) | |
projectPath = os.path.join(thisPath, os.path.pardir) | |
HEADFile = os.path.join(projectPath, '.git', 'HEAD') | |
commit_hashFile = os.path.join(projectPath, 'commit_hash.txt') |
$ makepkg -Cf | |
==> Making package: hdf4-java 2.13-2 (Tue May 8 10:48:48 BST 2018) | |
==> Checking runtime dependencies... | |
==> Checking buildtime dependencies... | |
==> Retrieving sources... | |
-> Found hdf-4.2.13.tar.bz2 | |
==> Validating source files with md5sums... | |
hdf-4.2.13.tar.bz2 ... Passed | |
==> Removing existing $srcdir/ directory... | |
==> Extracting sources... |
import visa | |
import time | |
visa.log_to_screen() | |
rm = visa.ResourceManager('@py') | |
inst = rm.open_resource('TCPIP::10.42.0.30::INSTR') | |
inst.timeout = 10*1000 # 10 second timeout (probably sets some timeout that doesn't actually matter) | |
inst.write('*RST') | |
time.sleep(10) | |
print(inst.query("*IDN?")) |
2018-04-17 11:00:51,103 - pyvisa - DEBUG - SerialSession was correctly imported. | |
2018-04-17 11:00:51,124 - pyvisa - DEBUG - USBSession and USBRawSession were correctly imported. | |
2018-04-17 11:00:51,127 - pyvisa - DEBUG - TCPIPSession was correctly imported. | |
2018-04-17 11:00:51,128 - pyvisa - DEBUG - GPIBSession was correctly imported. | |
2018-04-17 11:00:51,128 - pyvisa - DEBUG - Created library wrapper for unset | |
2018-04-17 11:00:51,128 - pyvisa - DEBUG - Created ResourceManager with session 1889153 | |
2018-04-17 11:00:51,129 - pyvisa - DEBUG - TCPIP::10.42.0.30::INSTR - opening ... | |
2018-04-17 11:00:51,129 - pyvisa - DEBUG - RawTCPClient: connecting to socket at (10.42.0.30, 111) | |
2018-04-17 11:00:51,149 - pyvisa - DEBUG - Make call <PortMapperVersion.get_port: 3>, (395183, 1, 6, 0), <bound method PortMapperPacker.pack_mapping of <pyvisa-py.protocols.rpc.PortMapperPacker object at 0x7f3ce2010cf8>>, <bound method Unpacker.unpack_uint of <pyvisa-py.protocols.rpc.PortMapperUnpacker object at 0x7f3ce2010d68>> | |
2018-04-17 |
I hereby claim:
To claim this, I am signing this object:
$ wx-config --list | |
Default config is gtk2-unicode-3.0 | |
Default config will be used for output | |
Alternate matches: | |
gtk3-unicode-3.0 | |
Also available in /usr: |
$ kicad | |
/usr/lib64/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch | |
warnings.warn("wxPython/wxWidgets release number mismatch") | |
Segmentation fault (core dumped) |
#!/usr/bin/env bash | |
#bash <(curl -L https://gist.github.com/greyltc/dcfab85afb29bad4e476b973b2575315/raw) $DEST | |
shopt -s nullglob | |
files=(*) | |
NOTOPEN=() | |
for i in "${!files[@]}"; do | |
if fuser -s "${files[$i]}" ; then |
this computer's BIOS is hardcoded to boot from $EFI_PARTITION/EFI/Microsoft/boot/bootmgfw.efi every time | |
I've moved Microsoft's $EFI_PARTITION/EFI/Microsoft/boot/bootmgfw.efi to $EFI_PARTITION/EFI/Microsoft/boot/bootmgfw.efi.ms | |
I've copied grub's efi boot stub from $EFI_PARTITION/EFI/arch_grub/grubx64.efi | |
to $EFI_PARTITION/EFI/Microsoft/boot/bootmgfw.efi so that the machine boots into grub | |
I've edited /usr/lib/os-probes/mounted/efi/20microsoft to look for my newly named windows efiloader stub: | |
sudo sed -i 's,bootmgfw.efi ,bootmgfw.efi.ms ,g' /usr/lib/os-probes/mounted/efi/20microsoft |