Skip to content

Instantly share code, notes, and snippets.

View renanlara's full-sized avatar

Renan Lara renanlara

View GitHub Profile
@oodavid
oodavid / README.md
Last active June 12, 2024 00:28 — forked from aronwoost/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/
@alanyoshida
alanyoshida / Deploy com Git
Last active March 25, 2019 18:59
Fazendo Deploy de um projeto direto para o servidor via ssh usando o git.
# Primeiro crie um repositorio Local.
$ git init
Initialized empty Git repository in C:\Projetos\site\.git
$ cat ' ' > index.html
$ git add index.html
$ git commit -q -m "Iniciando o repositório"
# No Servidor
# Crie Repositorio Vazio
$ mkdir site.git && cd site.git
@salcode
salcode / .gitignore
Last active February 10, 2024 10:56
See https://salferrarello.com/wordpress-gitignore/ for the latest version of my WordPress .gitignore file
# -----------------------------------------------------------------
# .gitignore for WordPress
# Bare Minimum Git
# http://ironco.de/bare-minimum-git/
# ver 20150227
#
# This file is tailored for a WordPress project
# using the default directory structure
#
# This file specifies intentionally untracked files to ignore
@fdaciuk
fdaciuk / 01 - Sublime Configurations.md
Last active March 11, 2021 00:56
Sublime Configurations
@omariosouto
omariosouto / readme.md
Last active February 17, 2016 11:12
Bower - Tips

Bower

Instalando o bower

Para instalar o bower é necessário ter o NodeJS

  1. Com o node já instalado execute o comando "npm install -g bower"
  2. Para verificar se a instalação foi concluída basta executar um "bower help", esse comando serve também para ver a lista dos principais comandos.

@omariosouto
omariosouto / sublimetext.md
Last active March 25, 2016 16:09
Sublime Text - Plugins

Sublime Initial Config

  • Package Control: Copy the text from 'https://packagecontrol.io/installation' and paste in the console 'view > show console' (after it restart the program)
  • Show Sidebar: view > sidebar > showsidebar

Sublime Theme

  • Material Theme: install package > material theme. After go to 'Preferences > Settings User' and paste

"theme": "Material-Theme.sublime-theme",