terça-feira, 4 de agosto de 2020

#Template GITHub

Case: Criar o diretório devx e iniciar o git, com o diretório html2 citado abaixo.
Depois de Criado o repositório remoto html2 # https://github.com/rodrigorootrj/html2
#mkdir devx
#cd devx
#git clone https://github.com/rodrigorootrj/html2

Case2:Subir um projeto local para o git https://github.com/rodrigorootrj/html3
#mkdir devx
#cd devx
#git init
#git remote add origin git@github.com:rodrigorootrj/html3.git
#>index.html
#git add .
#git commit -m 'none'
#git push -u origin master

git config credential.helper store #Armazenar Senha.
#Conflito
git pull origin master
git push -u origin master
#Remover Arquivo bla
git rm bla
git push -u origin master

#Problema de Conecção.

#Histórico
460  mkdir 04.dev/
  461  cd 04.dev/
  462  ls
  463  git init
  464  >index.html
  465  git add .
  466  git commit -m "first commit"
  467  git remote add origin git@github.com:rodrigorootrj/html4.git
  468  git push -u origin master

sábado, 12 de outubro de 2019

#Template CSS

@charset "UTF-8";
/*Comentario*/

div.classename {
  position:relative;
  left:30%;
  top:30%;
  width:300px;
  height:200px;
}
div#objectid {
  position:relative;
  left:30%;
  top:30%;
  width:300px;
  height:200px;
}
[...]

#Template:Vhost apache

setup:

root@~# chown rcunha:apache /opt/www/mule/ && chmod 775 /opt/www/mule/
root@~# vi /etc/httpd/conf/httpd.conf
~
[...]
Listen 8080
[...]
<Directory "/opt/www">
    AllowOverride None
    Options Indexes FollowSymLinks
    Require all granted
</Directory>
[...]
~
root@~# vi /etc/httpd/conf.d/mule.conf
~
<VirtualHost *:8080>
DocumentRoot  /opt/www/mule
ServerName mule
</VirtualHost>
~

#Template Php

php info:

~ <?php

phpinfo();
?>
~

#TemplateHtml

#################################

<!DOCTYPE html>

<html>
<head>
<title>Titulo</title>
</head><body>
work
</body>
</html>

#################################


<!DOCTYPE html>
<!--
Comentário: TemplateHtml
-->
<html lang="pt-br">
<head>
<link rel="stylesheet" type="text/css" href="_css/file.css"/>
<meta charset="UTF-8"/>
<title></title>
</head>
<body>


</body>
</html>

#################################


Hierarquia de diretórios:
.
_css
_doc
_imagens
_midia