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
# installing | |
git clone https://github.com/DIGImend/digimend-kernel-drivers | |
cd digimend-kernel-drivers | |
dpkg-buildpackage -b -uc | |
sudo dpkg -i ../digimend-dkms_10_all.deb | |
# sudo reboot | |
# uninstalling | |
sudo modprobe -r hid-kye hid-uclogic hid-polostar hid-viewsonic | |
sudo apt-get remove digimend-dkms |
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
import numpy as np | |
import matplotlib.pyplot as plt | |
from mpl_toolkits.mplot3d import Axes3D | |
n = 5000 | |
r = 1 | |
pos_neg = [1, -1] | |
xs, ys, zs = np.zeros(n), np.zeros(n), np.zeros(n) |
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
#include <time.h> | |
clock_t start, end; | |
float cpu_time_used; | |
start = clock(); | |
/* Something to measure */ | |
end = clock(); | |
cpu_time_used = ((float) (end - start)) / CLOCKS_PER_SEC; |