I hereby claim:
- I am schleim on github.
- I am streich (https://keybase.io/streich) on keybase.
- I have a public key whose fingerprint is 201D 5CC9 8A1A A43B 5541 89D3 005F FFA1 239D C360
To claim this, I am signing this object:
| <section class="accordion" accordion accordion-on-open="showImage=true" > | |
| <dl> | |
| <dt> | |
| <a href="" class="">Link</a> | |
| </dt> | |
| <dd class="cf "> | |
| Content | |
| <img ng-if="showImage" src=""> | |
| </dd> | |
| </dl> |
| var queryObject = function () { | |
| var queryString = {}; | |
| var query = decodeURIComponent(window.location.search).substring(1); | |
| var items = query.split('&'); | |
| if(items.length == 1 && items[0] === '') return queryString; | |
| for (var i=0;i<items.length;i++) { | |
| var pair = items[i].split('='); | |
| if (typeof queryString[pair[0]] === 'undefined') { | |
| queryString[pair[0]] = pair[1]; | |
| } else if (typeof queryString[pair[0]] === 'string') { |
I hereby claim:
To claim this, I am signing this object:
| function addHttp(url) { | |
| if (!url.match(/^(f|ht)tps?:\/\//)) { | |
| url = "http://" + url; | |
| } | |
| return url; | |
| } |
| gulp.task('move', function(){ | |
| return gulp.src(['modules/core/client/css/**/*.*']) | |
| .pipe(gulp.dest('public/dist')); | |
| }); |
| // re-maps a value from one range to another. | |
| function map(value, fromMin, fromMax, toMin, toMax) { | |
| return toMin + (toMax - toMin) * ((value - fromMin) / (fromMax - fromMin)); | |
| } |
| function goToURL(url) | |
| { | |
| var win = window.open(url, '_blank'); | |
| win.focus(); | |
| } |
| #301 Redirects for .htaccess | |
| #Redirect a single page: | |
| Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
| #Redirect an entire site: | |
| Redirect 301 / http://www.domain.com/ | |
| #Redirect an entire site to a sub folder | |
| Redirect 301 / http://www.domain.com/subfolder/ |
| <?php | |
| $taxonomy = 'taxonomy_name'; | |
| $orderby = 'name'; | |
| $show_count = 0; // 1 for yes, 0 for no | |
| $pad_counts = 0; // 1 for yes, 0 for no | |
| $hierarchical = 1; // 1 for yes, 0 for no | |
| $title = ''; | |
| $args = array( |