Skip to content

Instantly share code, notes, and snippets.

View Cenngo's full-sized avatar
🏠
Coronaing

Cenk Ergen Cenngo

🏠
Coronaing
  • Munich
  • 14:24 (UTC +02:00)
View GitHub Profile
@Cenngo
Cenngo / resume.json
Last active January 8, 2023 13:23
Resume
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"meta": {
"theme": "elegant"
},
"basics": {
"name": "Cenk Ergen",
"label": "Programmer",
"image": "https://media.licdn.com/dms/image/C4E03AQGMzPWhPGF_-Q/profile-displayphoto-shrink_800_800/0/1627889977123?e=1677110400&v=beta&t=vGMMCO6VhExgSIko82AVc7wZq46xrip45GDdCs5J6eM",
"email": "cenk.ergen1@gmail.com",
// Script
const crns = [];
const inputs = document.querySelectorAll('input[placeholder="CRN Giriniz."]');
for(let i = 0; i < crns.length && i < inputs.length; i++)
{
inputs[i].value = crns[i];
inputs[i].dispatchEvent(new Event("input"));
}
<canvas height="320" width="320" id="unsolved"></canvas>
<canvas height="320" width="320" id="solved"></canvas>
<script>
maze = [
[1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
[1,0,1,1,0,0,0,0,0,1,0,0,0,1,0,1],
[1,0,0,1,0,1,1,1,0,0,0,1,0,1,0,1],
[1,1,0,1,0,0,0,1,1,0,1,0,0,1,0,1],
[1,0,0,0,0,1,0,1,0,0,1,0,1,0,0,1],
@Cenngo
Cenngo / mc_lootTable.json
Last active September 29, 2020 11:40
Mc_LootTable_Schema
{
"default": {},
"description": "The root schema comprises the entire JSON document.",
"examples": [
{
"type": "",
"functions": [
{
"function": "",
"conditions": [
<div class="wrapper">
<div class="description">
<p>Hello World!</p>
</div>
</div>
<style>
.wrapper {
height: 800px;
width: 100%;
#include <stdio.h>
#include <stdlib.h>
//Struct for Linked List Containing the Student Id Number Digits
typedef struct node{
//Since the Leading '0's Are Registered as Octal Numbers in C There is No Way to Store the Last 3 Digits of Every Student Number Safely
//Storing Every Digit of The Id is Necessary
int id[3];
int digit;
struct node * next;
#include <stdio.h>
#include <stdlib.h>
typedef struct node{
int id[3];
int digit;
struct node * next;
}node;
typedef struct entry{