- Modificado (modified);
- Preparado (staged/index)
- Consolidado (comitted);
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# == Settings == | |
GIT_DIR=/var/repo/project.git | |
WORK_TREE=/var/www/domain.com | |
BRANCH=master | |
YII_ENVIRONMENT=Production | |
# == Script == |
####Rets Rabbit http://www.retsrabbit.com
Rets Rabbit removes the nightmare of importing thousands of real estate listings and photos from RETS or ListHub and gives you an easy to use import and Web API server so you can focus on building your listing search powered website or app.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
class CalendlyEmbed extends React.Component { | |
calendlyScriptSrc = 'https://assets.calendly.com/assets/external/widget.js' | |
buildCalendlyUrl = (account, eventName) => | |
`https://calendly.com/${account}/${eventName}` | |
componentDidMount() { | |
const head = document.querySelector('head') | |
const script = document.createElement('script') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TARGET="<target-location>" | |
DEPLOY="<deployment-location>" | |
GIT_DIR="<repo-location>" | |
BRANCH="master" | |
while read oldrev newrev ref | |
do | |
# only checking out the master (or whatever branch you would like to deploy) | |
if [ "$ref" = "refs/heads/$BRANCH" ]; |