This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void Identity(int *matrix, size_t size) | |
{ | |
for (size_t i = 0; i < size; ++i) { | |
for (size_t j = 0; j < size; ++j) { | |
matrix[i * size + j] = (i == j) ? 1 : 0; | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Mini-Xcode: XCode 5 | |
MIN_VERSION="6.0" | |
# set default output folder is build | |
OUTPUT_FOLDER=${PREFIX-build} | |
# set default compiler | |
CC=${CC-$(xcrun --find gcc)} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (BOOL)shouldPerformSegueWithIdentifier:(NSString *)identifier sender:(id)sender | |
{ | |
if ([identifier isEqualToString:@"NewPhotoAdded"]) { | |
if ([self.titleTextField.text length] == 0) { | |
[self alert:@"Title'i doldur haci"]; | |
return NO; | |
} | |
if ([self.remoteIDTextField.text length] == 0) { | |
[self alert:@"remote id'yi doldur haci"]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"title": "first image", | |
"url": "http://www.hdwallpapers3g.com/wp-content/uploads/2014/01/hd-wallpaper-desktop-1.jpeg" | |
}, | |
{ | |
"title": "second image", | |
"url": "http://walpopular.com/wp-content/uploads/2013/12/high-resolution-walpapers.jpg" | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://146.185.174.238:8888 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Title: | |
A noun compound extractor for Turkish | |
Noun compound identification for Turkish | |
Turkish noun compound extraction based on rules | |
Abstract | |
Introduction | |
- Define NLP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://146.185.174.238:8888 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Data.Ratio | |
data Q5 = Rational :+ Rational deriving (Show) | |
instance Num Q5 where | |
(a :+ b) + (c :+ d) = (a + c) :+ (b + d) | |
(a :+ b) * (c :+ d) = (a * c + 5 * b * d) :+ (a * d + b * c) | |
phi = (1 % 2) :+ (1 % 2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/:/usr/local/lib ./configure --enable-static=no | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /bin/mkdir -p | |
checking for gawk... no | |
checking for mawk... mawk | |
checking whether make sets $(MAKE)... yes | |
checking for g++... g++ | |
checking whether the C++ compiler works... yes | |
checking for C++ compiler default output file name... a.out |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyIterator(object): | |
def __init__(self, sentence): | |
self.sentence = sentence | |
self.index = 1 | |
self.step = 1 | |
def __iter__(self): | |
return self |