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
<plist version="1.0">
<dict>
<key>name</key>
<string>amCoder</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
@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}

[
{
"keys": ["ctrl+b"],
"command": "duplicate_line"
},
{
"keys": ["ctrl+shift+n"],
"command": "new_window"
},
{
@isitannarli
isitannarli / media.css
Created July 15, 2016 08:53 — forked from agragregra/media.css
Bootstrap Media CSS | Sass
/*========== Desktop First Method ==========*/
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
}
/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
@isitannarli
isitannarli / gitlab-raspberrypi.sh
Created June 14, 2016 01:11 — forked from emersion/gitlab-raspberrypi.sh
Gitlab install on Raspberrypi (cross-compiling)
# Gitlab install instructions: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md
# Cross-compiling on Rpi: https://raspberrypi.stackexchange.com/questions/1/how-do-i-build-a-gcc-4-7-toolchain-for-cross-compiling
apt-get update -y
apt-get upgrade -y
apt-get install -y sudo
apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server redis-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev logrotate
apt-get install -y git-core
@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: [email protected]
* @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
});
});