Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
You can get the list of installed codecs with:
| -module(hello). | |
| -export([hello/1]). | |
| hello(robert) -> | |
| io:format("Hello, Mike."); | |
| hello(joe) -> | |
| io:format("Hello, Robert."); | |
| hello(mike) -> | |
| io:format("Hello, Joe."). |
| #!/bin/sh | |
| #File for my debugging purposes | |
| echo $ACTION >> /tmp/mylog | |
| echo $INTERFACE >> /tmp/mylog | |
| echo "" >> /tmp/mylog |
In the below keyboard shortcuts, I use the capital letters for reading clarity but this does not imply shift, if shift is needed, I will say shift. So ⌘ + D does not mean hold shift. ⌘ + Shift + D does of course.
| Function | Shortcut |
|---|---|
| New Tab | ⌘ + T |
| Close Tab or Window | ⌘ + W (same as many mac apps) |
| Go to Tab | ⌘ + Number Key (ie: ⌘2 is 2nd tab) |
| Go to Split Pane by Direction | ⌘ + Option + Arrow Key |
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
This tutorial will turn your Raspberry PI into a simple Bluetooth audio receiver, which plays music through connected speakers. It's like a regular car audio system, but it can be used anywhere and it's a good value.
Audio source (i.e. smartphone)
|
v
((( Wireless Bluetooth Channel )))
|
This is all of @sadserver's tweets packaged in a file ready to be converted into a .dat file for the fortune program.
strfile -c % sadserver_tweets sadserver_tweets.datcp sadserver_tweets sadserver_tweets.dat /usr/local/share/games/fortunes. Note that I'm on OS X so the file path reflects that. Linux is going to be something like /usr/share/games/fortunes.fortune sadserver_tweetsCurrent version: 1.0.19 1.0.15 (as of 2018-12-10)
| #!/bin/sh | |
| # whenever you use "scp", use "copy" instead, it ignores duplicate files. | |
| rsync -azhe ssh --progress $1 $2 |
| # Batch convert all .ppt/.pptx files encountered in folder and all its subfolders | |
| # The produced PDF files are stored in the invocation folder | |
| # | |
| # Adapted from http://stackoverflow.com/questions/16534292/basic-powershell-batch-convert-word-docx-to-pdf | |
| # Thanks to MFT, takabanana, ComFreek | |
| # | |
| ## | |
| ## about_Execution_Policies | Microsoft Docs | |
| ## https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-5.1&viewFallbackFrom=powershell-Microsoft.PowerShell.Core | |
| ## Beginning in Windows PowerShell 3.0, you can use the Stream parameter of the Get-Item cmdlet to detect files that are blocked because they were downloaded from the Internet, and you can use the Unblock-File cmdlet to unblock the scripts so that you can run them in Windows PowerShell. |