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 = webdriver.Capabilities.chrome();
//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();
View GIF-Screencast-OSX.md

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

Instructions

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

@fatihacet
fatihacet / flipcounterview.coffee
Last active Aug 29, 2015 — forked from burakcan/Coffee
FlipCounterView
View flipcounterview.coffee
class FlipCounterView extends KDView
constructor : (options = {}, data = {}) ->
options.style ?= "dark"
options.from ?= 5000
options.to ?= 10000
options.interval ?= 1000
options.step ?= 1
options.autoStart ?= yes
options.direction = if options.from < options.to then "up" else "down"
options.digits ?= if options.direction is "up" then options.to.toString().length else options.from.toString().length
@fatihacet
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;
}
tags[this.tagName]++;
});
console.dir(tags);
@fatihacet
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){
alert(xxx);
}
var oldfunction = fio.deneme;
fio.deneme = function(){
You can’t perform that action at this time.