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
Q 1 - In a Hadoop cluster, what is true for a HDFS block that is no longer available due to disk corruption or machine failure? | |
B - It can be replicated form its alternative locations to other live machines. | |
Q 2 - Which one of the following is not a main component of HBase? | |
B - Nagios. | |
Q 3 - When a client communicates with the HDFS file system, it needs to communicate with | |
C - both the namenode and datanode | |
Q 4 - Which of the following is not a Hadoop operation mode? |
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
<html xmlns:tomboy="http://beatniksoftware.com/tomboy" xmlns:size="http://beatniksoftware.com/tomboy/size" xmlns:link="http://beatniksoftware.com/tomboy/link"><head><META http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Business Logic Note from 2017-11-15 09:47:06.440</title><style type="text/css"> | |
body { } | |
h1 { font-size: xx-large; | |
font-weight: bold; | |
border-bottom: 1px solid black; } | |
div.note { | |
position: relative; | |
display: block; | |
padding: 5pt; | |
margin: 5pt; |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>in.intellisights</groupId> | |
<artifactId>HibernateExample</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>HibernateExample</name> |
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
'''Inverse Birthday Problem''' | |
__author__ = 'yogesh' | |
DAYS = 366 | |
def get_number_of_people(probability): | |
''' | |
get_number_of_people takes in a minimum probability that should be satisfied and gives the | |
number of people who should be present to satisfied this condition |
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
Compiled from "LoopTesting.java" | |
public class LoopTesting.LoopTesting { | |
public LoopTesting.LoopTesting(); | |
Code: | |
0: aload_0 | |
1: invokespecial #1 // Method java/lang/Object."<init>":()V | |
4: return | |
public static void main(java.lang.String[]); | |
Code: |
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
package LoopTesting; | |
public class LoopTesting { | |
public static void main(String[] args) { | |
for (int i=0; i<10; i++) { | |
System.out.println("hello++"); | |
} | |
for (int j=0; j<10; j+=1) { |
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
# Refer - http://ais.informatik.uni-freiburg.de/teaching/ss11/ki/exercises/search.py | |
#! /usr/bin/env python | |
""" | |
This is a solution to the Missionaries and Cannibalis problem. | |
Uses a breadth first search and the representation as described | |
in the lecture. Call without any arguments | |
$ ./search.py | |
to search for a solution from the initial state (3,3,1). |
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
// | |
// DhwaniBoardViewController.swift | |
// DhwaniBoard | |
// | |
// Created by Yogesh on 05/10/2014. | |
// Copyright (c) 2014 appcodr. All rights reserved. | |
// | |
import Foundation | |
import UIKit |
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
// | |
// DhwaniBoardViewController.swift | |
// DhwaniBoard | |
// | |
// Created by Yogesh on 05/10/2014. | |
// Copyright (c) 2014 appcodr. All rights reserved. | |
// | |
import Foundation | |
import UIKit |
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 node | |
/* | |
Automatically grade files for the presence of specified HTML tags/attributes. | |
Uses commander.js and cheerio. Teaches command line application development | |
and basic DOM parsing. | |
References: | |
+ cheerio | |
- https://github.com/MatthewMueller/cheerio |
NewerOlder