echo "Enter m3u8 link:";read link;echo "Enter output filename:";read filename;ffmpeg -i "$link" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 $filename.mp4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Maintainer: | |
" Amir Salihefendic — @amix3k | |
" | |
" Awesome_version: | |
" Get this config, nice color schemes and lots of plugins! | |
" | |
" Install the awesome version from: | |
" | |
" https://github.com/amix/vimrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from os import listdir, rename | |
from os.path import isfile, join | |
from sys import argv | |
mypath = argv[1] | |
onlyfiles = [f for f in listdir(mypath) if isfile(join(mypath, f))] | |
for file in sorted(onlyfiles, reverse=True): | |
first, name = file.split(']') | |
index = int(first[1:]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3.7 | |
# @Author: eilianxiao | |
# @Date: Dec 26 19:35 2020 | |
"""删除找不到 Python 解释器的执行文件""" | |
import os | |
import subprocess | |
BIN_DIR = '/usr/local/bin' | |
found = subprocess.run(f'find {BIN_DIR} -type f', shell=True, stdout=subprocess.PIPE) |
Add following aliases to ~/.zshrc
:
alias glo='f() { x=${1-16}; length=`expr $x`; git log --graph --pretty=format:"%>|($length)%C(yellow)%h%Creset %C(cyan)-%Creset %<(52,trunc)%s %C(cyan)%<(12,trunc)%cr%Creset %C(magenta)%<(10,trunc)%an%Creset (%cd)%C(red)%d%Creset" --date=format:"%a %b %d %H:%M %Y"}; f'
alias glor='f() { x=${1-16}; length=`expr $x`; git log --reflog --graph --pretty=format:"%>|($length)%C(yellow)%h%Creset %C(cyan)-%Creset %<(52,trunc)%s %C(cyan)%<(12,trunc)%cr%Creset %C(magenta)%<(10,trunc)%an%Creset (%cd)%C(red)%d%Creset" --date=format:"%a %b %d %H:%M %Y"}; f'
then,
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN RSA PRIVATE KEY----- | |
MIIEpQIBAAKCAQEAu4/YvagYx+P1rTdIk85VZkU7mOZXBAJZk+Kc1w2jWzoHEnXb | |
qmiQ8602noQ0jJmhCHThPe60x1K0F/HxQhfKCNIixlDTCvBxc98+z1XvG3vdcZoj | |
54gePqsA/yXNO4iiA7MJ/CR9Ml8Nn+Oy2NeAwIbvwBRtrPoeXZTL4T3EOB/7WCEH | |
Me+Wg1qVeZpS8K9kZIF4gxoNZvYvWawpSje0Ds2a8i90Pp3GD/O1Kg9qioNPQmVp | |
kcjJLuVs2X/LHyHtDCxYyuN+IoeIYgI2gUntwZ1Swf6PFg7Tr0hnupjhDXjPrXdP | |
DTTKDNQVIefxNfDRNz9jYeOAklIKjrWR5WbL+QIDAQABAoIBAEiLRoV0csE9hlRM | |
waGJeLZpqLdmv9kpH4R3bbov6DLsqreVJjUu5IGbSTjeYYTQFtyyeDwAC6PcdROd | |
3HZ3xQjMXe7ebAIbJYZvnleLIUQ8EFZUC/cNSsVqVqRY9pxEKIXNxdrkMhg9c4OY | |
CiCcmYvdpPVh8VmqE/yWBJVF0pLyAHtn772vG8dl0IxyN3QGs3T0sxcwKOuRsluU |
https://stackoverflow.com/questions/37458814/how-to-open-remote-files-in-sublime-text-3
# wget -O /usr/local/bin/rsub \https://raw.github.com/aurora/rmate/master/rmate
# chmod a+x /usr/local/bin/rsub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"emoji": "🎨", | |
"entity": "🎨", | |
"code": ":art:", | |
"description": "Improving structure / format of the code.", | |
"name": "art" | |
}, | |
{ | |
"emoji": "⚡️", |
NewerOlder