alias gc="git checkout"
alias gpull="git pull origin"
alias gpush="git push origin"
<?php | |
/** | |
* The Template for displaying all single products. | |
* | |
* Override this template by copying it to yourtheme/woocommerce/single-product.php | |
* | |
* @author WooThemes | |
* @package WooCommerce/Templates | |
* @version 1.6.4 | |
*/ |
<?php | |
/** | |
* The template for displaying product content in the single-product.php template | |
* | |
* Override this template by copying it to yourtheme/woocommerce/content-single-product.php | |
* | |
* @author WooThemes | |
* @package WooCommerce/Templates | |
* @version 1.6.4 | |
*/ |
/* fonts */ | |
/* ------------------------------------------------------------------------- */ | |
/* reset */ | |
/* ------------------------------------------------------------------------- */ | |
@import url('css/reset.css'); | |
@import url('css/normalize.min.css'); |
server { | |
root /var/www/hopefield/prod/web; | |
index index.php index.html index.htm index.nginx-debian.html; | |
server_name domain.com www.domain.com; | |
location / { | |
try_files $uri $uri/ @rewrites; | |
} | |
location @rewrites { |
<!-- access token service --> | |
<script src="https://dompascal-instafeed.herokuapp.com/token.js"></script> | |
<!-- instafeed.js library (dont use in production) --> | |
<script src="https://cdn.jsdelivr.net/gh/stevenschobert/instafeed.js@2.0.0rc1/src/instafeed.min.js"></script> | |
<h1>Instagram Feed with basic display API</h1> | |
<div id="instafeed">instagram feed</div> | |
<script type="text/javascript"> |
git checkout <branch-name-here>
git log --oneline
to see all of the commitsgit revert --no-commit <commit-id>
To revert a range of commits, use git revert --no-commit <start-range_commit-hash-id>..<end-range_commit-hash-id>
git revert --continue
git push origin
to upload the latest changes to github.<?php | |
/** | |
* Single Product Image | |
* | |
* @author WooThemes | |
* @package WooCommerce/Templates | |
* @version 2.0.3 | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD4bxjhbpZOBtIfOI4VM8TxmpuR8KPIi4IN/HcVUFYnJ9kLMa1tttVrm45U4YS24jFHLWhighNYe2lVaTL5p6RIXwN7GXp3sb8uHjQ5qzsOCRLOE/MZ4E+oVfabdNpj7Aqq/v7Tascn0kkYl/Ub/JFem8LiH3iBpj0hmTOtdTQNHnO9NXPa6mbAG+O5WQPgjGBaQKfmYYnGQQ+RCvuogrm6MgX0KLo8NGjE8fWLOVsyKRQcvXSWNKEYp0Epez0NI4tA/OojB/tdegQ1Ef3nMi1T+zGDmge0gB4V8ncvAAUNkjE+thcVmd7Vv/LlpA4CGS7is3D5BAEgUbGH6T8sDh3T dompascal@DESKTOP-SBLH9V5 |
#!/bin/sh | |
export HELM_VERSION=v2.9.1 | |
export HELM_INSTALL_DIR=~/usr/local/bin | |
wget https://kubernetes-helm.storage.googleapis.com/helm-$HELM_VERSION-linux-arm.tar.gz -P ~/downloads | |
tar xvzf ~/downloads/helm-$HELM_VERSION-linux-arm.tar.gz -C ~/downloads | |
sudo mv ~/downloads/linux-arm/helm $HELM_INSTALL_DIR | |
rm -rf ~/downloads/linux-arm | |
helm list | |
helm init --tiller-image elafargue/tiller:arm2.9.0 --tiller-namespace kube-system --service-account tiller |