Skip to content

Instantly share code, notes, and snippets.

@ayhaadam
ayhaadam / mixin.scss
Created November 18, 2015 02:49
Sass Bootstrap Media Queries Mixin
/*========== Mobile First Method ==========*/
/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
}
/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
@ayhaadam
ayhaadam / test.c
Created September 21, 2015 06:21
test
#include <cv.h>
#include <highgui.h>
#include <stdio.h>
#include <stdlib.h>
int HistogramBins = 256;
float HistogramRange1[2]={0,255};
float *HistogramRange[1]={&HistogramRange1[0]};
int main()
@ayhaadam
ayhaadam / gist:65cc4f29ca4b5ec43fa4
Created January 20, 2015 02:47
Apple's Font Smoothing
body, input, textarea, select, button {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-moz-font-feature-settings: "liga", "kern";
}
@ayhaadam
ayhaadam / Get 400*640 Dappei Photo
Last active December 23, 2015 01:09
Dappei bookmarklet
javascript:var photo_url = $(".photo img").prop('src'); window.open(photo_url);
@ayhaadam
ayhaadam / Git.sublime-settings
Created August 13, 2013 03:35
Git plug-in for Sublime Text 2 Setting
{
"git_command": "/usr/local/git/bin/git"
}