start new:
tmux
start new with session name:
tmux new -s myname
<?php | |
function cls() | |
{ | |
print("\033[2J\033[;H"); | |
} | |
echo "hello world"; | |
cls(); |
# | |
# Working with branches | |
# | |
# Get the current branch name (not so useful in itself, but used in | |
# other aliases) | |
branch-name = "!git rev-parse --abbrev-ref HEAD" | |
# Push the current branch to the remote "origin", and set it to track | |
# the upstream branch | |
publish = "!git push -u origin $(git branch-name)" |
// Add the div to wrap the image on the archive pages | |
add_action( 'woocommerce_before_shop_loop_item_title', create_function('', 'echo "<div class=\"archive-img-wrap\">";'), 5, 2); | |
add_action( 'woocommerce_before_shop_loop_item_title',create_function('', 'echo "</div>";'), 12, 2); | |
// If there is sub categories on the archive page add a wrap around their images as well | |
add_action( 'woocommerce_before_subcategory_title', create_function( '', 'echo "<div class=\"sub-archive-img-wrapper\">";'), 5, 2 ); | |
add_action( 'woocommerce_before_subcategory_title', create_function( '', 'echo "</div>";' ), 12, 2 ); |
#add 'node_modules' to .gitignore file | |
git rm -r --cached node_modules | |
git commit -m 'Remove the now ignored directory node_modules' | |
git push origin <branch-name> |
A collection of information gathered from various resources into a single document to be able to program for Amstrad CPC 464/6128 machines.
CPC has the following components on the mainboard:
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>1 | Safari Bug</title> | |
<style type="text/css"> | |
body { | |
margin: 0 auto; | |
max-width: 40em; | |
width: 88%; |