Setup instructions for Le Wagon's students on their first day of Web Development Bootcamp
Hello Le Wagon 👋
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 | |
# author : Patricio Rojas Ortiz | |
# Purpose: Perform a git with existing git repository in console bash | |
# Usage : In the DCL git-existing-git-repository.sh clients/project1 folder-versioned | |
# Note : CHANGE CHANGE the name git@gitlab.local.lab with your git server name. | |
git remote rename origin old-origin | |
git remote add origin git@gitlab.local.lab:$1/$2.git | |
git push -u origin --all | |
git push -u origin --tags |
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 | |
# author : Patricio Rojas Ortiz | |
# Purpose: Perform a git with existing folder in console bash | |
# Usage : In the DCL git-existing-folder.sh clients/project1 folder-versioned | |
# Note : CHANGE CHANGE the name git@gitlab.local.lab with your git server name. | |
git init | |
git remote add origin git@gitlab.local.lab:$1/$2.git | |
git add . | |
git commit -m "Initial commit" |
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 | |
# author : Patricio Rojas Ortiz | |
# Purpose: Perform a git create a new repository in console bash | |
# Usage : In the DCL git-create-a-new-repository.sh clients/project1 folder-versioned | |
# Note : CHANGE CHANGE the name git@gitlab.local.lab with your git server name. | |
git clone git@gitlab.local.lab:$1/$2.git | |
cd bin | |
touch README.md | |
git add README.md |
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 | |
# author : Patricio Rojas Ortiz | |
# Purpose: Perform a git commit and git push in console bash | |
# Usage : In the DCL git-commit-and-git-push.sh | |
git log --oneline --format="%h %cd %s" > CHANGELOG | |
sync | |
sync | |
git commit -a -S | |
git push |
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 | |
# author : Patricio Rojas Ortiz | |
# Purpose: Get the CHANGELOG file from gi | |
# Usage : In the DCL git-changelog-get.sh | |
git log --oneline --format="%h %cd %s" > CHANGELOG |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> | |
<style> | |
.black{background-color:black; color:white; } |
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
// En archivo de configuración kumbiaPHP default/app/config | |
// | |
// crear la variable secret_iv bajo authentication, por ejemplo: | |
// | |
// [authentication] | |
// secret_key = "z?&vbX$4\N`}@vo=~)\?eBFyc&;J.Nx-58/dU8\)" | |
// copy/paste este código para un controlador de acceso global | |
// | |
const ENCRYPT_METHOD = 'AES-256-CBC'; | |
const SECRET_IV = 'MAPt=&L3>*m@=K;UyU`2fGcT\e[#{LiUha@_/yF%'; |
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 | |
# | |
# Download mozilla developer, and install it firefox-developer Edition : /usr/local/firefox | |
# | |
cd /tmp | |
/usr/bin/wget -O "firefox.tar.bz2" "https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64&lang=es-CL" --user-agent="Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0" | |
rm -rf /opt/firefox | |
cd /opt/firefox | |
tar jxvf /tmp/firefox.tar.bz2 |
NewerOlder