Skip to content

Instantly share code, notes, and snippets.


Fatih Acet fatihacet

Block or report user

Report or block fatihacet

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View setChromeOptions.js
//import the selenium web driver
var webdriver = require('selenium-webdriver');
var chromeCapabilities =;
//setting chrome options to start the browser fully maximized
var chromeOptions = {
'args': ['--test-type', '--start-maximized']
chromeCapabilities.set('chromeOptions', chromeOptions);
var driver = new webdriver.Builder().withCapabilities(chromeCapabilities).build();

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF


To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

fatihacet /
Last active Aug 29, 2015 — forked from burakcan/Coffee
class FlipCounterView extends KDView
constructor : (options = {}, data = {}) -> ?= "dark"
options.from ?= 5000 ?= 10000
options.interval ?= 1000
options.step ?= 1
options.autoStart ?= yes
options.direction = if options.from < then "up" else "down"
options.digits ?= if options.direction is "up" then else options.from.toString().length
fatihacet / getdomcount.js
Created Oct 14, 2011 — forked from dashersw/getdomcount.js
get dom element counts by tag name with jquery
View getdomcount.js
var tags = {};
$("*").each(function(item) {
if (!tags[this.tagName]) {
tags[this.tagName] = 0;
fatihacet / simple-aop.js
Created Apr 14, 2011 — forked from anonymous/gist:666343
simple aop in javascript
View simple-aop.js
var fio = {};
fio.deneme = function(xxx){
var oldfunction = fio.deneme;
fio.deneme = function(){
You can’t perform that action at this time.