Skip to content

Instantly share code, notes, and snippets.

@drjova
drjova / spacemacs-cheshe.md
Last active February 27, 2018 08:24 — forked from robphoenix/spacemacs-cheshe.md
Spacemacs Cheat Sheet

Useful Spacemacs commands

  • SPC f t - open sidebar
  • SPC t f - show column indicator
  • SPC p f - find a file ala Ctrl + P
  • SPC q q - quit
  • SPC w / - split window vertically
  • SPC w - - split window horizontally
  • SPC 1 - switch to window 1
  • SPC 2 - switch to window 2
@drjova
drjova / get_marcxml.py
Created March 27, 2018 09:42 — forked from szymonlopaciuk/get_marcxml.py
Bulk ORCID Validate
#!/usr/bin/env python
""""
Bulk download records from legacy, usage: `get_marcxml.py [number_of_records] > [output_marcxml]`
To migrate: `inspirehep migrator populate -f [path_to_marcxml]`
"""
from lxml.etree import fromstring, tostring
import requests
import sys
@drjova
drjova / bluetooth.sh
Last active May 13, 2021 09:06 — forked from piteur/fix.md
Fix mac os crappy bluethooh quality
sudo killall coreaudiod
sudo killall blued
sudo renice -5 (pid bluetoothaudio)
sudo renice -5 (pid iTunes)
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Max (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool Min (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool" 80
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Max" 80