Skip to content

Instantly share code, notes, and snippets.

mertdumenci / hough.swift
Created Jul 23, 2017
Trying to implement Hough Transform in Swift
View hough.swift
//: Playground - noun: a place where people can play
import UIKit
import CoreGraphics
let image = UIImage(named: "lines.jpg")
mertdumenci / download-nsscreencast.rb
Created May 1, 2014
Download NSScreencast videos for offline viewing in a batch
View download-nsscreencast.rb
# Using this script downloads ALL the videos in NSScreencast.
# Use it wisely, it's extra load/bandwidth for the NSScreencast website.
# Usage: `EMAIL=your email PASSWORD=your password COUNT=how many videos should be downloaded? ruby download-nsscreencast.rb`
require "mechanize"
require "parallel"
mechanize ="", {"email" => ENV["EMAIL"], "password" => ENV["PASSWORD"]})
mechanize.pluggable_parser.default = Mechanize::Download

Keybase proof

I hereby claim:

  • I am mertdumenci on github.
  • I am mert ( on keybase.
  • I have a public key whose fingerprint is 2C69 0FE8 EFF7 3392 31EC 3F29 8BEB 3A1A F8C5 A725

To claim this, I am signing this object:

mertdumenci / rdio_collection_export.js
Last active Jan 1, 2016
Switch to the list mode in collection view, scroll to the bottom and load all the songs and run this code. You can import it to Spotify using Ivy (
View rdio_collection_export.js
javascript:(function() {
var bookmarklet = {
init: function() {
parse: function() {
page = "";