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
<form class="modal-form ajax-form form-horizontal form-new-address" action="//www.barcin.com/address" method="post" > | |
<div class="form-group"> | |
<div class="col-xs-12"> | |
<label class="control-label required" for="address_title">Adres Tanımı (Ev, İş, Okul)</label> | |
<input type="text" id="address_title" name="address[title]" required="required" maxlength="30" pattern=".{2,}" class="form-control form-control" /> | |
</div> | |
</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
<div class="class">asd</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
# Usage: bash path/to/bash/scripts/docker-checkout.sh app_name | |
prefix="/Users/omuryanikoglu/Docker/apps/" | |
suffix="/app" | |
directory="$prefix$1$suffix" | |
if [ -d "$directory" ]; then | |
echo "App directory exists!" | |
docker-compose stop | |
cd $directory |
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($){ | |
var imagesLoaded = function(selector, onComplete, onProgress) { | |
var $images = $(selector).find('img'); | |
var success = 0; | |
var error = 0; | |
var iteration = 0; | |
var total = $images.length; | |
var check = function(el, status) { | |
iteration++; | |
var data = { |
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
git config --global alias.sync-gh-pages '!git push && git checkout gh-pages && git merge master && git push && git checkout master' |
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
var debug = true; | |
var log = function(type){ debug && window.console && console[( type in console ? type : 'log' )].apply(console, Array.prototype.slice.call(arguments, ( type in console ? 1 : 0 ))); }; |
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
$facebook-color : hsla(222, 47%, 40%, 1); // #365397 | |
$twitter-color : hsla(198, 100%, 47%, 1); // #00a9f1 | |
$linkedin-color : hsla(203, 100%, 35%, 1); // #006db3 | |
social-platforms: facebook $facebook-color, | |
twitter $twitter-color, | |
linkedin $linkedin-color; | |
@mixin make-class-list-for-collection($collection, $index: 1, $prefix: "") { | |
$list: ""; |
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
// add/remove class on event helpers | |
Helper.addClassOnEvent = function(el, ev, cl){ | |
var $el = $(el); | |
if(!$el.length || !cl || typeof ev !== "string" || typeof cl !== "string") { | |
return false; | |
} | |
$el.each(function(){ | |
// if(!Modernizr.hasEvent(ev, this)){ | |
// return true; |