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
The polybar package has been updated so this is no longer needed. |
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
mv ImageForLoginWallpaper.png /Library/Caches/com.apple.desktop.admin.png |
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 | |
# Packages required | |
# dosfstools parted | |
# Can be run on any Linux system | |
# loop.max_part=15 must be in kernel cmdline (cmdline.txt for rpi) | |
# then reboot | |
echo "creating image to fit on 2Gb card" | |
dd if=/dev/zero of=arch-rpi.img bs=1M count=1850 |
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
from scipy import sparse | |
import numpy | |
from itertools import izip, repeat | |
from multiprocessing import Pool | |
def ppmi(matrix,np,n): | |
if not sparse.isspmatrix_coo(matrix): | |
matrix = matrix.tocoo() | |
M,N = matrix.shape | |
data = matrix.data |