Make your mac usable again. Recommended ones are highlighted.
- Rectangle Full featured window manager to enable keyboard shortcuts
- AltTab Alt-tab to switch between windows
Non-free (See descriptions):
Make your mac usable again. Recommended ones are highlighted.
Non-free (See descriptions):
Model 20KH-006MMX (with NFC & HDR) notes for stuff I've done this far to get the machine to an usable state.
openSUSE Tumbleweed works ok and touchpad & trackpoint & hibernation works out-of-the-box (not the case with Ubuntu 18.04 LTS).
To test out hibernation just type (after this it will appear in the GNOME menus):
# systemctl hibernate
import inspect | |
# Call a python function with a dict of arguments | |
# The dict can contain excess values. This function only picks the supported ones and if they exist in the passed arguments | |
def call_python_function(module, function_name, argument_dictionary): | |
funcpointer = getattr(module, function_name) | |
# Find what arguments the module's function takes | |
argspec = inspect.getargspec(funcpointer) | |
# Remove the self that is a python self-reference | |
argspec.args.remove('self') | |
# argspec.args is now an empty list if the func doesn't take any arguments |
Tips on debugging ssh, git and ansible | |
--- Connection problems | |
Git 2.3+ | |
GIT_SSH_COMMAND="ssh -vvv" git clone example | |
Git 2.10+ | |
git config core.sshCommand "ssh -vvv" | |
git clone example | |
--- Debug a working connection |
function [time, conductance, event] = getAffectivaQcsv(fullpathname) | |
% Import Affectiva Q sensor data from exported headerless csv-files | |
% v1 by Niklas Juslin | |
% Headerless csv columns: Time,Z-axis,Y-axis,X-axis,Battery,∞Celsius,EDA(uS),Event | |
fid = fopen(fullpathname); | |
data = textscan(fid, '%s %f %f %f %f %f %f %u', 'HeaderLines',0, 'Delimiter',','); | |
fclose(fid); | |
conductance = data{1,7}; |