Skip to content

Instantly share code, notes, and snippets.

View isitannarli's full-sized avatar

Ahmet Işıtan Narlı isitannarli

View GitHub Profile
@isitannarli
isitannarli / fast_css_reset.css
Created July 18, 2023 18:07 — forked from fabiospampinato/fast_css_reset.css
The fastest CSS reset possible
:where(abbr), :where(address), :where(area), :where(article), :where(aside), :where(audio), :where(b), :where(base), :where(bdi), :where(bdo), :where(big), :where(blockquote), :where(body), :where(br), :where(caption), :where(cite), :where(code), :where(col), :where(colgroup), :where(data), :where(datalist), :where(dd), :where(del), :where(details), :where(dfn), :where(dialog), :where(dl), :where(dt), :where(em), :where(embed), :where(fieldset), :where(figcaption), :where(figure), :where(footer), :where(form), :where(h1), :where(h2), :where(h3), :where(h4), :where(h5), :where(h6), :where(head), :where(header), :where(hgroup), :where(hr), :where(i), :where(input), :where(ins), :where(kbd), :where(keygen), :where(label), :where(legend), :where(li), :where(link), :where(main), :where(map), :where(mark), :where(menu), :where(menuitem), :where(meta), :where(meter), :where(nav), :where(object), :where(ol), :where(optgroup), :where(option), :where(output), :where(param), :where(picture), :where(pre), :where(progress
@isitannarli
isitannarli / font-include.scss
Last active January 23, 2018 07:05
Sass Font Include Mixin
/**
* Font Name: Proxima Nova
* Font Folder Name: /var/www/project/assets/fonts/proxima-nova
* Font File Name (Regular): /var/www/project/assets/fonts/proxima-nova/proxima-nova-regular.ttf
* Font File Name (Bold): /var/www/project/assets/fonts/proxima-nova/proxima-nova-bold.ttf
*
* Use Mixin: @include font-include('Proxima Nova', 'proxima-nova', 'proxima-nova');
*/
@mixin font-include($font-name, $font-dir-name, $font-file-name) {
@isitannarli
isitannarli / share.md
Created January 19, 2017 18:20
Social Share Link

Facebook

http://www.facebook.com/share.php?u={url}&t={title}

Twitter

http://twitter.com/share?text={description}&url={url}&hashtags={hashtags}

Pinterest

http://pinterest.com/pin/create/button/?url={url}&media={picture_url}&description={description}

Tumblr

http://www.tumblr.com/share/link?url={url}&name={name}&description={description}

Google+

https://plus.google.com/share?url={url}

@isitannarli
isitannarli / gulpfile.babel.js
Last active January 21, 2017 20:47
Gulp Front-End Development Platform
/**
* Gulp Front-End Development Platform
*
* @author: Ahmet Işıtan Narlı
* @mail: ahmetisitannarli@gmail.com
* @git: github.com/isitannarli
* @created_at: 2016-04-30
* @updated_at: 2017-01-21
*
*/
@isitannarli
isitannarli / app.css
Created May 10, 2016 18:35 — forked from koba04/app.css
socket.io chat sample by vue.js http://socket.io/get-started/chat/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font: 13px Helvetica, Arial;
}
@isitannarli
isitannarli / gulpfile.js
Created May 8, 2016 15:08 — forked from ahmadawais/gulpfile.js
Gulp: Useing ngrok with BrowserSync
// first run npm install ngrok - then put var ngrok = require('ngrok'); at the top of your gulpfile
var ngrok = require('ngrok');
var browserSync = require('browser-sync')
browserSync({
server: "./app"
}, function (err, bs) {
ngrok.connect(bs.options.get('port'), function (err, url) {
// https://757c1652.ngrok.com -> 127.0.0.1:8080
});
});
@isitannarli
isitannarli / gulp.babel.js
Last active September 2, 2016 23:26
GulpJS Site Development Platform (Php + Sass + Js + Browser Sync + Img Minify)
/**
* GulpJS Front-End Development Platform
*
* @author: Ahmet Işıtan Narlı
* @mail: ahmetisitannarli@gmail.com
* @git: github.com/isitannarli
*
*/
var gulp = require('gulp'),
@isitannarli
isitannarli / bash-cheatsheet.sh
Created February 3, 2016 23:38 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04