Skip to content

Instantly share code, notes, and snippets.

@s
s / yildizyemek
Last active August 29, 2015 13:57
{
'name':'Yıldız Yemek',
'description':'Flat designed, open sourced iOS application for Yildiz Technical University students.',
'version':'1.0.2',
'authors':[
{
'name':'Meryem Ekinci',
'bio':'Lead iOS Developer & Designer',
'twitter':'meryemmekinci'
},
@s
s / flather
Last active December 20, 2015 12:19
Flather is flat designed, open sourced weather application.
{
'name':'Flather',
'description':'Flat designed, open sourced iOS weather application.',
'version':'1.0',
'authors':{
'developer':{
'name':'Said Özcan',
'bio':'Photograph & Software Developer',
'twitter':'saidozcan'
},
@s
s / HuffmanTree.java
Created December 4, 2013 14:04
HuffmanTree.java
import java.util.Arrays;
/**
* class HuffmanTree
* @author M. Said Ozcan
*/
public class HuffmanTree {
static int non_zero_element_count;
import Foundation
public extension TimeInterval {
/// `minuteSecondMS` is a convenience computed variable which converts a `TimeInterval` to `mm:ss:ms` format.
var minuteSecondMS: String {
return String(format: "%d:%02d.%03d", minute, second, millisecond)
}
/// `minute` is a convenience computed variable which converts a `TimeInterval` to minutes.
var minute: Int {
@s
s / .travis.yml
Created May 23, 2020 00:41 — forked from shaypal5/.travis.yml
Comprehensive Python testing on Travis CI
language: python
# ===== Linux ======
dist: xenial
python:
- 2.7
- 3.5
- 3.6
- 3.7
matrix:
include:
@s
s / MinStack.java
Last active April 25, 2021 12:26
MinStack implementation
package nl.saidozcan;
import java.lang.ref.WeakReference;
import java.util.Stack;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReadWriteLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;
//================================================================================
// WeakBox
// This class is a wrapper around any generic value to make it weak referenced to
@s
s / json
Last active July 11, 2021 14:33
[{
"id": 1,
"licensePlate": "B AB 123",
"brand": "BMW",
"model": "i3",
"nickname": "Vimcent",
"last_position": {
"timestamp": "2021-01-10T20:04:22Z",
"lat": 51.54987,
"lng": 12.41039
@s
s / FeministOkumalar.txt
Created April 23, 2023 12:03
Feminist Okumalar
https://twitter.com/burcuu_unlu/status/1645860252611498002?s=46
https://twitter.com/burcuu_unlu/status/1644737673221767169?s=46
https://twitter.com/iozguradem/status/1637909652653457420?s=46
https://twitter.com/melisulug/status/657122448828145664?s=46
https://twitter.com/melisulug/status/727157594536710144?s=46
https://twitter.com/melisulug/status/750669309265969152?s=46
https://twitter.com/melisulug/status/1020688262971756545?s=46
https://twitter.com/melisulug/status/1142111948353482757?s=46
https://twitter.com/sisterslab/status/1401949906479243265?s=46
https://twitter.com/sisterslab/status/1447621791682383874?s=46
@s
s / LargestSquareArea.swift
Created July 3, 2020 00:39
This snippet finds the largest square area within a matrix with consisting of 1s.
import Foundation
import XCTest
typealias Matrix = [[Int]]
/// This function alias is used when a position is given:
/// And we'd like to check if we can go to a neighbor of it
/// And if we can go to the neighbor, what's the value of the neighbor
/// An example is usage:
/// ```