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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Wed Dec 7 14:22:57 2016 | |
@author: rishabh | |
""" | |
import pandas as pd | |
import numpy as np |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Mon Nov 28 13:51:26 2016 | |
@author: rishabh | |
""" | |
import pandas as pd | |
import numpy as np |
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
const electron = require('electron') | |
// Module to control application life. | |
const app = electron.app | |
// Module to create native browser window. | |
const BrowserWindow = electron.BrowserWindow | |
let mainWindow | |
function createWindow () { | |
// This will create the browser window.Change the height/width according to th need. | |
mainWindow = new BrowserWindow({width: 800, height: 600}) |
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
{ | |
"name": "Electron_HelloWorld", | |
"version": "1.0.0", | |
"description": "Sample Application", | |
"main": "main.js", | |
"scripts": { | |
"start": "electron .", | |
"pack": "build --dir", | |
"dist": "build -mwl" | |
}, |
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
#!/usr/bin/env python | |
""" | |
Gives you Word of the Day with its meanings and partOfSpeech. | |
Uses Wordnik. | |
""" | |
import requests, time, json | |
api_key="YOUR_WORDNIK_API_KEY" #Get Here: http://developer.wordnik.com/ | |
date = time.strftime("%Y-%m-%d") |
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 os | |
import sys | |
args = sys.argv | |
l = len(args) | |
if l == 1: | |
repoPath = "." | |
elif l == 2: | |
repoPath = args[1] | |
else: |