Programming2019. 8. 20. 03:03

아래 두가지 방법이 가장 간단한듯. 아래글중 10초씩 자르는것과 붙이는 것, 앞에 Title자동으로 넣는것까지 3가지만 있으면 될듯.

 

*concat demuxer

$ cat mylist.txt
file '/path/to/file1'
file '/path/to/file2'
file '/path/to/file3'

$ ffmpeg -f concat -i mylist.txt -c copy output.mp4
$ ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4

Note: -safe 0 is not required if the paths are relative but it seems required.

 

*concat protocol

ffmpeg -i "concat:input1|input2" -codec copy output.mkv

 

https://superuser.com/questions/1059245/ffmpeg-join-two-mp4-files-with-ffmpeg-on-command-line

 

ffmpeg join two mp4 files with ffmpeg on command line

I can successfully join multiple files using the following command: ffmpeg -f concat -i input.txt -codec copy output.mp4 The only problem with this command is that you need to read the filepaths ...

superuser.com

https://stackoverflow.com/questions/7333232/how-to-concatenate-two-mp4-files-using-ffmpeg

 

How to concatenate two MP4 files using FFmpeg?

I'm trying to concatenate two mp4 files using ffmpeg. I need this to be an automatic process hence why I chose ffmpeg. I'm converting the two files into .ts files and then concatenating them and ...

stackoverflow.com

 

Posted by 쁘레드
IT이야기2019. 8. 20. 03:00

예전에는 웹서버랑 어떤 프레임워크 및 언어 이런것만 나오더니 요즘은 광고 platform, Docker 등 엄청 뭐가 많이 붙어있어요. 이 웹사이트는 어떻게 만들어졌을까 궁금할때 참 좋습니다.

https://www.wappalyzer.com/ 

 

클리앙은 아주 깔끔한 편이네요.

Posted by 쁘레드
Programming2019. 8. 20. 02:11

lsof - list open files

!{command} ; last command 
vi !$   ; last argument 
!! ; last command 
"CTRL+R" for Repeating the Last Matching Command 
history | grep "keyword" 
egrep "ERROR|Exception" *.xml 
grep Exception logfile.txt | grep -v ERROR 
grep -c "Error" logfile.txt 
grep --context=6 successful logfile.txt 
grep 'Error|Exception' logfile.txt 
grep -i Error logfile.txt 
zgrep -i Error *.gz 
grep -w ERROR logfile.txt ; search whole word 
grep -l ERROR *.log  ; display file name which contains pattern 

Using Alias .bashrc or .profile 
pushd, popd, cd --- and cd ~ command. cd --- is best 

Ctrl+Z to suspend it and fg 1 or fg 2

 

https://dev.to/javinpaul/10-simple-linux-tips-which-save-50-of-my-time-in-the-command-line-4moo

 

10 simple Linux tips which save 50% of my time in the command line

My favorite Linux commands, tips, and tricks to work fast in the UNIX terminal. Every programmer or Linux user should know this to save time and typing.

dev.to

 

 

• finding host/domain name and IP address - hostname
• test network connection – ping
• getting network configuration – ifconfig
• Network connections, routing tables, interface statistics – netstat
• query DNS lookup name – nslookup
• communicate with another hostname – telnet
• outing steps that packets take to get to network host – traceroute
• view user information – finger
• checking status of destination host - telnet

 


hostname with no options displays the machine's hostname
hostname –d displays the domain name the machine belongs to
hostname –f displays the fully qualified host and domain name
hostname –i displays the IP address for the current machine

netstat -nap | grep port  #will display process id of application which is using that port
netstat -a  or netstat –all #will display all connections including TCP  and UDP  
netstat --tcp  or netstat –t #will display only TCP  connection
netstat --udp or netstat –u #will display only UDP  connection
netstat -g #will display all multicast network subscribed by this host.

nslookup blogger.com # find IP address of the SITE

#A handy utility to view the number of hops and response time to get to a remote system or website is traceroute
traceroute

#View user information, displays a user’s login name, real name, terminal name and write status.
#this is pretty old Unix command and rarely used nowadays.
finger

 



Read more: https://javarevisited.blogspot.com/2010/10/basic-networking-commands-in-linuxunix.html#ixzz5x4Ghj3Gd

Posted by 쁘레드