import * as firebase from 'firebase';
const config = {
apiKey: "XXXXXXXXXXXXX",
authDomain: "XXXXXXXXm",
databaseURL: "XXXXXXXXm",
projectId: "expXXXXXXXXXXXXXXX39",
This file contains hidden or 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
| conda create --name bunnies python=3.5 astroid babel | |
| activate bunnies | |
| //to get all env details | |
| conda info --envs |
This file contains hidden or 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 delay () { | |
| return new Promise((res, rej) => { | |
| setTimeout(() => { | |
| rej(5); | |
| }, 3000) | |
| }) | |
| } | |
| const hof = (func) => { | |
| return func().catch((err) => { |
This file contains hidden or 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
| <?xml version="1.0" encoding="utf-8"?> | |
| <RelativeLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:paddingBottom="@dimen/activity_vertical_margin" | |
| android:paddingLeft="@dimen/activity_horizontal_margin" | |
| android:paddingRight="@dimen/activity_horizontal_margin" | |
| android:paddingTop="@dimen/activity_vertical_margin" |
This file contains hidden or 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
| jquery | |
| normalize.css | |
| D- gulp | |
| D- gulp-watch | |
| D- gulp-postcss | |
| D- autoprefixer | |
| D- postcss-simple-vars | |
| D- postcss-nested | |
| ====BEM- Intro==== |
This file contains hidden or 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
| Directives: | |
| //One Way Data Binding | |
| <a v-bind:href="link">Name</a> | |
| Render Once | |
| v-once // Eg: <h1 v-once> {{ title }} </h1> | |
| Render HTML Content | |
| v-html // Eg: <p v-html="link"></p> |
This file contains hidden or 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
| * Tokenisation - Break down word by word (including/ excluding punctuations). | |
| * Stop word Removal - like remove had a is while - (Words which provide structure) - Common Words | |
| * N-Grams - (Group of words occuring together) ex: New York is a BiGram | |
| * Word sense Diambiguation - Get meaning of workbased on context it occurs | |
| * Part of speech Tagging - tag with Noud adverb etc. | |
| * Stemming - Having different ending eg: Close or closer |
This file contains hidden or 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
| skype - dipak.consona | |
| email: [email protected] | |
| // Call / SMS code | |
| Titanium.UI.EmailDialog see examples | |
| ------CODE------ | |
| /** |
This file contains hidden or 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
| Ti.API.(info/debug/error)('window'); | |
| Ti.App.fireEvent('changeBg',{newcolor: 'red'}); | |
| Ti.App.addEventListener('changeBg',function(a){' | |
| view.backGroundColor = a.newcolor; | |
| }); | |
| //e.source.whichObj | |
| //saving JSON.XML Obj's //Saving Global Prop's /eg:OSname |
This file contains hidden or 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 win = Ti.UI.createWindow({ | |
| background:'My Window', | |
| }); | |
| var view = Ti.UI.createView({ | |
| backgroundColor: 'transparent', | |
| top: 0, | |
| left: 0, | |
| width: '100%', | |
| height: '100%', | |
| layout: 'vertical' |
NewerOlder