Skip to content

Instantly share code, notes, and snippets.

View alpaylan's full-sized avatar

Alperen Keleş alpaylan

View GitHub Profile
@alpaylan
alpaylan / resume.json
Created March 4, 2026 08:49
Tail resume: Alperen Keles
{
"basics": {
"name": "Alperen Keles",
"email": "akeles@umd.edu",
"phone": ""
},
"work": [
{
"name": "University of Maryland - PLUM",
"position": "Graduate Research Assistant",
@alpaylan
alpaylan / resume.json
Created March 3, 2026 20:40
Tail resume: Default
{
"basics": {
"name": "Alperen Keles",
"email": "john@doe.com",
"phone": "555-555-5555"
},
"work": [
{
"name": "Company",
"position": "President",
@alpaylan
alpaylan / Default.json
Created March 3, 2026 20:35
Tail resume: Default
{
"basics": {
"name": "Alperen Keles",
"email": "john@doe.com",
"phone": "555-555-5555"
},
"work": [
{
"name": "Company",
"position": "President",
@alpaylan
alpaylan / Default.json
Last active March 3, 2026 20:35
Tail resume: Default
{
"basics": {
"name": "Alperen Keles",
"email": "john@doe.com",
"phone": "555-555-5555"
},
"work": [
{
"name": "Company",
"position": "President",
<!DOCTYPE html>
<meta charset="utf-8">
<title>Autocomplete</title>
<body>
<input id="autocomplete" type="text">
<div id="suggestions" style="border: 1px solid #ccc; display: none;"></div>
</body>
<script>
let suggestions = null;
<!DOCTYPE html>
<html>
<head>
<title>Test Obfuscated</title>
<style>
#a1 {
transform: translateY(54px);
}
<!DOCTYPE html>
<html>
<head>
<title>Test Obfuscated</title>
<style>
#a1 {
transform: translateY(54px);
}
#a2 {
transform: translateY(18px);
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
</head>
<body>
<h1>Test</h1>
<p>Test</p>
<div>
<div id="a1">List item 1</div>
@alpaylan
alpaylan / shortest-unsorted-continuous-subarray.ts
Created October 28, 2024 18:05
Solution to LC-581 (Shortest Unsorted Continuous Subarray)
const findUnsortedSubarray = (nums: number[]): number => {
// find the left order breaker
let left = 0;
while (left < nums.length - 1 && nums[left] <= nums[left + 1]) {
left++;
}
// if left is the last element, then the array is already sorted
if (left === nums.length - 1) {
@alpaylan
alpaylan / infinite.html
Created May 16, 2024 22:11
Infinite Canvas Example
<!DOCTYPE html>
<html>
<head>
<title>Infinity</title>
</head>
<body>
<div id="infinite"></div>
<button onclick="addElement()">Add Element</button>
<input id="zoom" type="range" min="10" max="200" value="100">
</body>