Skip to content

Instantly share code, notes, and snippets.

View duartealexf's full-sized avatar

Alexandre Fogaça Duarte duartealexf

  • Curitiba, Brazil
View GitHub Profile
$ git remote -v
origin https://github.com/repos-a.git (fetch)
origin https://github.com/repos-a.git (push)
another https://github.com/repos-b.git (fetch)
another https://github.com/repos-b.git (push)
$ git fetch another
$ git checkout -b another/master -t another/master
@duartealexf
duartealexf / example.com.conf
Created September 16, 2019 21:27
apache virtualhost config for prerender.io
<VirtualHost *:80>
ServerName example.com
ServerAlias www.example.com
DocumentRoot /var/www/example
RewriteEngine on
RewriteCond %{SERVER_NAME} =example.com [OR]
RewriteCond %{SERVER_NAME} =www.example.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,QSA,R=permanent]
</VirtualHost>