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
#!/bin/bash | |
sleep 1 | |
windowid="$(xdotool getactivewindow)" | |
windowname="$(xdotool getwindowname "$windowid")" | |
declare -a matching_titles | |
for folder in $HOME/.password-store/autotype/*;do | |
window_folder="$(basename "$folder")"; | |
if grep -qFi "$window_folder" <<<"$windowname";then | |
matching_titles+=("$window_folder") |
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
Notes on using exafmm for multiple evaluation on moving particles and common pitfalls. | |
1) NCRIT | |
You need to choose NCRIT >= 2 even for debugging, because else too little memory is allocated. | |
2) Store Bodies | |
The Cell structs use pointers into the Bodies vector. This means the Bodies vector needs to be destructed after Cells, | |
i.e. as global variable or class member. | |
3) Ordering |
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/env python3 | |
import argparse | |
import json | |
import os | |
import numpy as np | |
import tensorflow as tf | |
import time | |
import model, sample, encoder_sp as encoder |
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
#evdev:name:UGTABLET*11.6*inch*PenDisplay* | |
# ctrl and alt disabled | |
KEYBOARD_KEY_700e0=! | |
KEYBOARD_KEY_700e1=! | |
# upper keys | |
KEYBOARD_KEY_70005=f13 | |
KEYBOARD_KEY_70008=f14 | |
KEYBOARD_KEY_700e2=f15 | |
KEYBOARD_KEY_7002c=f16 | |
# wheel forward (not changed) |