Skip to content

Instantly share code, notes, and snippets.

🛰️
Focusing

Sinan Yasar sinan

🛰️
Focusing
View GitHub Profile
View sublime-packages
// not yet tried but looking good
Fuzzy File Path
tabnine
Console Wrap
// installed
"A File Icon",
"Alignment",
"All Autocomplete",
"ayu",
View iterm-settings
{
"Set Local Environment Vars" : true,
"Working Directory" : "\/Users\/sinan",
"Prompt Before Closing 2" : 0,
"Selected Text Color" : {
"Green Component" : 0.60392159223556519,
"Blue Component" : 0.56470590829849243,
"Red Component" : 0.63921570777893066
},
"Rows" : 25,
View .zpreztorc
#
# Sets Prezto options.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
#
# General
#
@sinan
sinan / mac-defaults-on-a-new-setup
Created Dec 17, 2019
Defaults to make mac usable on a new setup
View mac-defaults-on-a-new-setup
# get rid of press and hold character popup
defaults write -g ApplePressAndHoldEnabled -bool false
# delay until a key repeats
defaults write -g InitialKeyRepeat -int 25
# duration between repeats after repeat initiation
defaults write -g KeyRepeat -int 1
@sinan
sinan / Babel.sublime-build
Created May 6, 2018
sublime text babel build system with npx
View Babel.sublime-build
{
"shell_cmd": "npx babel-node \"$file\"",
"selector": "source.js",
"path": "/usr/local/bin:$PATH",
"quiet": true
}
@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 %}
You can’t perform that action at this time.