No artigo a seguir, vou adotar a seguinte estrutura de pastas:
- TODO: Utilizar
tree
para gerar estrutura de pastas.
- Executar o script
git-init-bare.sh
- Copiar o conteúdo de
post-receive.sh
para/var/www/html/project/.git/hooks/post-receive
{"lastUpload":"2021-08-31T08:20:42.057Z","extensionVersion":"v3.4.3"} |
#Install Gource in Ubuntu | |
======================== | |
#Go to the folder.... and | |
#see http://tylerfrankenstein.com/code/install-gource-ubuntu-1010-visualize-git-repo | |
sudo apt-get update | |
sudo apt-get install libsdl2-dev libsdl2-image-dev libpcre3-dev libfreetype6-dev libglew-dev libglm-dev libboost-filesystem-dev libpng12-dev libsdl1.2-dev libsdl-image1.2-dev libtinyxml-dev | |
./configure | |
make | |
sudo make install |
APP_ENV=testing | |
APP_KEY=SomeRandomString | |
DB_CONNECTION=testing | |
DB_TEST_USERNAME=root | |
DB_TEST_PASSWORD= | |
CACHE_DRIVER=array | |
SESSION_DRIVER=array | |
QUEUE_DRIVER=sync |
""" Simple mod from the original gist submitted by @zoufou | |
https://gist.github.com/zoufou/5701d71bf6e404d17cb4 | |
Mod by: @pguillem | |
Purpose: | |
- Integrates PySQLPool lib to handle MySQL | |
- Visit https://pythonhosted.org/PySQLPool/tutorial.html | |
Requirements: |
function drips(){ | |
docker ps -q | xargs -n 1 docker inspect --format '{{ .NetworkSettings.IPAddress }} {{ .Name }}' | sed 's/ \// /' | |
} |
(function($){ | |
$.fn.replace_html = function(html){ | |
return this.each(function(){ | |
var el = $(this); | |
el.stop(true, true, false); | |
var finish = {width: this.style.width, height: this.style.height}; | |
var cur = {width: el.width() + "px", height: el.height() + "px"}; | |
el.html(html); | |
var next = {width: el.width() + "px", height: el.height() + "px"}; | |
el.css(cur).animate(next, 300, function(){el.css(finish);}); |