As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
user web; | |
# One worker process per CPU core. | |
worker_processes 8; | |
# Also set | |
# /etc/security/limits.conf | |
# web soft nofile 65535 | |
# web hard nofile 65535 | |
# /etc/default/nginx |
Syntax: cat <filename> | jq -c '.[] | select( .<key> | contains("<value>"))'
Example: To get json record having _id equal 611
cat my.json | jq -c '.[] | select( ._id | contains(611))'
Remember: if JSON value has no double quotes (eg. for numeric) to do not supply in filter i.e. in contains(611)
def defModel(): | |
model = Sequential() | |
#Izda.add(TimeDistributed( | |
# Convolution2D(40,3,3,border_mode='same'), input_shape=(sequence_lengths, 1,8,10))) | |
model.add( | |
TimeDistributed( | |
Conv2D(32, (7, 7), padding='same', strides = 2), | |
input_shape=(None, 540, 960, 2))) | |
model.add(Activation('relu')) |