Skip to content

Instantly share code, notes, and snippets.

View yortuc's full-sized avatar
💭
big dreams

Evren Yortucboylu yortuc

💭
big dreams
View GitHub Profile
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/eyortucboylu/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="robbyrussell"
@yortuc
yortuc / 4-canvas-fractals.html
Created November 29, 2017 19:41
Fractal fun with JavaScript
<html>
<head>
<title>Canvas Fractals</title>
</head>
<body>
<canvas id="myCanvas" width="401" height="401"></canvas>
<script>
@yortuc
yortuc / KonamiCode.html
Created November 21, 2017 19:52
Konami code implementation with javascript
<html>
<head>
<title>KONAMI CODE</title>
<style type="text/css">
body{
font-size: 60px;
font-family: sans-serif;
}
.fullScreen{
position: absolute;
<html>
<head>
<title>Drum Machine</title>
<style>
div.Key{
display: inline-block;
margin-right: 10px;
border:1px solid #ccc;
background-color: #efefef;
border-radius: 3px;
@yortuc
yortuc / 0_reuse_code.js
Last active August 29, 2015 14:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
var List = require("./List.js");
// List denemesi
var list = new List();
list.add("stratocaster");
list.add("telecaster");
list.add(1950);
console.log(list.data);
var List = require("./List.js");
// List denemesi
var list = new List();
list.add("stratocaster");
list.add("telecaster");
list.add(1950);
console.log(list.data);
var List = function(){
this.data = [];
this.add = add;
this.remove = remove;
this.count = count;
}
function add(item){
this.data.push(item);
}
@yortuc
yortuc / gist:c3f6faf4acb124e0f953
Created February 28, 2015 17:34
List veriyapısı
var List = function(){
this.data = [];
this.add = add;
this.remove = remove;
this.count = count;
}
function add(item){
this.data.push(item);
}
@yortuc
yortuc / gist:f4d132e6b90d65e3e772
Created February 28, 2015 17:33
List veriyapısı
var List = function(){
this.data = [];
this.add = add;
this.remove = remove;
this.count = count;
}
function add(item){
this.data.push(item);
}