select log_mode from v$database;
alter database archivelog;
# WIDTH:HEIGHT:Xstart:Ystart | |
ffmpeg -i output.mp4 -filter:v "crop=700:1170:0:50" cropped.mp4 | |
# cut video | |
ffmpeg -ss 00:03:00.8 -i test.mp4 -c copy -t 00:00:02.2 output.mp4 -y | |
# embed subtitle | |
ffmpeg -i inp.mp4 -vf ass=subtitles.ass out.mp4 |
# add watermark | |
ffmpeg -y -i demo.mp4 -i logo.png -filter_complex \ | |
"[1]lut=a=val*0.3[a];[0][a]overlay=5:600" \ | |
-c:v libx264 -an output.mp4 |
There are a lot of Topic Models. 18/02/23 # of TM is 24
If you are not using any third party variants of bash like oh-my-bash,
put the following command in your .bashrc
:
export PROMPT_COMMAND='if [ "$(id -u)" -ne 0 ]; then echo "$(date "+%Y-%m-%d.%H:%M:%S") $(pwd) $(history 1)" >> ~/.logs/bash-history-$(date "+%Y-%m-%d").log; fi'
Close bashrc and open new terminal. Now, your history are saved in the folder ~/.logs
according to timestamp.
Example file
/home/paradox/.logs/bash-history-2018-12-15.log
from rasa_nlu.featurizers import Featurizer | |
import tensorflow_hub as hub | |
import tensorflow as tf | |
class UniversalSentenceEncoderFeaturizer(Featurizer): | |
"""Appends a universal sentence encoding to the message's text_features.""" | |
# URL of the TensorFlow Hub Module |
{0: 'tench, Tinca tinca', | |
1: 'goldfish, Carassius auratus', | |
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias', | |
3: 'tiger shark, Galeocerdo cuvieri', | |
4: 'hammerhead, hammerhead shark', | |
5: 'electric ray, crampfish, numbfish, torpedo', | |
6: 'stingray', | |
7: 'cock', | |
8: 'hen', | |
9: 'ostrich, Struthio camelus', |
Suppose there are 2 branches: master and feature
This will open editor in interactive mode. DIfferent options like pick and squash are available
First use rebase command standing in the feature branch.