Zach Silveira was kind enough to create a video tutorial:
https://www.youtube.com/watch?v=apZwd0FqQu4&feature=youtu.be
Here are my notes as I followed along...
- Install Docker for Mac.
# Homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install git | |
# Zsh (can skip) | |
brew install zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
brew install nginx |
// ES6 | |
// A normal object | |
class iPhoneX { | |
secretName = 'iPhoneX' | |
constructor(price) { | |
this.price = price | |
} | |
setPrice = (value) => { |
[alias] | |
a = add . | |
aliases = config --get-regexp alias | |
b = branch | |
bi = bisect | |
ci = commit -m | |
co = checkout | |
colast = checkout - | |
db = branch -D | |
laf = fsck --lost-found |
[alias] | |
a = add . | |
aliases = config --get-regexp alias | |
b = branch | |
bi = bisect | |
ci = commit -m | |
co = checkout | |
colast = checkout - | |
db = branch -D | |
laf = fsck --lost-found |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Google Fonts Preview</title> | |
<style> | |
#preview { | |
margin: 0 auto; | |
text-align: center; | |
width: 80%; | |
} |
Shopify objects that contain attributes that can be dynamically put on the page. For example, the product object contains an attribute called title that can be used to output the title of a product. | |
The handle is used to access the attributes of a Liquid object. By default, it is the object’s title in lowercase with any spaces and special characters replaced by hyphens (-). Every object in Liquid (product, collection, blog, menu) has a handle. | |
Collections & Products | |
Collection ► | |
all_types ► | |
Returns a list of all the product types for a collection | |
<?php | |
/** | |
* Created by PhpStorm. | |
* User: DhanPris | |
* Date: 15/05/2018 | |
* Time: 11:51 | |
*/ | |
namespace App\Http\Traits; |
#!/bin/bash | |
apt-get update | |
apt-get install -y libzip-dev bison autoconf build-essential pkg-config git-core \ | |
libltdl-dev libbz2-dev libxml2-dev libxslt1-dev libssl-dev libicu-dev \ | |
libpspell-dev libenchant-dev libmcrypt-dev libpng-dev libjpeg8-dev \ | |
libfreetype6-dev libmysqlclient-dev libreadline-dev libcurl4-openssl-dev | |
rm -rf /etc/php7 | |
mkdir -p /etc/php7 | |
mkdir -p /etc/php7/cli |
Zach Silveira was kind enough to create a video tutorial:
https://www.youtube.com/watch?v=apZwd0FqQu4&feature=youtu.be
Here are my notes as I followed along...
The -m
option specifies the parent number. This is because a merge commit has more than one parent, and Git does not know automatically which parent was the mainline, and which parent was the branch you want to un-merge.
When you view a merge commit in the output of git log
, you will see its parents listed on the line that begins with Merge
:
commit 8f937c683929b08379097828c8a04350b9b8e183
Merge: 8989ee0 7c6b236
Author: Ben James <[email protected]>
Date: Wed Aug 17 22:49:41 2011 +0100
Merge branch 'gh-pages'