Skip to content

Instantly share code, notes, and snippets.

View tutkun's full-sized avatar
👨‍💻

Samet Tutkun tutkun

👨‍💻
View GitHub Profile
@tutkun
tutkun / index.html
Created November 26, 2012 11:24
A CodePen by Val Head. Geometric Pattern Mask - CSS mask over a canvas pattern. Yay, masks!
<div class="wrap">
<div>
<canvas id="type" width="655" height="125" />
</div>
<div class="shadow"></div>
</div>
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<meta charset=utf-8 />
<title>MathJax.org</title>
</head>
<body>
<div id="math">

Crystal vs Node.js Websocket Benchmark

Crystal 0.9.1 with Kemal

require "kemal"

ws "/" do |socket|
  socket.on_message do |message|
 end
@tutkun
tutkun / docker-help.md
Created August 25, 2018 09:59 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@tutkun
tutkun / phone-regex.js
Last active October 25, 2022 06:38
Türk Telefon Numaraları için Regular Expression
/**
* Test etmek için şu adresteki test numaraları kullandım.
*
* Düzenli ifadede "positive lookbehind" kullanılmıştır.
*
* IFADE_2 ile eşleşen şey, IFADE_1 ile eşleşen şeyin
* hemen önünde mevcutsa `positive lookbehind` olarak kabul edilir.
*
* Possitive Lookbehind: IFADE_1(?<=IFADE_2)
*