Skip to content

Instantly share code, notes, and snippets.

View ertankayalar's full-sized avatar
🏠
Working from home

Ertan Kayalar ertankayalar

🏠
Working from home
View GitHub Profile
/* *******************************************************************************************
* TAILWIND.CSS
* DOCUMENTATION: https://tailwindcss.com/
* ******************************************************************************************* */
/*
* Available breakpoints
* --------------------
* sm: min-width: 640px;
* md: min-width: 768px;

CSS3 Menu Dropdowns

Some pretty awful dropdown menu effects done with CSS

A Pen by Colin on CodePen.

License.

@ertankayalar
ertankayalar / index.html
Created June 9, 2022 08:27
Items on circle
<ul class='circle-container'>
<li><img src='http://lorempixel.com/100/100/city'></li>
<li><img src='http://lorempixel.com/100/100/nature'></li>
<li><img src='http://lorempixel.com/100/100/abstract'></li>
<li><img src='http://lorempixel.com/100/100/cats'></li>
<li><img src='http://lorempixel.com/100/100/food'></li>
<li><img src='http://lorempixel.com/100/100/animals'></li>
<li><img src='http://lorempixel.com/100/100/business'></li>
<li><img src='http://lorempixel.com/100/100/people'></li>
</ul>
@ertankayalar
ertankayalar / Sample Neovim Configuration
Created March 13, 2022 08:52 — forked from subfuzion/README.md
vim/neovim configuration
I recently switched over to [neovim](https://neovim.io/) (see my screenshots at the bottom).
Below is my updated [config file](https://github.com/neovim/neovim/wiki/FAQ#where-should-i-put-my-config-vimrc).
It's currently synchronized with my `.vimrc` config except for a block of [neovim-specific terminal key mappings](https://neovim.io/doc/user/nvim_terminal_emulator.html).
This is still a work in progress (everyone's own config is always a labor of love), but I'm already extremely
pleased with how well this is working for me with neovim. While terminal mode isn't enough to make me stop using
tmux, it is quite good and I like having it since it simplifies my documentation workflow for yanking terminal output to paste in a markdown buffer.
These days I primarily develop in Go. I'm super thrilled and grateful for [fatih/vim-go](https://github.com/fatih/vim-go),
@ertankayalar
ertankayalar / multiple_ssh_setting.md
Created December 13, 2021 14:54 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"
@ertankayalar
ertankayalar / wp-query-ref.php
Created November 23, 2018 10:38 — forked from luetkemj/wp-query-ref.php
WP: Query $args
// This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.github.io
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
* Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php
*/
@ertankayalar
ertankayalar / Symfony Direcotry Structure.txt
Created May 7, 2018 09:55
Symfony Directory Structure
├── bin
├── config
│ ├── packages
│ └── routes
├── public
├── src
│ ├── Controller
│ ├── Entity
@ertankayalar
ertankayalar / BlogController.php
Created May 7, 2018 09:49
Simple Symfony Blog Controller
// src/Controller/BlogController.php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\Routing\Annotation\Route;
class BlogController extends Controller
{
/**
@ertankayalar
ertankayalar / index.html.twig
Created May 7, 2018 09:48
Simple Twig Example
// templates/category/index.html.twig
{% extends 'main.html.twig' %}
{% block body %}
<div class="container">
<div class="row">
<h1>Yeni Kategori Ekleme</h1>
</div>
<div class="row">
{{ include('category/_form.html.twig',
{ form: form, button_label: 'kaydet', include_back_to_home_link: true, },
@ertankayalar
ertankayalar / .bash_aliases
Last active October 13, 2021 09:42
Bash Aliases for Symfony
#symfony aliases
alias sf="php bin/console"
alias sfp="php bin/console --env=prod"
alias sft="php bin/console --env=test"
alias sfcc="php bin/console cache:clear"
alias sfcw="php bin/console cache:warmup"
# symfony router