Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Sinan Yasar sinan

🏠
Working from home
Block or report user

Report or block sinan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sinan
sinan / ga
Created Oct 20, 2014
koding google analytics script
View ga
<script>
(function(k,o,d,i,n,g){k['GoogleAnalyticsObject']=i;k[i]=k[i]||function(){
(k[i].q=k[i].q||[]).push(arguments)},k[i].l=1*new Date();g=o.createElement(d),
n=o.getElementsByTagName(d)[0];g.async=1;g.src='//www.google-analytics.com/analytics.js';
n.parentNode.insertBefore(g,n)})(window,document,'script','ga');
ga('create', 'UA-6520910-8', 'koding.com');ga('send', 'pageview');
</script>
View sublime.settings
{
"auto_complete": false,
"color_scheme": "Packages/User/base16-eighties.dark (SL).tmTheme",
"enable_tab_scrolling": false,
"fade_fold_buttons": false,
"file_exclude_patterns":
[
"*.pyc",
"*.pyo",
"*.exe",
View gist:bf5a8ede81342f6a98e6
10mail.org
10minutemail.co.za
123.com
20mail.in
20mail.it
Upal.se
abc.bg
abusemail.de
abv.bg
abyssmail.com
@sinan
sinan / keybase.md
Created Mar 16, 2016
my keybase id proof
View keybase.md

Keybase proof

I hereby claim:

  • I am sinan on github.
  • I am sinan (https://keybase.io/sinan) on keybase.
  • I have a public key ASAM-X95hbfeCJk9HHYAD6s3IgNaRu_I9VXFOI0SbZRsXAo

To claim this, I am signing this object:

@sinan
sinan / hubspot retina image support
Last active Dec 20, 2017
a workaround for showing responsive images in hubspot
View hubspot retina image support
# in your custom module you can create two images
# e.g. widget.image and widget.image2x
# then use them in a responsive img tag as below.
# basic idea
{% if widget.image.src %}
<img src="{{ widget.image.src }}" srcset="{{ widget.image.src }} 1x, {{ widget.image2x.src }} 2x" />
{% endif %}
@sinan
sinan / gist:7efe9c19fcefd6e2af6b550a0a0fe4da
Last active Sep 12, 2016
hasoffers identify/track calls thru segment
View gist:7efe9c19fcefd6e2af6b550a0a0fe4da
# IDENTIFY CALL WITH TRANSACTION_ID
{
"messageId": "api-DKJ9on3WyBhZegvIP246o1MQeKs5cDn8",
"projectId": "2XFFlhuziK",
"integration": "HasOffers",
"error": {
"name": "Error",
"retry": false,
"status": 400,
You can’t perform that action at this time.