start new:
tmux
start new with session name:
tmux new -s myname
# Install linux update, followed by GCC and Make | |
sudo yum -y update | |
sudo yum install -y gcc make | |
# Install Nginx and PHP-FPM | |
sudo yum install -y nginx php-fpm | |
# Install PHP extensions | |
sudo yum install -y php-devel php-mysql php-pdo \ | |
php-pear php-mbstring php-cli php-odbc \ |
<?php | |
add_action( 'wp_enqueue_scripts', 'enqueue_my_styles' ); | |
/** | |
* Example callback function that demonstrates how to properly enqueue conditional stylesheets in WordPress for IE. | |
* IE10 and up does not support conditional comments in standards mode. | |
* | |
* @uses wp_style_add_data() WordPress function to add the conditional data. | |
* @link https://developer.wordpress.org/reference/functions/wp_style_add_data/ |
for (var i=1; i <= 20; i++) | |
{ | |
if (i % 15 == 0) | |
console.log("FizzBuzz"); | |
else if (i % 3 == 0) | |
console.log("Fizz"); | |
else if (i % 5 == 0) | |
console.log("Buzz"); | |
else | |
console.log(i); |
### Get Repos Ready ### | |
# initial update & upgrade | |
sudo pacman -Syu | |
# install new apps | |
sudo pacman -Sy --noconfirm gcc patch curl zlib readline libxml2 libxslt git autoconf diffutils make libtool bison subversion vim-rails qgit | |
# configure git | |
git config --global user.name your-username |
.grid_12 | |
%h1 Contact | |
%h2 Want to get in contact, have a question or just fancy a chat? | |
%p Fill out the form below | |
%form{:action => "/contact", :method => "post"} | |
%div{:style => "margin:0;padding:0;display:inline"} | |
%label{:for => "contact_subject"} Subject: | |
%br | |
%input#contact_subject{:name => "subject", :size => "30", :type => "text"}/ |