(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
:
#Retrieve the name of the user running Apache with a command similar to this: | |
ps aux | grep apache # The username should be in the first column. | |
#Retrieve the groups this user is part of with the groups(1) command: | |
groups [USERNAME] | |
{ | |
"name": "magento/theme-frontend-air", | |
"description": "N/A", | |
"require": { | |
"php": "~5.6.5|7.0.2|7.0.4|~7.0.6", | |
"magento/theme-frontend-blank": "100.1.*", | |
"magento/framework": "100.1.*" | |
}, | |
"type": "magento2-theme", |
<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd"> | |
<title>Air</title> | |
<parent>Magento/luma</parent> | |
<media> | |
<preview_image>media/air.jpg</preview_image> | |
</media> | |
</theme> |
<?php | |
/** | |
* * Copyright Magento, Inc. All rights reserved. | |
* * See COPYING.txt for license details. | |
* */ | |
use \Magento\Framework\Component\ComponentRegistrar; | |
ComponentRegistrar::register(ComponentRegistrar::THEME, 'frontend/Sanda/air', __DIR__); | |
?> |
set nocompatible | |
" Make backspace behave in a sane manner. | |
set backspace=indent,eol,start | |
" Switch syntax highlighting on | |
syntax on | |
" Enable file type detection and do language-dependent indenting. | |
filetype plugin indent on |
# tmux config | |
# jwc | |
# see my blog post about tmux for more information | |
# http://blog.jwcxz.com/?p=517 | |
set -g bell-action any | |
set -g default-terminal screen-256color | |
set -g display-panes-colour red | |
set -g message-bg cyan | |
set -g message-fg white |
#!/bin/bash | |
iatest=$(expr index "$-" i) | |
####################################################### | |
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
####################################################### | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc |
@media (min-width:320px) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ } | |
@media (min-width:480px) { /* smartphones, Android phones, landscape iPhone */ } | |
@media (min-width:600px) { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ } | |
@media (min-width:801px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ } | |
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ } | |
@media (min-width:1281px) { /* hi-res laptops and desktops */ } |
<?php | |
add_action( 'shutdown', function(){ | |
foreach( $GLOBALS['wp_actions'] as $action => $count ) | |
printf( '%s (%d) <br/>' . PHP_EOL, $action, $count ); | |
}); |