blog.albertarmea.com
Albert Armea
http://blog.albertarmea.com/tagged/vim
Posted 1 year ago. Using gVim from Git Bash. If you’re on Windows, use MSysGit Bash. As your primary shell, and also have gVim installed from the official site. To use the Vim you installed rather than the one that comes with Git. There are two non-invasive ways I can think of doing this:. Add aliases to your. Create small wrapper scripts in. Which Git Bash includes in your. By default. Create files named. Etc that look something like this:. Bin/bash /c/Program Files (x86 )/Vim/vim74/vim.exe "$@".
blog.albertarmea.com
Remapping Bluetooth buttons in Android, take 2 - Albert Armea
http://blog.albertarmea.com/post/73314514165/remapping-bluetooth-buttons-in-android-take-2
Posted 2 years ago. Remapping Bluetooth buttons in Android, take 2. Describes the problem and a now-broken solution. After I was introduced to the Xposed Framework. I decided to attempt the problem of remapping Bluetooth AT commands again, this time in a more widely compatible way. I still cannot present a working solution at this time, but I’ll document what I’ve found in the hope that it will be useful. Take 2: Override Bluetooth library in Java. Take 3: Override Bluetooth library in C. Bta ag cmd.c.
blog.albertarmea.com
Albert Armea
http://blog.albertarmea.com/tagged/xargs
Posted 2 years ago. Losslessly splitting videos by chapter using bash and ffmpeg. With the filename “$SOURCE.$EXT” stored as Bash variables, run this (messy) one-liner:. Ffmpeg -i "$SOURCE.$EXT" 2 &1 grep Chapter sed -E "s/ *Chapter #([0-9] .[0-9] ): start ([0-9] .[0-9] ), end ([0-9] .[0-9] )/-i "$SOURCE.$EXT " -vcodec copy -acodec copy -ss 2 -to 3 "$SOURCE- 1.$EXT "/" xargs -n 11 ffmpeg. My specific use case was to quickly split long videos with QuickTime chapter markers exported by Final Cut Pro.
blog.albertarmea.com
Albert Armea
http://blog.albertarmea.com/tagged/Android
Posted 2 years ago. Remapping Bluetooth buttons in Android, take 2. Describes the problem and a now-broken solution. After I was introduced to the Xposed Framework. I decided to attempt the problem of remapping Bluetooth AT commands again, this time in a more widely compatible way. I still cannot present a working solution at this time, but I’ll document what I’ve found in the hope that it will be useful. Take 2: Override Bluetooth library in Java. Take 3: Override Bluetooth library in C. Bta ag cmd.c.
blog.albertarmea.com
Albert Armea
http://blog.albertarmea.com/tagged/m4v
Posted 2 years ago. Losslessly splitting videos by chapter using bash and ffmpeg. With the filename “$SOURCE.$EXT” stored as Bash variables, run this (messy) one-liner:. Ffmpeg -i "$SOURCE.$EXT" 2 &1 grep Chapter sed -E "s/ *Chapter #([0-9] .[0-9] ): start ([0-9] .[0-9] ), end ([0-9] .[0-9] )/-i "$SOURCE.$EXT " -vcodec copy -acodec copy -ss 2 -to 3 "$SOURCE- 1.$EXT "/" xargs -n 11 ffmpeg. My specific use case was to quickly split long videos with QuickTime chapter markers exported by Final Cut Pro.
blog.albertarmea.com
Albert Armea
http://blog.albertarmea.com/tagged/Bluetooth
Posted 2 years ago. Remapping Bluetooth buttons in Android, take 2. Describes the problem and a now-broken solution. After I was introduced to the Xposed Framework. I decided to attempt the problem of remapping Bluetooth AT commands again, this time in a more widely compatible way. I still cannot present a working solution at this time, but I’ll document what I’ve found in the hope that it will be useful. Take 2: Override Bluetooth library in Java. Take 3: Override Bluetooth library in C. Bta ag cmd.c.
blog.albertarmea.com
Using gVim from Git Bash - Albert Armea
http://blog.albertarmea.com/post/115102365718/using-gvim-from-git-bash
Posted 1 year ago. Using gVim from Git Bash. If you’re on Windows, use MSysGit Bash. As your primary shell, and also have gVim installed from the official site. To use the Vim you installed rather than the one that comes with Git. There are two non-invasive ways I can think of doing this:. Add aliases to your. Create small wrapper scripts in. Which Git Bash includes in your. By default. Create files named. Etc that look something like this:. Bin/bash /c/Program Files (x86 )/Vim/vim74/vim.exe "$@".
blog.albertarmea.com
Albert Armea
http://blog.albertarmea.com/tagged/Final-Cut-Pro
Posted 2 years ago. Losslessly splitting videos by chapter using bash and ffmpeg. With the filename “$SOURCE.$EXT” stored as Bash variables, run this (messy) one-liner:. Ffmpeg -i "$SOURCE.$EXT" 2 &1 grep Chapter sed -E "s/ *Chapter #([0-9] .[0-9] ): start ([0-9] .[0-9] ), end ([0-9] .[0-9] )/-i "$SOURCE.$EXT " -vcodec copy -acodec copy -ss 2 -to 3 "$SOURCE- 1.$EXT "/" xargs -n 11 ffmpeg. My specific use case was to quickly split long videos with QuickTime chapter markers exported by Final Cut Pro.
blog.albertarmea.com
Albert Armea
http://blog.albertarmea.com/tagged/sed
Posted 2 years ago. Losslessly splitting videos by chapter using bash and ffmpeg. With the filename “$SOURCE.$EXT” stored as Bash variables, run this (messy) one-liner:. Ffmpeg -i "$SOURCE.$EXT" 2 &1 grep Chapter sed -E "s/ *Chapter #([0-9] .[0-9] ): start ([0-9] .[0-9] ), end ([0-9] .[0-9] )/-i "$SOURCE.$EXT " -vcodec copy -acodec copy -ss 2 -to 3 "$SOURCE- 1.$EXT "/" xargs -n 11 ffmpeg. My specific use case was to quickly split long videos with QuickTime chapter markers exported by Final Cut Pro.