Skip to content

Instantly share code, notes, and snippets.

View seyyah's full-sized avatar

seyyah seyyah

View GitHub Profile
@seyyah
seyyah / boncuk.m
Last active December 27, 2015 03:58
DIP LAB
clear all; close all; clc;
im = imread('http://i.imgur.com/TwDQZKO.jpg');
r = im(:,:, 1);
g = im(:,:, 2);
b = im(:,:, 3);
figure(1);
subplot(2,2,1); imshow(im); title('Boninon');
@seyyah
seyyah / 1) moodle2.5
Last active December 23, 2015 22:39
DOcs: Moodle2 kurulumu: apt php5-apc hata mesajı
# apt-get install php5-apc --reinstall
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
php5-apc
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
19 not fully installed or removed.
Need to get 0 B/70,4 kB of archives.
After this operation, 211 kB of additional disk space will be used.
@seyyah
seyyah / README.md
Last active December 22, 2015 23:49 — forked from ecylmz/README.md
  • Yapılandırmalar eski yerinde /etc/unicorn

    Örnek:

    RAILS_ROOT=/opt/medical
    RAILS_ENV=development

  • Ayrıca Rails app config,

app_path = "/opt/medical"

load('fisheriris');
% meas: 150X4
% species: 150X1
CVO = cvpartition(species,'k',10);
% K-fold cross validation partition
% N: 150
% NumTestSets: 10
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
config.vm.forward_port(3000, 4567, auto: true)
config.vm.share_folder("v-root", "/vagrant", ".")
end
# encoding: UTF-8
#
# UBS'de girilen içerik EBS üzerinden webde görülebilmektedir. Bu betik
# yardımıyla Bilgisayar Mühendisliği Bölümü'ne ait tüm derslerin içerik tek bir
# html dosya olarak üretilmektedir. Ayrıca içeriği eksik olan derslere ait
# raporlar üretilmektedir.
#
# Usage:
# $ ruby ders-icerigi-ve-eksik-icerik-belirleme-ebs-yardimiyla.rb
#
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
1;1001;1059
2;1060;1122
3;1552;1616
4;1123;1194
5;1195;1267
6;1268;1323
7;1324;1385
8;1386;1437
9;1497;1551
10;1438;1496
12.251 12.441 12.362 12.352 12.352 12.252 12.258 12.394 12.423 12.418 12.454 12.47 12.463 12.468 12.464 12.319 12.42 12.392 12.323 12.426 12.353 12.535 12.491 12.362 12.348 12.376 12.33 12.324 12.317 12.32 12.382 12.328 12.329 12.383 12.328 12.393 12.362 12.429 12.355 12.354 12.318 12.36 12.406 12.396 12.397 12.422 12.402 12.473 12.512 12.418 12.491 12.457 12.477 11.478 11.487 11.483 12.141 12.169 12.15 11.485 11.502 11.526 11.466 11.812 11.881 11.525 11.572 11.889 11.567 11.884 11.516 11.506 11.506 11.506 11.479 11.79 11.821 11.579 11.575 11.576 11.567 11.559 11.565 11.555 12.222 11.555 11.854 12.432 12.433 12.399 12.417 12.385 12.411 12.397 12.416 12.416 12.416 12.407 12.415 12.42 12.394 12.401 12.392 12.393 12.413 12.397 12.388 12.395 12.412 12.4 12.399 12.393 12.401 12.356 12.392 12.383 12.364 12.381 12.366 12.373 12.364 12.366 12.366 12.364 12.366 12.364 12.366 12.37 12.368 12.368 12.36 12.382 12.379 12.371 12.362 12.335 12.325 12.309 12.33 12.322 12.316 12.315 12.356 12.364 12.374 12.104 12.112 12.106 1
12.454 12.446 12.448 12.437 12.43 12.436 12.432 12.463 12.369 12.363 12.363 12.395 12.374 12.415 12.414 12.412 12.427 12.419 12.419 12.208 12.231 12.206 12.254 12.196 12.175 12.275 12.154 12.147 12.186 12.176 12.248 12.239 12.292 12.369 12.254 12.425 12.355 12.276 12.484 12.488 12.51 12.534 12.425 12.415 12.097 12.185 11.815 12.378 12.066 12.176 12.348 12.366 11.811 12.077 12.397 12.614 12.562 12.617 12.568 12.585 12.571 12.574 12.561 12.623 12.57 12.576 12.585 12.606 12.584 12.6 12.59 12.62 12.528 12.57 12.549 12.54 12.563 12.544 12.533 12.519 12.668 12.691 12.645 12.588 12.663 12.607 12.265 12.617 12.611 12.564 12.623 12.506 12.513 12.473 12.488 12.481 12.464 12.599 12.55 12.552 12.558 12.552 12.58 12.556 12.546 12.554 12.553 12.556 12.562 12.506 12.518 12.501 12.51 12.519 12.497 12.51 12.545 12.546 12.56 12.552 12.541 12.547 12.539 12.538 12.536 12.536 12.522 12.518 12.547 12.527 12.518 12.515 12.523 12.561 12.547 12.556 12.551 12.537 12.533 12.538 12.535 12.527 12.535 12.5 12.529 12.554 12.532 12.556 12.5
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 14 in line 1.
Temperature (C); Time (min); Moisture (g kg^-1); In Shell L; a; b; YI; Kernel L; a; b; YI; Ground kernel L; a; b; YI
197; 35; 15,9; 30,06; 4,97; 08,76; 65,46; 20,10; 2,79; 1,30; 24,14; 25,34; 07,04; 07,74; 76,94
180; 60; 10,3; 37,13; 5,40; 11,96; 65,53; 21,20; 3,44; 1,98; 31,10; 25,58; 07,38; 08,22; 80,43
180; 10; 34,2; 43,55; 4,18; 11,90; 56,66; 27,18; 7,65; 4,11; 51,62; 62,21; -2,75; 26,29; 71,31
140; 70; 21,1; 42,20; 4,69; 13,00; 64,04; 24,35; 7,29; 3,96; 55,14; 51,32; 07,78; 22,67; 89,52
140; 35; 31,2; 44,01; 4,20; 12,73; 59,45; 27,37; 7,60; 5,01; 56,75; 60,36; 00,97; 26,56; 78,87
140; 35; 30,5; 44,24; 3,96; 12,55; 57,97; 25,80; 8,90; 3,82; 56,55; 60,27; 00,56; 25,74; 76,19
140; 35; 31,8; 42,58; 4,63; 13,10; 63,72; 25,78; 6,99; 3,58; 58,72; 59,90; 00,80; 25,00; 78,66
140; 35; 32,0; 45,14; 3,31; 11,82; 52,78; 26,55; 7,48; 4,38; 53,89; 58,09; 00,07; 23,37; 71,41
140; 35; 30,2; 42,12; 4,60; 12,56; 61,62; 26,22; 7,27; 4,08; 52,03; 61,73; 01,59; 26,58; 78,06