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
#http://stackoverflow.com/questions/12870928/mac-bash-git-ps1-command-not-found | |
curl -o ~/.git-prompt.sh https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh | |
echo 'source ~/.git-prompt.sh' >> ~/.bashrc |
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
yum -y install texlive texlive-latex texlive-xetex | |
yum -y install texlive-collection-latex | |
yum -y install texlive-collection-latexrecommended | |
yum -y install texlive-xetex-def | |
yum -y install texlive-collection-xetex | |
Only if needed: | |
yum -y install texlive-collection-latexextra |
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 python | |
import os | |
import sys | |
import struct | |
import time | |
from opster import command, dispatch | |
header = struct.Struct('iii') |
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 __future__ import print_function | |
import numpy as np | |
from keras.models import Sequential | |
from keras.layers.core import Dense, Dropout, Activation, Flatten | |
from keras.layers.convolutional import Convolution2D, MaxPooling2D | |
from keras.utils import np_utils | |
from keras.utils import generic_utils | |
import multiprocessing | |
import os | |
import time |
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
High CPU from kworker/0:x-kacpi_notify | |
Ubuntu 20.04 LTS | |
Update: this problem is fixed after I did "apt dist-upgrade" on 9/21/2020 | |
Update again: Acutally not fixed. It happened again after unplug/plug the usb-c hub. | |
I recently got a USB-C Hub (Targus ACA958USZ). When it's plugged in, the laptop gives high cpu from process | |
I've found a few USB-C hubs from various manufactures with the same problem. I think they are of the same chipset. |