Skip to content

Instantly share code, notes, and snippets.


Sinan Yasar sinan

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 / ga
Created Oct 20, 2014
koding google analytics script
View ga
(k[i].q=k[i].q||[]).push(arguments)},k[i].l=1*new Date();g=o.createElement(d),
ga('create', 'UA-6520910-8', '');ga('send', 'pageview');
View sublime.settings
"auto_complete": false,
"color_scheme": "Packages/User/base16-eighties.dark (SL).tmTheme",
"enable_tab_scrolling": false,
"fade_fold_buttons": false,
View gist:bf5a8ede81342f6a98e6
sinan /
Created Mar 16, 2016
my keybase id proof

Keybase proof

I hereby claim:

  • I am sinan on github.
  • I am sinan ( on keybase.
  • I have a public key ASAM-X95hbfeCJk9HHYAD6s3IgNaRu_I9VXFOI0SbZRsXAo

To claim this, I am signing this object:

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 / gist:7efe9c19fcefd6e2af6b550a0a0fe4da
Last active Sep 12, 2016
hasoffers identify/track calls thru segment
View gist:7efe9c19fcefd6e2af6b550a0a0fe4da
"messageId": "api-DKJ9on3WyBhZegvIP246o1MQeKs5cDn8",
"projectId": "2XFFlhuziK",
"integration": "HasOffers",
"error": {
"name": "Error",
"retry": false,
"status": 400,
You can’t perform that action at this time.