(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:
| package calendarview; | |
| import java.time.DayOfWeek; | |
| import java.time.Duration; | |
| import java.time.LocalDate; | |
| import java.time.LocalDateTime; | |
| import java.time.LocalTime; | |
| import java.time.format.DateTimeFormatter; | |
| import java.util.ArrayList; | |
| import java.util.List; |
| var http = require('http'), | |
| fileSystem = require('fs'), | |
| path = require('path') | |
| util = require('util'); | |
| http.createServer(function(request, response) { | |
| var filePath = 'path_to_file.mp3'; | |
| var stat = fileSystem.statSync(filePath); | |
| response.writeHead(200, { |
| * Smartphones (portrait and landscape) ----------- */ | |
| @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { | |
| /* Styles */ | |
| } | |
| /* Smartphones (landscape) ----------- */ | |
| @media only screen and (min-width : 321px) { | |
| /* Styles */ | |
| } |
| <?php | |
| $files = glob("*.tar.gz"); | |
| $days = 7; | |
| foreach($files as $file) { | |
| if(is_file($file) | |
| && time() - filemtime($file) >= $days*24*60*60) { | |
| unlink($file); | |
| } | |
| } |
| " ACEJUMP | |
| " Based on emacs' AceJump feature (http://www.emacswiki.org/emacs/AceJump). | |
| " AceJump based on these Vim plugins: | |
| " EasyMotion (http://www.vim.org/scripts/script.php?script_id=3526) | |
| " PreciseJump (http://www.vim.org/scripts/script.php?script_id=3437) | |
| " Type AJ mapping, followed by a lower or uppercase letter. | |
| " All words on the screen starting with that letter will have | |
| " their first letters replaced with a sequential character. | |
| " Type this character to jump to that word. |
| #!/bin/bash | |
| # install homebrew | |
| ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # install homebrew's official php tap | |
| brew tap josegonzalez/homebrew-php | |
| // common.js ====================================== | |
| (function(exports) { | |
| // Define all your functions on the exports object | |
| exports.foo = function() { | |
| return 'bar'; | |
| }; | |
| })((typeof process === 'undefined' || !process.versions) |
| test.isFalse(v, msg) | |
| test.isTrue(v, msg) | |
| test.equal(actual, expected, message, not) | |
| test.length(obj, len) | |
| test.include(s, v) | |
| test.isNaN(v, msg) | |
| test.isUndefined(v, msg) | |
| test.isNotNull | |
| test.isNull | |
| test.throws(func) |
| tell application "iTunes" | |
| activate | |
| set newPreset to make new EQ preset | |
| set name of newPreset to "Eargasm Explosion" | |
| set band 1 of newPreset to 3 | |
| set band 2 of newPreset to 6 | |
| set band 3 of newPreset to 9 | |
| set band 4 of newPreset to 7 | |
| set band 5 of newPreset to 6 | |
| set band 6 of newPreset to 5 |