Skip to content

Instantly share code, notes, and snippets.

Avatar
😎
cool

Midori Koçak midorikocak

😎
cool
View GitHub Profile
@midorikocak
midorikocak / index.html
Created Oct 6, 2021
Structured Data example
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Midori Kocak</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="/css/stylesheet.css" />
<style>
.resume-name {
color: #ffff00;
}
@midorikocak
midorikocak / index.html
Last active Oct 4, 2021
Introduction to HTML
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>My First Webpage</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"
/>
<style>
body {
@midorikocak
midorikocak / composeObjects.js
Last active Sep 25, 2021
Object Composition
View composeObjects.js
let person = {
name: 'midori',
hobbies: ['climbing', 'anime', 'playing piano', 'learning japanese']
}
let teacher = {
topic: 'coding',
years: 10
}
View twoSum.js
// https://leetcode.com/problems/two-sum/
/**
* @param {number[]} nums
* @param {number} target
* @return {number[]}
*/
var twoSum = function(nums, target) {
/* First Solution (Brute Force)
let indexes = [];
View gist:30f5fb9f6895b1fab5cb3e00c32ea92f
1. Ne yapmaya çalışıyordum?
Yapmaya çalıştığınız şeyi yazın. Örneğin "Yeni kişi eklemek istiyordum."
2. Ne olması gerekiyordu?
Yapmaya çalıştığınız şeyin sonunda olması gereken şeyi yazın. Örneğin: "Uygulama yeni eklenen kişinin sayfasına gitmeliydi."
3. Ne oldu?
@midorikocak
midorikocak / index.html
Created May 14, 2020
Html Egitimi Ornegi
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Midori Kocak</title>
</head>
<body>
<div id="hakkimda">
<h1>Midori Kocak</h1>
@midorikocak
midorikocak / index.html
Created Apr 2, 2020
Simple Responsive Layout
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Midori Kocak</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body class="vertical">
<header class="horizontal">
<h1>Midori Kocak</h1>
@midorikocak
midorikocak / manifesto.md
Last active Feb 20, 2020
You are hiring HUMANS!
View manifesto.md

You are hiring HUMANS!

  • Read our resume from the beginning to end.
  • Do not make us fill endless forms.
  • Be polite, you don't need some human ASAP.
  • If you are not going to hire 100%, do not invite to interview. It's should not be a trial game.
  • Respond to the applicant as soon as possible, not later than 2 weeks.
  • Give an honest, proper and constructive feedback stating why you are not hiring that person.
  • No whiteboard interviews, stress testing, drills, brain teasers
  • If you want to see how a person codes, give them a home task similar to what you expect.
@midorikocak
midorikocak / reddit-php.md
Created Feb 4, 2020
Why I left reddit.com/r/PHP? Because it's toxic.
View reddit-php.md

Why I left reddit.com/r/PHP? Because it's toxic.

Hello.

It's better for me to leave this place because it's no different than an abusive workplace. Most of the people do not know what they are talking about and they can confuse things like implementing arrayaccess interface with implementing toArray method. Note: my pronouns ar she/her.

I am a computer scientist graduated 10 years ago, right now studying Masters of Visual Graphic design, because I was let go from my job with some bonus after half year of mobbing and harrassment. The girl who was moved in my position resigned after 3 months. So I am not paid other than freelance work. But when I am paid, it's not underpaid.

Packages:

View toArray.php
<?php
$class = (new class{
public function __toArray(){
echo "casted\n";
return
[
'key'=>'value'
];
}