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
ul { | |
position: relative; | |
list-style-type: none; | |
padding: 0; | |
li { | |
word-wrap: break-word; | |
padding-left: 30px; // Adjust this as much as you like, based on 'font-size' and 'content' property | |
&:before { | |
position: absolute; | |
left: 0; |
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
/****************************************************************************************** | |
Custom checkboxes and radios! Use only CSS | |
See http://www.andwecode.com/playground-demo/custom-checkbox-with-font-icon/ | |
Port to SCSS by Julian Xhokaxhiu <info@julianxhokaxhiu.com> (http://julianxhokaxhiu.com) | |
*******************************************************************************************/ | |
.checkbox, | |
.radio { | |
input { | |
opacity: 0; | |
position: absolute; |
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
<!-- | |
Based on http://elvery.net/demo/responsive-tables/#no-more-tables | |
--> | |
<table> | |
<thead> | |
<tr> | |
<th>Code</th> | |
<th>Company</th> | |
<th class="numeric">Price</th> | |
<th class="numeric">Change</th> |
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
# Call virtualenvwrapper's "workon" if .venv exists. This is modified from-- | |
# http://justinlilly.com/python/virtualenv_wrapper_helper.html | |
# which is linked from-- | |
# http://virtualenvwrapper.readthedocs.org/en/latest/tips.html#automatically-run-workon-when-entering-a-directory | |
check_virtualenv() { | |
if [ -e .venv ]; then | |
env=`cat .venv` | |
echo "Found .venv in directory. Calling: workon ${env}" | |
workon $env | |
fi |
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
<header class="page-row"> | |
<h1>Site Title</h1> | |
</header> | |
<main class="page-row page-row-expanded"> | |
<p>Page content goes here.</p> | |
</main> | |
<footer class="page-row"> | |
<p>Copyright, blah blah blah.</p> |
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
1. `pacman -Sy batik-java` and choose to use Java 8 JRE | |
2. `wget http://artfiles.org/apache.org/xmlgraphics/batik/binaries/batik-bin-1.8.tar.gz` | |
3. `sudo tar xzf batik-bin-1.8.tar.gz -C /usr/share/java/` | |
4. Place `batik-ttf2svg` in `/usr/local/bin` and `chmod 0755 /usr/local/bin/batik-ttf2svg` | |
5. Enjoy |
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
// Extend Text Alignment to make it responsive | |
.text-left-not-xs, | |
.text-left-not-sm, | |
.text-left-not-md, | |
.text-left-not-lg { | |
text-align: left; | |
} | |
.text-center-not-xs, | |
.text-center-not-sm, | |
.text-center-not-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
// Initialize two different lightbox plugins based on the device where we are | |
$( '.desktop .lightbox' ) | |
.fancybox({ | |
loop: false, | |
minWidth: 400, | |
maxWidth: 600, | |
beforeShow: function() { | |
var $this = $(this.element), | |
iframe = $.fancybox.inner.find('iframe'), | |
src = iframe.attr('src'), |
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
(function($){ | |
/* addClass shim | |
****************************************************/ | |
var addClass = $.fn.addClass; | |
$.fn.addClass = function(value) { | |
var orig = addClass.apply(this, arguments); | |
var elem, | |
i = 0, |
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
# Allow google and developers IP access without pw | |
AuthName "Authorized Users Only." | |
AuthType Basic | |
AuthUserFile /etc/httpd/conf/.htpasswd | |
require user testusr | |
Order deny,allow | |
Deny from all | |
Allow from 66.249.93.214 # PageSpeed Insights | |
Allow from 66.249.93.217 # PageSpeed Insights | |
Allow from 66.249.93.220 # PageSpeed Insights |
OlderNewer