(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
#!/bin/bash | |
# Script to convert all the .MOV files in the current | |
# directory to "Universal Apple".MP4 format | |
# Tested on Src:Canon S95 -> Destn: iPad2 using ffmpeg installed | |
# via homebrew: brew install ffpmeg --use-gcc | |
# Pradeep Gowda <[email protected]> | |
# 2011-12-25 | |
# License: Public Domain or GPLv3 |
# Mac OS X clipboard integration | |
set-option -g default-command "reattach-to-user-namespace -l zsh" | |
bind y run "tmux save-buffer - | reattach-to-user-namespace pbcopy" | |
# Optional keybindings: Enter Copy-mode and Copy and Paste sorta like Vim. | |
unbind [ | |
bind Escape copy-mode | |
unbind p | |
bind p paste-buffer | |
bind -t vi-copy 'v' begin-selection |
# pandoc | |
pandoc -f html -t docx informe.html - -o informe.docx | |
pandoc -f html -t rtf informe.html - -o informe.rtf | |
pandoc -f html -t docx informe.html - -o informe.docx |
How to fix a USB drive showing up as two drives (fragmented into multiple partitions) on Windows:
diskpart
to enter the disk partition tool.list disk
to see all disks listed.select disk [NUMBER]
. Be careful to select the correct drive.clean
. An error will occur if you have the drive folder open, close the window and repeat the command if this happens.create partition primary
.format fs=ntfs quick
to format the drive (you can also choose to set fs=fat32
).active
.