- 200 Ltrs water drum or cement tank.
- 200 Ltrs of water
- 10 Kg of indigenous desi Cow Dung
- 5 to 10 Ltrs of indigenous desi cow urine
- 1 Kg of black jaggery(smashed)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
classNames: 'chat-box', | |
didRender() { | |
if (this.get('isScrolledToBottom')) { | |
this.$('ul')[0].scrollTop = this.$('ul')[0].scrollHeight; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"C6F99": { | |
"downlinkData": "1" | |
}, | |
"C6F19": { | |
"downlinkData": "0" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// API return format is as so: | |
// { | |
// data: [ | |
// { | |
// name: 'foo' | |
// }, | |
// { | |
// name: 'bar' | |
// } | |
// ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title></title> | |
<meta name="description" content=""> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
The MIT License (MIT) | |
Copyright (c) 2013 [email protected] | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App.Person = Ember.Model.extend({ | |
id: Ember.attr(), | |
name: Ember.attr(), | |
addresses: Ember.hasMany(App.Address, {key: 'addresses'}) | |
}); | |
App.Address = Ember.Model.extend({ | |
id: Ember.attr(), | |
street: Ember.attr(), | |
person_id: Ember.attr(), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Routes() { | |
this.resource('register', {path: '/register'}); | |
this.resource('login', {path: '/login'}); | |
this.resource('logout', {path: '/logout'}); | |
this.resource('projects', {path: 'projects'}, function(){ | |
this.route('new', {path: '/new'}); | |
}); | |
this.resource('project', {path: 'projects/:project_id'}, function(){ | |
this.route('edit', {path: '/edit'}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app/routes.js | |
function Routes() { | |
this.resource('register', {path: '/register'}); | |
this.resource('login', {path: '/login'}); | |
this.resource('logout', {path: '/logout'}); | |
this.resource('projects', {path: '/projects'}); | |
this.resource('projectsNew', {path: '/projects/new'}); | |
this.resource('project', {path: '/projects/:project_id'}); | |
this.resource('projectEdit', {path: '/projects/:project_id/edit'}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var attr = Ember.attr, hasMany = Ember.hasMany, belongsTo = Ember.belongsTo; | |
var apiPrefix = '/api'; | |
App.CustomAdapter = Ember.RESTAdapter.extend({ | |
generateIdForRecord: function(record) { | |
var ch = "abcdefghiklmnopqrstuvwxyz"[Math.floor(25 * Math.random())]; | |
return ch+'xxxyxxx'.replace(/[xy]/g, function(c) { | |
var r, v; | |
r = Math.random() * 16 | 0; | |
v = c === 'x' ? r : r & 0x3 | 0x8; |