Install ffmpeg
brew install ffmpeg
Download file through url, like this:
ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i "http://url-file.domain.m3u8" -c copy video.mp4
| def send_email(sender, recipient, aws_region, subject, file_name): | |
| # The email body for recipients with non-HTML email clients. | |
| BODY_TEXT = "Hello,\r\nPlease find the attached file." | |
| # The HTML body of the email. | |
| BODY_HTML = """\ | |
| <html> | |
| <head></head> | |
| <body> | |
| <h1>Hello!</h1> | |
| <p>Please find the attached file.</p> |
| ## Day 3 Materials | |
| git clone https://github.com/HKT-SSA/bring-your-own-container-on-sm.git | |
| git clone https://github.com/HKT-SSA/yolov5-on-sagemaker.git | |
| powerpoint: https://tinyurl.com/y43bxytx | |
| billing alert: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html | |
| mlops: | |
| https://github.com/imyoungyang/myAWSStudyBlog/tree/master/ml-ops-poc | |
| https://github.com/imyoungyang/iam-nija-workshop |
Install ffmpeg
brew install ffmpeg
Download file through url, like this:
ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i "http://url-file.domain.m3u8" -c copy video.mp4
| // Open form and submit enquire for `rego` | |
| function getInfo(rego) { | |
| horseman | |
| .userAgent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0') | |
| .open(url) | |
| .type('#registration-number-ctrl input[type=text]', rego) | |
| .click('.btn-holder input') | |
| .waitForSelector('.ctrl-holder.ctrl-readonly') | |
| .html() | |
| .then(function(body) { |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| /* CSS */ | |
| <?php | |
| // add to your theme's functions.php file | |
| add_filter('upload_mimes', 'add_custom_upload_mimes'); | |
| function add_custom_upload_mimes($existing_mimes) { | |
| $existing_mimes['otf'] = 'application/x-font-otf'; | |
| $existing_mimes['woff'] = 'application/x-font-woff'; | |
| $existing_mimes['ttf'] = 'application/x-font-ttf'; | |
| $existing_mimes['svg'] = 'image/svg+xml'; | |
| $existing_mimes['eot'] = 'application/vnd.ms-fontobject'; | |
| return $existing_mimes; |
現在 github 有提出一系列對學生的優惠服務 詳情請點這裡
只要你是學生(擁有內含edu的信箱 ex:[email protected])
如果你是學生又是黑客的話,就讓我們來申請吧!