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
#!/usr/bin/env python34 | |
# dror4 - datetime format edition | 2016.02.27 | |
# Based on https://gist.github.com/dansku/9040240#file-dropboxorganize-py | |
import os.path | |
import glob | |
from datetime import date | |
def move(files, newname): | |
# Move files |
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
.select | |
@extend .input | |
relative() | |
padding 0 | |
margin-top 20px | |
appearance none | |
overflow hidden | |
// background-image: url("../img/arrow.png") | |
// background-repeat no-repeat | |
// background-position: 96% center |
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
.input | |
background-color white | |
width 100% | |
height 48px | |
color clgreytxt | |
font-family: ff | |
font-size: 16px | |
line-height 16px | |
border none | |
padding 0 20px |
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
.arrow | |
&__right, &__left | |
size(11px, 20px) | |
display inline-block | |
background url("../img/rarr.png") no-repeat | |
&:hover | |
background url("../img/rarr_h.png") no-repeat | |
&__left | |
transform scaleX(-1.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
$image-path: '../img' !default | |
=bgi($name, $ext:'png', $repeat:false, $size:false) | |
@if($ext == svg) | |
background-image: url(#{$image-path}/#{$name}.png) | |
background-image: url(#{$image-path}/#{$name}.#{$ext}) | |
@if not($repeat) | |
background-repeat: no-repeat | |
@if($size) | |
background-size: $size; |
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
&__item | |
+rel | |
// Not so perverted vr: | |
// & + & | |
// border-left: 1px solid $grats-vr | |
// And warped one, behold: | |
& + & | |
&:before | |
content: "" | |
+abs |
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
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> | |
<?php the_content(); ?> | |
<?php endwhile; else : ?> | |
<p><?php _e( 'Sorry, no posts were found.' ); ?></p> | |
<?php endif; ?> |
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
<?php $images = get_field('images', 'options'); | |
if( $images ): ?> | |
<?php foreach( $images as $image ): ?> | |
<a href="<?php echo $image['url']; ?>" class="fancyBox" rel="about"> | |
<img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" /> | |
</a> | |
<?php endforeach; ?> | |
<?php endif; ?> | |
<?php unset($image); ?> |
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! SetRandomColors() | |
if !exists('g:mycolors') | |
let matches = {} | |
for fname in split(globpath(&runtimepath, 'colors/*.vim'), '\n') | |
let name = fnamemodify(fname, ':t:r') | |
let matches[name] = 1 | |
endfor | |
let g:mycolors = sort(keys(matches), 1) | |
endif | |
exe 'colorscheme ' . g:mycolors[localtime() % len(g:mycolors)] |
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
/***************************************************************** | |
* | |
* Copy Layer text 1.0 - by Praveen Vijayan! - http://www.decodize.com/ | |
* | |
* Compatibility above Photoshop CS6 | |
* | |
* Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/ | |
* | |
*****************************************************************/ | |
OlderNewer