Direct copy of pre-encoded file:
$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8
| #It's not directly mentioned in the documentation on how to do this, so here you go. This command will tunnel everything including DNS: | |
| sshuttle --dns -vr user@yourserver.com 0/0 --ssh-cmd 'ssh -i /your/key/path.pem' |
| ############################################################################# | |
| # Original code ported from the Java reference code by Bram Cohen, April 2001, | |
| # with the following statement: | |
| # | |
| # this code is public domain, unless someone makes | |
| # an intellectual property claim against the reference | |
| # code, in which case it can be made public domain by | |
| # deleting all the comments and renaming all the variables | |
| # | |
| class Rijndael(object): |
| /* | |
| This script, when used with Google Apps Scripts will delete 500 emails and | |
| can be triggered to run every minute without user interaction enabling you | |
| to bulk delete email in Gmail without getting the #793 error from Gmail. | |
| Configure the search query in the code below to match the type of emails | |
| you want to delete | |
| Browser to https://script.google.com/. | |
| Start a script and paste in the code below. | |
| After you past it in, save it and click the little clock looking button. |
| # Inspired from https://medium.com/@ismailakkila/black-hat-python-encrypt-and-decrypt-with-rsa-cryptography-bd6df84d65bc | |
| # Updated to use python3 bytes and pathlib | |
| import zlib | |
| import base64 | |
| from Crypto.PublicKey import RSA | |
| from Crypto.Cipher import PKCS1_OAEP | |
| from pathlib import Path |
| # How to encrypt/decrypt your text/blob secret with AWS KMS with AWS cli | |
| KEY_ID=alias/my-key | |
| SECRET_BLOB_PATH=fileb://my-secret-blob | |
| SECRET_TEXT="my secret text" | |
| ENCRYPTED_SECRET_AS_BLOB=encrypted_secret_blob | |
| DECRYPTED_SECRET_AS_BLOB=decrypted_secret_blob # Result of decrypt-blob target | |
| encrypt-text: |
Direct copy of pre-encoded file:
$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8
| <p>Hello | |
| <script> | |
| var xhr = new XMLHttpRequest(); | |
| xhr.open('GET', '/stream'); | |
| xhr.seenBytes = 0; | |
| xhr.onreadystatechange = function() { | |
| console.log("state change.. state: "+ xhr.readyState); |
| Enterprise: NJVYC-BMHX2-G77MM-4XJMR-6Q8QF | |
| Professional: KBJFW-NXHK6-W4WJM-CRMQB-G3CDH | |
| Keys are generic ones. These are the same from MSDN account. | |
| Product Key : -6Q8QF | |
| Validity : Valid | |
| Product ID : 00369-90000-00000-AA703 | |
| Advanced ID : XXXXX-03699-000-000000-00-1032-9200.0000-0672017 |
| # Makefile for programming the ATtiny85 | |
| # modified the one generated by CrossPack | |
| DEVICE = attiny85 | |
| CLOCK = 8000000 | |
| PROGRAMMER = -c usbtiny | |
| OBJECTS = main.o | |
| # for ATTiny85 | |
| # see http://www.engbedded.com/fusecalc/ | |
| FUSES = -U lfuse:w:0x62:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m |