docker ps -a
docker pull postgres
docker build -t postgres .
docker exec -it postgres psql -U postgres
deploy-prod: | |
variables: | |
GIT_STRATEGY: none | |
stage: deploy | |
only: | |
- master | |
script: | |
- sudo -u $PROJ_OWNER git --git-dir=$DEPLOY_DIR/.git --work-tree=$DEPLOY_DIR fetch origin $CI_COMMIT_REF_NAME | |
- sudo -u $PROJ_OWNER git --git-dir=$DEPLOY_DIR/.git --work-tree=$DEPLOY_DIR reset --hard FETCH_HEAD | |
- sudo -H -u $PROJ_OWNER chmod u+x $DEPLOY_DIR/nodescripts.sh |
sudo dpkg-reconfigure resolvconf |
See https://www.youtube.com/watch?v=cVTsemATIyI
Ajoutée le 28 août 2015
This tutorial was made for the GTX 950, GTX 960, GTX 970, GTX 980, GTX 980 Ti, and GTX TITAN X.
UPDATE: I have updated the commands in here with the most recent driver Nvidia recommends for the GTX950-GTX TITAN X This guide will help you set up your Nvidia graphics card even if you boot to a blank sceen or are completely locked out of your GUI.
var keystone = require('keystone'); | |
var Types = keystone.Field.Types; | |
/** | |
* Page Model | |
* ========== | |
*/ | |
var Page = new keystone.List('Page', { | |
map: { name: 'title' }, |
ul.slider-list{ | |
position: relative; | |
display: block; | |
width: 100%; | |
overflow: hidden; | |
margin-top: 2em; | |
height: 5em; | |
margin-left: 0; | |
} |
'use strict'; | |
// je déclare mes fonctions | |
function playTheVideoOnClick(idWrapper, posterClass, idVideoAttr){ | |
// lancement de la video si clic sur button play sur cover image | |
$(idWrapper).click(function(){ | |
var idVideo = $(this).attr(idVideoAttr); | |
var videoIframe = '<iframe width="560" height="315" src="https://www.youtube.com/embed/' + idVideo + '?rel=0&showinfo=0&autoplay=1" frameborder="0" allowfullscreen></iframe>'; | |
$(this).append(videoIframe); | |
$(this).find(posterClass).fadeOut(); |
################################ | |
## Perso : ALIASES | |
################################ | |
alias "rl"="source ~/.zshrc" | |
alias "cl"="clear" | |
alias "cdweb"="cd ~/projects/www-dev/public" | |
alias "cdapp"="cd ~/projects/apps-dev" | |
alias "opend"="nautilus ." |
.videoWrapper { | |
position: relative; | |
padding-bottom: 56.25%; /* 16:9 */ | |
padding-top: 25px; | |
height: 0; | |
} | |
.videoWrapper iframe { | |
position: absolute; | |
top: 0; | |
left: 0; |
If you need to increase memory limit for your wordpress install in 1&1
source : http://www.mistipi.com/wordpress-php-11-augmenter-la-memoire-allouee/