Skip to content

Instantly share code, notes, and snippets.

View nmabhinandan's full-sized avatar
🏠
Working from home

Abhinandan nmabhinandan

🏠
Working from home
View GitHub Profile
@nmabhinandan
nmabhinandan / IntelXDK.desktop
Created February 26, 2014 07:49
Intel XDK Gnome shell entry
[Desktop Entry]
Name=Intel XDK
Exec=/opt/intel/XDK/xdk.sh
StartupNotify=true
Terminal=false
Type=Application
Icon=/opt/intel/XDK/xdk.png
#http://www.juic3.com/static/images/xdk.png
Catogary=Development
@nmabhinandan
nmabhinandan / AzureTableStore.php
Created May 9, 2014 05:43
Using Azure Table storage as Larave cache
<?php
use Illuminate\Cache\StoreInterface;
use Illuminate\Config;
use WindowsAzure\Common\ServicesBuilder;
use WindowsAzure\Common\ServiceException;
use WindowsAzure\Table\Models\Entity;
use WindowsAzure\Table\Models\EdmType;
class AzureTableStore implements StoreInterface{
@nmabhinandan
nmabhinandan / flexboxgrid.less
Created October 1, 2014 19:11
Grid based on CSS3 flexbox (LESS version) http://flexboxgrid.com
.grid {
padding-right: 2rem;
padding-left: 2rem;
}
.row {
-moz-box-sizing: border-box;
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@nmabhinandan
nmabhinandan / gulpfile.js
Last active August 29, 2015 14:13
My gulp runner
var gulp = require('gulp');
var elixir = require('laravel-elixir');
var concat = require('gulp-concat');
var compass = require('gulp-compass');
var filter = require('gulp-filter');
var mainBowerFiles = require('main-bower-files');
var browserSync = require('browser-sync');
var order = require("gulp-order");
// var notify = require("gulp-notify");
@nmabhinandan
nmabhinandan / _material_colors.scss
Last active August 29, 2015 14:14
SASS Material design color palette
// Material design color palette
// License: MIT
$md-red: #F44336;
$md-pink: #E91E63;
$md-purple: #6C27B0;
$md-deep-purple: #673AB7;
$md-indigo: #3F51B5;
$md-blue: #2196F3;
$md-light-blue: #03A9F4;
@nmabhinandan
nmabhinandan / .travis.yml
Last active April 28, 2017 15:45
Testing ES6 using Mocha by transpiling (using babel) into AMD(RequireJS) on PhantomJS.
language: node_js
node_js:
- '0.10'
- '0.11'
- '0.12'
- 'iojs-v1.7.1'
matrix:
allow_failures:
@nmabhinandan
nmabhinandan / gulpfile.js
Last active March 19, 2017 18:49
Express Nodemon BrowserSync Gulp
var gulp = require('gulp');
var babel = require('gulp-babel');
var uglify = require('gulp-uglify');
var sass = require('gulp-sass');
var sourcemaps = require("gulp-sourcemaps");
var postcss = require('gulp-postcss');
var autoprefixer = require('autoprefixer');
var cssnano = require('cssnano');
var nodemon = require('gulp-nodemon');
var path = require('path');
@nmabhinandan
nmabhinandan / init.coffee
Created September 18, 2015 10:54
Godep save command for atom text editor. (~/.atom/init.coffee)
atom.commands.add 'atom-text-editor', 'godep:save', =>
sys = require('sys')
exec = require('child_process').exec
godep_save_cmd = "godep save -r"
child = exec godep_save_cmd, (error, stdout, stderr) ->
console.log('\ngodep stdout: ' + stdout);
console.log ('\ngodep stderr: ' + stderr);
if error

Keybase proof

I hereby claim:

  • I am nmabhinandan on github.
  • I am nmabhinandan (https://keybase.io/nmabhinandan) on keybase.
  • I have a public key whose fingerprint is 1473 109C EFCF 4FB2 5301 5AFD 1F44 8457 24C8 583F

To claim this, I am signing this object:

@nmabhinandan
nmabhinandan / main.c
Last active January 13, 2017 10:44
Integer array implementation in C
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
typedef struct __array__
{
int* data;
int capacity;
int size;
int max;