This code how to replace the traditional radio-buttons, for custom images. You can do the same with checkboxes.
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
#How to vertically center HTML objects. | |
Only with pure HTML and CSS | |
Requirements: | |
- The height of the element's container must be known or specified. |
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
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> |
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
Find what: | |
`(href|src)="([a-zA-Z0-9/.-]+[^.html])"` | |
Replace with: | |
`$1=\"{% static "assets/$2" %}"` |
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
upstream tumblr { | |
server 72.32.231.8:80; | |
} | |
server { | |
listen 80; | |
server_name _SERVER_NAME_; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
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
Archivo de Constantes para: http://rcotrina.devux.pe/lab/uns/din-ii/2015-00/und1/FinalNumPseudo/ |
- Not being willing to learn new languages and skills. Not willing to read technical books.
- Not paying attention to performance: Use of good Data Structure and Algorithms
- Not paying attention to design: Design Pattern, Object Modeling, Best Practices
- Not paying attention to security: SQL Injection
- Not paying attention to testing: Writing test cases.
- Documentation: Improper logging and comments.
- Blind copy paste making an assumption that it would work.
- Forget to take backup and remove all debugging statements like System.out.print before application goes into production.
- Jumping directly on solution. Don't start solution hunting the moment you face a problem or bug. Even if you copy from others solution, don't forget to learn and understand the solution.
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
export WORKON_HOME=$HOME/.virtualenvs | |
export PROJECT_HOME=$HOME/webapps | |
source /usr/local/bin/virtualenvwrapper.sh |
https://sites.google.com/a/chromium.org/chromedriver/
sudo apt-get install unzip
wget -N http://chromedriver.storage.googleapis.com/2.15/chromedriver_linux64.zip -P ~/Downloads
unzip ~/Downloads/chromedriver_linux64.zip -d ~/Downloads
OlderNewer