Skip to content

Instantly share code, notes, and snippets.

View Dogacel's full-sized avatar
🚀
To the moon.

Doğaç Eldenk Dogacel

🚀
To the moon.
  • Carbon Health
  • Evanston, IL
  • 22:34 (UTC -05:00)
View GitHub Profile
@Dogacel
Dogacel / schema-defs.json
Created April 22, 2023 19:43
$defs block for the armeria grpc tests
{
"armeria.grpc.testing.ExtendedTestMessage.Nested" : {
"additionalProperties" : false,
"properties" : {
"string" : {
"description" : "",
"type" : "string"
}
},
"required" : [ ]
" TextEdit might fail if hidden is not set.
set hidden
" Some servers have issues with backup files, see #649.
set nobackup
set nowritebackup
" Give more space for displaying messages.
set cmdheight=2
call plug#begin()
" This is where we will add plugins to install
Plug 'danilo-augusto/vim-afterglow'
Plug 'HerringtonDarkholme/yats.vim'
Plug 'preservim/nerdtree'
Plug 'jistr/vim-nerdtree-tabs'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
@Dogacel
Dogacel / prepare-commit-msg
Created June 13, 2018 16:40
Auto run bench for test commits on defenchess
#!/usr/bin/env python
import sys, os, subprocess
from sys import platform
subprocess_cmd = '/bin/sh'
if platform == "win32":
subprocess_cmd = 'C:/Windows/System32/bash.exe'
@Dogacel
Dogacel / LinearSums.java
Last active December 14, 2017 18:25
integer sums equal .... in linear time
import java.util.Random;
public class LinearSums {
public static void print(int i) {System.out.println(i);}
public static void print(String s) {System.out.println(s);}
public static void main(String[] args) {
Random rn = new Random();
import java.util.Random;
public class ArrayRepeatProblem {
public static void print(int i) {System.out.println(i);}
public static void print(String s) {System.out.println(s);}
public static void main(String[] args) {
Random rn = new Random();
@Dogacel
Dogacel / omer.cpp
Created August 4, 2017 11:29
Omer al
if(inp[n] < 0 || inp[n] > '9'){
switch(inp[n]){
case '/':
case '*':
case '+':
case '-':
continue;
default:
break;
}