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
<!-- SmtpJs --> | |
<script src="https://smtpjs.com/v3/smtp.js"></script> | |
<script> | |
$('.btn-submit').click(function () { | |
/*var maillist = [ | |
'****@***.com', | |
'****@***.com', | |
];*/ |
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
<div id="dovizkuru"> | |
<div class="dolar"> | |
<div>USD</div> | |
<div>Buying: <span class="buying"></span></div> | |
<div>Selling: <span class="selling"></span></div> | |
</div> | |
<div class="altin"> | |
<div>Ounce Gold</div> | |
<div>Buying: <span class="buying"></span></div> | |
<div>Selling: <span class="selling"></span></div> |
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
import Vue from 'vue'; | |
import posts from './components/posts.vue'; | |
window.axios = require('axios'); | |
window.Vue = Vue; | |
Vue.component('posts', posts); | |
const app = new Vue({ | |
el: '#app', |
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
/** | |
* Metni url'de kullanılabilir hale çevirir. Boşluklar tireye çevrilir, | |
* alfanumerik olmayan katakterler silinir. | |
* | |
* Transform text into a URL path slug(with Turkish support). | |
* Spaces turned into dashes, remove non alnum | |
* | |
* @param string text | |
*/ | |
slugify = function(text) { |
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
/* | |
* Replace all SVG images with inline SVG | |
*/ | |
jQuery('img.svg').each(function(){ | |
var $img = jQuery(this); | |
var imgID = $img.attr('id'); | |
var imgClass = $img.attr('class'); | |
var imgURL = $img.attr('src'); | |
jQuery.get(imgURL, function(data) { |
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
var getUrl = window.location.protocol + "//" + window.location.host + "/" + window.location.pathname + window.location.search; | |
$('#getUrl').val(getUrl); | |
/*-----------------*/ | |
// Parse the URL | |
function getParameterByName(name) { | |
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); | |
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), | |
results = regex.exec(location.search); |
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
/* Chrome eklentisi de şurada : https://github.com/riza/yemeksepeti-randomer */ | |
var items = []; $('.ys-item').find('.head').find('.restaurantName').each(function(i,v) { items.push($(this).html()); });console.log(items[Math.floor(Math.random()*items.length)]); |
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
<div class="grid"> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-xs-3 col-md-offset-1 col-md-2"> | |
<div class="grid-line"></div> | |
</div> | |
<div class="col-xs-3 col-md-2"> | |
<div class="grid-line"></div> | |
</div> | |
<div class="col-xs-3 col-md-2"> |
##Front-end blogs worth reading##
Even though for the last few years blogs have been losing popularity to Twitter, Facebook and Google Plus and so on, they're still not dead and have not been replaced with other media.
###Articles, showcases, resources###
- A List Apart - articles design, development, and web standards
- DailyJS - news, tips, examples and reviews of a variety of JavaScript frameworks and modules.
- Mozilla Hacks - one of key resources for people developing for the Open Web