Skip to content

Instantly share code, notes, and snippets.

View jmo-jr's full-sized avatar

Jorge Monteiro de Oliveira Jr jmo-jr

  • W³ Internet Services
  • Feira de Santana, Bahia
View GitHub Profile
@jmo-jr
jmo-jr / README.md
Last active May 9, 2023 21:48
Como fazer o deploy de um aplicativo PHP, do Bitbucket para um VPS.

Fazendo o deploy de seu site com Git

Este gist assume que:

  • você tem um repositório git local
  • com um repositório online (github / bitbucket, etc)
  • e um VPS ( DigitalOcean, Rackspace, Amazon EC2, etc)
    • com seus scripts PHP servidos no diretório /var/www/html/
    • e suas páginas web executadas pelo apache
  • com o diretório do apache em /var/www/
@jmo-jr
jmo-jr / README.md
Created July 8, 2016 17:02 — forked from oodavid/README.md
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/
@jmo-jr
jmo-jr / typeform-velocity.js
Created June 29, 2016 14:10 — forked from nathanhornby/typeform-velocity.js
Scroll to active field in form (typeform style animation) using velocity.js
// Insert into some kind of 'focus' action
var parent = $(this).parent().parent('.fieldWrap'); // Target a wrapper
// Reset active state
$('.fieldWrap').removeClass('active');
// Add active state to current field
parent.addClass('active');