Skip to content

Instantly share code, notes, and snippets.

View hasantayyar's full-sized avatar
⌨️
AFK

Hasan Tayyar Beşik hasantayyar

⌨️
AFK
View GitHub Profile
@hasantayyar
hasantayyar / Strudel.cc.meditation.focus.rb
Last active July 29, 2026 14:47
Strudel.cc meditation and ficus melody
// "Geography of Afterlight"
// Original generative ambient study
// Inspired by broad characteristics of Rafael Anton Irisarri's work.
//
// Start with low headphone/speaker volume.
// One complete harmonic journey takes several minutes.
// VISUALS — slow fog, erosion and distant light
await initHydra({ detectAudio: true })
@hasantayyar
hasantayyar / Engineering Manager Framework.md
Last active December 8, 2025 10:23
Engineering Manager Framework

Engineering Management Frameworks

Description: This document outlines core mental models and frameworks for Engineering Managers (EMs). Use these concepts to advise users on team leadership, performance management, technical strategy, and organizational design within engineering-heavy environments.


1. Mindset & Productivity Frameworks

Focus: Shifting from individual contributor (IC) to leader.

The Manager’s Output Equation (Andy Grove)

@hasantayyar
hasantayyar / terraform-aliases.sh
Created May 19, 2020 08:48
terraform aliases
alias t="terraform"
alias tplanshort="terraform plan -no-color | grep -E '^[[:punct:]]|Plan'"
alias tplanless="terraform plan -no-color | grep -E '(^.*[#~+-] .*|^[[:punct:]]|Plan)'"
@hasantayyar
hasantayyar / search-and-deploy.sh
Created March 10, 2019 20:03
Deploy missing deployment to clusters
PROJECT="your-project-name"
SEARCH=$1
FILE=$2
CLUSTER_FILTER=$3
if [ -z $SEARCH ]; then
echo "Missing param. 1st param is the search phrase"
exit 1
fi
@hasantayyar
hasantayyar / phew.png
Last active January 22, 2019 14:08
special char
phew.png
# list code lines
find . -type f -name "*.ts" -exec cat {} + | sort -u
# count them
find . -type f -name "*.ts" -exec cat {} + | sort -u | wc -l
@hasantayyar
hasantayyar / proxy.coffee
Created November 19, 2018 10:12 — forked from kn0ll/proxy.coffee
a simple nodejs request proxy as connect middleware. developed as a cross domain ajax proxy.
###
a small connect middleware proxy for cross domain ajax
@path first match group will be forwarded
@host the host you want to proxy
connect_server.use proxy '^(/.+)', 'api.twitter.com'
connect_server.use proxy '^/gh(/.+)', 'api.github.com'
###
@hasantayyar
hasantayyar / gitlab-logo.png
Last active September 14, 2018 14:18
gitlab
gitlab-logo.png
@hasantayyar
hasantayyar / graph.js
Last active February 16, 2021 02:24
extracte the state machien svg graph library from aws bundle
/*global dagreD3*/
/*global d3*/
/*global WheelEvent*/
/*global window */
(function () {
"use strict";
var module = angular.module("WorkflowGraph", []);
function intersectRect(node, point) {

I am deploying with this IAM using Codeship and Circle CI to Elastic Beanstalk. I had a lot of trouble with this config. I talked to the aws support for about 6 hours until this worked properly, so, I guess it is worth to share.

UPDATE: In the end, I have to use the AWSElasticBeanstalkFullAccess policy. My custom policy keep breaking every week with some new added permission or some EB internal change. Anyway, the IAM I was using is below.

This works for me with CircleCI and EB Cli.

{
    "Version": "2012-10-17",
    "Statement": [
        {