After download and move to your interested folder, add this line to ~/.bashrc and ~/.profile
export GOPATH=$HOME/gowork
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOPATH/bin
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
deb https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware | |
# deb-src https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware | |
deb https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware | |
# deb-src https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware | |
deb https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware | |
# deb-src https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware | |
deb https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware |
deb https://ftp.debian.org/debian/ testing contrib main non-free non-free-firmware | |
# deb-src https://ftp.debian.org/debian/ testing contrib main non-free non-free-firmware | |
deb https://ftp.debian.org/debian/ testing-updates contrib main non-free non-free-firmware | |
# deb-src https://ftp.debian.org/debian/ testing-updates contrib main non-free non-free-firmware | |
deb https://ftp.debian.org/debian/ testing-proposed-updates contrib main non-free non-free-firmware | |
# deb-src https://ftp.debian.org/debian/ testing-proposed-updates contrib main non-free non-free-firmware | |
deb https://ftp.debian.org/debian/ testing-backports contrib main non-free non-free-firmware |
deb https://ftp.debian.org/debian/ sid contrib main non-free non-free-firmware | |
# deb-src https://ftp.debian.org/debian/ sid contrib main non-free non-free-firmware |
################################### Keras2DML: Parallely training neural network with SystemML####################################### | |
import tensorflow as tf | |
import keras | |
from keras.models import Sequential | |
from keras.layers import Input, Dense, Conv1D, Conv2D, MaxPooling2D, Dropout,Flatten | |
from keras import backend as K | |
from keras.models import Model | |
import numpy as np | |
import matplotlib.pyplot as plt |
#!/bin/bash | |
# Get postman app | |
wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz | |
sudo tar -xzf postman.tar.gz -C /opt | |
sudo ln -s /opt/Postman/Postman /usr/bin/postman | |
#Create a Desktop Entry | |
cat > ~/.local/share/applications/postman.desktop <<EOL | |
[Desktop Entry] | |
Encoding=UTF-8 |
After download and move to your interested folder, add this line to ~/.bashrc and ~/.profile
export GOPATH=$HOME/gowork
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOPATH/bin
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
The PATH
is an important concept when working on the command line. It's a list
of directories that tell your operating system where to look for programs, so
that you can just write script
instead of /home/me/bin/script
or
C:\Users\Me\bin\script
. But different operating systems have different ways to
add a new directory to it:
Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux
Although I highly recommend using a snap
sudo snap install postman
tar -xzf Postman-linux-x64-5.3.2.tar.gz
Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.
Gotten from the RedHat GPG migration manual
## Export all public keys
gpg -a --export >mypubkeys.asc