Skip to content

Instantly share code, notes, and snippets.

Avatar
🛰️
Focusing

Sinan Yasar sinan

🛰️
Focusing
View GitHub Profile
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 sublime-packages
// not yet tried but looking good
Fuzzy File Path
tabnine
Console Wrap
// installed
"A File Icon",
"Alignment",
"All Autocomplete",
"ayu",
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 / 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.