(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 intended to be executed from ncmpcpp (execute_on_song_change | |
| # preference) running from urxvt to set album cover as background image | |
| # Copyright (c) 2013 Vyacheslav Levit | |
| # Licensed under The MIT License: http://opensource.org/licenses/MIT | |
| MUSIC_DIR=$HOME/Music | |
| DARKEN=50 # 0 - original image colors, 100 - absolutely black background |
| (function(){ | |
| var i = 0; | |
| var count = $('.Album.unavailable,.Album.preview').length; | |
| console.log('Found ' + count + ' albums to remove'); | |
| var timeout = 0; | |
| $('.Album.unavailable,.Album.preview').each(function(){ | |
| var instance_i = i++; | |
| var album = $(this); | |
| album.trigger('mouseover').mouseenter(); | |
| album.find('a,div,span,image').trigger('mouseover').mouseenter(); |
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>page thumbnails using iframes and CSS3</title> | |
| <meta charset="utf-8"> | |
| <style> | |
| .thumbnail { | |
| width: 300px; | |
| height: 160px; | |
| } |
| var p1 = { | |
| x: 20, | |
| y: 20 | |
| }; | |
| var p2 = { | |
| x: 40, | |
| y: 40 | |
| }; |
| /[if IE] | |
| :javascript | |
| document.body.className += ' ie'; | |
| /[if IE 6] | |
| :javascript | |
| document.body.className += ' ie6'; | |
| /[if IE 7] | |
| :javascript | |
| document.body.className += ' ie7'; | |
| /[if IE 8] |
| function ip { | |
| port=$1 | |
| if [[ port -eq '' ]]; then | |
| echo \"http://$IP/\" copied to clipboard. | |
| echo http://$IP/ | pbcopy | |
| else | |
| echo \"http://$IP:$port/\" copied to clipboard. | |
| echo http://$IP:$port/ | pbcopy | |
| fi | |
| } |
| { | |
| "cmd": ["sass", "$file_name", "$file_base_name.css"], | |
| "working_dir": "$file_path", | |
| "selector": "source.sass" | |
| } |
| @-webkit-keyframes roll-action { | |
| 0% { | |
| -webkit-transform: scale(2); | |
| opacity: 0; } | |
| 100% { | |
| -webkit-transform: scale(1); | |
| opacity: 1; } } | |
| span.roll-result { | |
| -webkit-animation: roll-action 0.25s; } |