Skip to content

Instantly share code, notes, and snippets.

View bilalucar's full-sized avatar
💭
I may be slow to respond.

Bilal Ucar bilalucar

💭
I may be slow to respond.
View GitHub Profile
@bilalucar
bilalucar / Reset.css
Created March 17, 2017 08:34
Reset.css
/*
RESET.CSS Örneği // Example
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
@bilalucar
bilalucar / Normalize.CSS
Created March 17, 2017 08:35
Normalize.CSS
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
/**
* 1. Change the default font family in all browsers (opinionated).
* 2. Correct the line height in all browsers.
* 3. Prevent adjustments of font size after orientation changes in
* IE on Windows Phone and in iOS.
*/
/* Document
<a href="http://webmaster.kitchen" title="Webmaster">Webmaster</a>
@bilalucar
bilalucar / Robots.txt Example
Created March 29, 2017 07:04
Robots.txt Example
# For domain: http://webmaster.kitchen/
User-agent: *
Disallow: /wp-admin/
Disallow: /wp-includes/
Sitemap: http://webmaster.kitchen/sitemap.xml
@bilalucar
bilalucar / An Example of Meta Robots
Created March 29, 2017 07:04
An Example of Meta Robots
<html>
<head>
<title>The Best Webpage on the Internet</title>
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
@bilalucar
bilalucar / canonical
Created March 29, 2017 07:22
canonical
An Example of rel="canonical" for the URL http://example.com/default.asp
<html>
<head>
<title>The Best Webpage on the Internet</title>
<link rel="canonical" href="http://www.example.com">
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
@bilalucar
bilalucar / Multirange
Created March 31, 2017 07:48
Multirange
<input type="range" multiple value="10,80" />
@bilalucar
bilalucar / overhang.js
Created April 1, 2017 22:15
overhang.js
// Some confirmation
$("body").overhang({
type: "confirm",
yesMessage: "Yes please!",
noMessage: "No thanks."
});
@bilalucar
bilalucar / SuperEmbed
Created April 12, 2017 08:28
SuperEmbed
<script src="js/superembed.min.js"></script>
@bilalucar
bilalucar / JavaScript Getters And Setters
Created April 17, 2017 16:36
JavaScript Getters And Setters
var obj = {
foo: 'this is the value of foo',
getFoo: function() {
return this.foo;
},
setFoo: function(val) {
this.foo = val;
}
}