This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My proudest achivement is that I graduated with the highest GPA (3.94) among 2016 graduates (~7000 students) at Mugla University in Turkey, awarded with the High Honor Student Certificate. | |
Another thing I'm really proud of is Jekyll Admin which is an open-source project that I started working on via Google Summer of Code programme | |
and still maintaining the project on Github and developing new features requested by the community. | |
Basically it is a Jekyll plugin that provides users with a traditional CMS-style graphical interface to author content and administer Jekyll sites. | |
The project is divided into two parts. A Ruby-based HTTP API that handles Jekyll and filesystem operations, and a JavaScript-based front end, built on that API. | |
Currently it has 1.5k stars on Github and it's been downloaded more than 52,000 times. I'm proud of it because it makes so many people's life a lot easier. | |
Non-tech users can use and enjoy this tool to author their content and administer their sites very easily. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Request interface { | |
toPkiString() string | |
} | |
func prepareResponse(request Request, methodType string, endpoint string, options Options) string { | |
pkiString := request.toPkiString() | |
requestJson, _ := json.Marshal(request) | |
requestJson = string(requestJson) | |
response := connect(methodType, endpoint, options, requestJson, pkiString) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import json | |
import numpy as np | |
import unittest | |
# constants | |
FILENAME = 'customers.json' | |
INTERCOM_COORDS = [53.339428,-6.257664] | |
WITHIN_DISTANCE = 100 | |
EARTH_RADIUS = 6367 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var i = 1 | |
setInterval(function() { | |
var text = '?'.repeat(i++); | |
window.InputEvent = window.Event || window.InputEvent; | |
var d = new Date(); | |
var event = new InputEvent('input', { bubbles: true }); | |
var textbox = document.querySelector( | |
'#main > footer > div._3pkkz.copyable-area > div._1Plpp > div > div._2S1VP.copyable-text.selectable-text' | |
); | |
textbox.textContent = text; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span class="timeout">2:00</span> | |
<button id="startTimer">Start</button> | |
<script> | |
var interval; | |
function countdown() { | |
clearInterval(interval); | |
interval = setInterval( function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import { render, createPortal } from "react-dom"; | |
class List extends Component { | |
render() { | |
return [ | |
<li key="A">First item</li>, | |
<li key="B">Second item</li>, | |
<li key="C">Third item</li>, | |
<OtherList /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { render } from "react-dom"; | |
class App extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { error: null }; | |
} | |
componentDidCatch(error, errorInfo) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import { render } from "react-dom"; | |
class String extends Component { | |
render() { | |
return "Sadece String!"; | |
} | |
} | |
render(<String />, document.getElementById("root")); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import { render } from "react-dom"; | |
class List extends Component { | |
render() { | |
return [ | |
<li key="A">First item</li>, | |
<li key="B">Second item</li>, | |
<li key="C">Third item</li> | |
]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// tüm postları array olarak döndürür, diğer argumentler için https://developer.wordpress.org/reference/functions/get_posts/ | |
// listeleme sayfasında foreach ile postları listeyebilirsiniz. | |
function getPosts() { | |
$args = array( | |
'posts_per_page' => -1, | |
'orderby' => 'menu_order', | |
'order' => 'DESC', |