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 { combineReducers, createStore, applyMiddleware, compose } from 'redux' | |
import { reducer as appReducer } from './app/reducer' | |
const rootReducer = combineReducers({ | |
app: appReducer | |
}) | |
const logger = (store) => (next) => (action) => { | |
// console.log("Dispatching Action Logger1", action, store.getState()) | |
const value = next(action) |
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 runProgram(input) { | |
// Write code here | |
input = input.trim().split('\n') | |
let arr = input[0].trim().split(" ").map(Number) | |
console.log(arr[0] + arr[1]); | |
} | |
if (process.env.USER === "akash") { | |
runProgram(`5 10`); | |
} else { | |
process.stdin.resume(); |
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 | |
# -*- coding: utf-8 -*- | |
import os | |
import re | |
import requests | |
import sys | |
from Crypto.Cipher import AES | |