This file contains hidden or 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
ifconfig | grep "inet " | grep -v 127.0.0.1 |
This file contains hidden or 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
@mixin background-gradient($startColor, $endColor) { | |
background: $startColor; /* Old browsers */ | |
background: -moz-linear-gradient(top, $startColor 0%, $endColor 100%); /* FF3.6+ */ | |
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$startColor), color-stop(100%,$endColor)); /* Chrome,Safari4+ */ | |
background: -webkit-linear-gradient(top, $startColor 0%,$endColor 100%); /* Chrome10+,Safari5.1+ */ | |
background: -o-linear-gradient(top, $startColor 0%,$endColor 100%); /* Opera 11.10+ */ | |
background: -ms-linear-gradient(top, $startColor 0%,$endColor 100%); /* IE10+ */ | |
background: linear-gradient(to bottom, $startColor 0%,$endColor 100%); /* W3C */ | |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$startColor', endColorstr='$endColor',GradientType=0 ); /* IE6-8 */ | |
} |
This file contains hidden or 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 2 */ | |
'fnInitComplete': function(oSettings, json) { | |
$('select').select2({ | |
minimumResultsForSearch: -1 | |
}); | |
} | |
/* CHOSEN 2 */ |
This file contains hidden or 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
@mixin flexbox() { | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; | |
display: -webkit-flex; | |
display: flex; | |
} | |
@mixin flex($values) { | |
-webkit-box-flex: $values; |
This file contains hidden or 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').click(function() { | |
$(this).text($(this).text() == 'Show Help' ? 'Hide Help' : 'Show Help'); | |
return false; | |
}); |
This file contains hidden or 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_rows('repeater_name') ): ?> | |
<?php $counter = 1; ?> | |
<div class="items"> | |
<?php while( have_rows('repeater_name') ): the_row(); ?> | |
<div class="item item-<?php echo $counter; ?>"> | |
<a href="<?php the_sub_field('repeater_field_01'); ?>"> | |
<h3><?php the_sub_field('repeater_field_02'); ?></h3> | |
<p><?php the_sub_field('repeater_field_03'); ?></p> | |
</a> | |
</div> |
This file contains hidden or 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
Verifying that +fieldoffice is my openname (Bitcoin username). https://onename.io/fieldoffice |
This file contains hidden or 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
sips -Z 140 *.png | |
sips -Z 140 90 *.png |
This file contains hidden or 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 search_form( $form ) { | |
$form = '<form role="search" method="get" id="searchform" action="' . home_url( '/' ) . '" > | |
<label for="s">' . __('Search for:') . '</label> | |
<input type="search" placeholder="'.__("Enter keyword...").'" value="' . get_search_query() . '" name="s" id="s" /> | |
<input type="submit" id="searchsubmit" value="Search" /> | |
</form>'; | |
return $form; | |
} | |
add_filter( 'get_search_form', 'search_form' ); |
This file contains hidden or 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
//MIXIN | |
@mixin text-inset($colour, $opacity: 0.5) { | |
@if lightness($colour) < 50% { | |
//DARK TEXT - LIGHT SHADOW | |
text-shadow: 1px 1px 1px rgba(#fff, $opacity); | |
} @else { | |
//LIGHT TEXT - DARK SHADOW | |
text-shadow: -1px -1px 1px rgba(#000, $opacity); |