Linux figlet fonts path:
cd /usr/share/figletMac OS X figlet fonts path (installed with homebrew):
cd usr/local/Cellar/figlet/2.2.5/share/figlet/fontsLinux figlet fonts path:
cd /usr/share/figletMac OS X figlet fonts path (installed with homebrew):
cd usr/local/Cellar/figlet/2.2.5/share/figlet/fontsWhat you need to do to install SDL is:
#install sdl2
sudo apt install libsdl2-dev libsdl2-2.0-0 -y;
#install sdl image - if you want to display images
sudo apt install libjpeg-dev libwebp-dev libtiff5-dev libsdl2-image-dev libsdl2-image-2.0-0 -y;
#install sdl mixer - if you want soundThis is some red text.
ALTER TABLE logs.trades CHANGE recentprice price int;| RUN ["apt-get", "update"] | |
| RUN ["apt-get", "install", "-y", "zsh"] | |
| RUN wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh || true | |
| # docker exec -it my-app-container /bin/zsh |
I'm recieving a strange error on a new install of Spark. I have setup a small 3 node spark cluster on top of an existing hadoop instance. The error I get is the same for any command I try to run on pyspark shell I get the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/spark/python/pyspark/rdd.py", line 1041, in count
return self.mapPartitions(lambda i: [sum(1 for _ in i)]).sum()
File "/opt/spark/python/pyspark/rdd.py", line 1032, in sum
return self.mapPartitions(lambda x: [sum(x)]).fold(0, operator.add)
File "/opt/spark/python/pyspark/rdd.py", line 906, in fold