Skip to content

Instantly share code, notes, and snippets.

View lavaldi's full-sized avatar
💛
Diving into JavaScript

Claudia Valdivieso lavaldi

💛
Diving into JavaScript
View GitHub Profile
@lavaldi
lavaldi / update-chrome.md
Created March 12, 2016 16:07
Update Chrome browser

Update or, if you haven't already, install Google Chrome

sudo apt-get update
sudo apt-get install google-chrome-stable
#Instala django-disqus
pip install django-disqus
#ó descarga django-disqus.tar.gz de http://pypi.python.org/pypi/django-disqus/
#descomprímelo y córrelo con
python setup.py install
#Luego en setting.py agrega lo siguiente:
INSTALLED_APPS = (
...
@lavaldi
lavaldi / git-rebase.md
Last active October 27, 2015 16:19
How to make a rebase?

First commit the changes from your local branch

git add .
git commit -m 'fix(about): something'

Switch to the branch with which you will do the rebase

git checkout {other-branch}
git pull origin {other-branch}
@lavaldi
lavaldi / Ajustar-div-al-contenido.markdown
Last active August 29, 2015 13:56
A Pen by Claudia.
@lavaldi
lavaldi / css-background-size.css
Last active August 29, 2015 13:56
Perfect Full Page Background Image
html {
background: url(images/bg.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.myBackground.jpg', sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='myBackground.jpg', sizingMethod='scale')";
}