Skip to content

Instantly share code, notes, and snippets.

@BurakDev
BurakDev / MultipartFileSender
Created August 29, 2019 11:50 — forked from davinkevin/MultipartFileSender
Implementing HTTP byte-range requests in Spring 4 and other framework...
package lan.dk.podcastserver.utils.multipart;
import lan.dk.podcastserver.utils.MimeTypeUtils;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
<body onload=" setupDoubleClick( 'https://dictionary.cambridge.org/', 'british', false, null, 5, 'popup' ) ">
@BurakDev
BurakDev / my.cnf
Created June 1, 2018 00:31 — forked from kenelliott/my.cnf
16CPU / 16GB My.cnf
[mysqld_safe]
nice = -15
[mysqld]
max_binlog_size = 256M #max size for binlog before rolling
expire_logs_days = 1 #binlog files older than this will be purged
## Per-Thread Buffers * (max_connections) = total per-thread mem usage
thread_stack = 256K #default: 32bit: 192K, 64bit: 256K
sort_buffer_size = 1M #default: 2M, larger may cause perf issues
@BurakDev
BurakDev / kinectproject.cpp
Created December 30, 2017 15:05 — forked from spartonia/kinectproject.cpp
Source code for face recognition and skeleton tracking with kinect: https://www.youtube.com/watch?v=LtXUzOpKmTM
#include <Windows.h>
#include <Ole2.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <WinBase.h>
// Kinect
#include <NuiApi.h>
@BurakDev
BurakDev / gist:68f880f0a285b64b52e3daf3595eb5f1
Created October 10, 2017 14:35 — forked from rxdazn/gist:2198830
moulinette norme epitech
#!/usr/bin/python
#
# Made by [email protected]
# Version: 1.2.1
#
'''
An Epitech norme checker
Usage: python norme.py <files to scan> [-nocheat] [-verbose] [-score] [-libc]