alias gc="git checkout"
alias gpull="git pull origin"
alias gpush="git push origin"
| 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/[email protected]/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 --continuegit push origin to upload the latest changes to github.| 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 |
| #!/bin/sh | |
| echo "Update" | |
| sudo apt-get update | |
| echo "Update completed" | |
| echo "mDNS Setup" | |
| sudo apt-get install avahi-daemon | |
| echo "mDNS installed" |
| <?php if(get_field('header_slideshow_image')) { ?> | |
| <?php $image = wp_get_attachment_image_src(get_field('header_slideshow_image'), 'header-slideshow'); ?> | |
| <img class="rsImg" src="<?php echo $image[0]; ?>" alt="" /> | |
| <?php } elseif(get_field('blog_thumbnail')) { ?> | |
| <?php $image = wp_get_attachment_image_src(get_field('blog_thumbnail'), 'header-slideshow'); ?> | |
| <img class="rsImg" src="<?php echo $image[0]; ?>" alt="" /> | |
| <?php } else { ?> | |
| <img class="rsImg" src="<?php bloginfo('template_url'); ?>/css/img/slideshow-placeholder.jpg" alt="Image Unavailable" /> | |
| <?php } ?> |
| // add sequential numbers to each list item | |
| $("ol#boutiques li .city-and-state").each(function (i) { | |
| i = i+1; | |
| if(i < 10) i = "0"+i; | |
| $(this).prepend('<span class="number">' +i+ '.</span>'); | |
| }); |
{ "Version": "2008-10-17", "Statement": [ { "Sid": "AllowPublicRead", "Effect": "Allow", "Principal": { "AWS": "*" }, "Action": "s3:GetObject",