First things first !
sudo apt update
sudo apt upgrade
sudo apt-get install build-essential git
{ | |
"hadoop_src":"hadoop-2.7.1.tar.gz", | |
"hadoop_folder": "hadoop-2.7.1", | |
"hadoop_path": "Softi/hadoop-2.7.1", | |
"__comment" : "hadoop_path with respect home folder", | |
"core": [ | |
{ | |
"name": "fs.default.name", | |
"value": "hdfs://localhost:54310" | |
} |
#!/usr/bin/env python | |
p_table_1 = [ | |
[57,49,41,33,25,17, 9], | |
[ 1,58,50,42,34,26,18], | |
[10, 2,59,51,43,35,27], | |
[19,11, 3,60,52,44,36], | |
[63,55,47,39,31,23,15], | |
[ 7,62,54,46,38,30,22], | |
[14, 6,61,53,45,37,29], |
#include <iostream> | |
#include <string> | |
using namespace std; | |
int main () { | |
string num1, num2, res, len1; | |
cout << "Enter Number: "; cin >> num1; | |
cout << "Enter Number: "; cin >> num2; | |
int prime; |
#include <bits/stdc++.h> | |
#include <unistd.h> | |
using namespace std; | |
int USER = 1; | |
int COMPUTER = 0; | |
#define LEFT 0 | |
#define RIGHT 1 | |
#define UP 2 |
{ | |
"cmd": ["g++", "$file", "-o", "${file_path}/${file_base_name}"], | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.c", | |
"variants": | |
[ | |
{ | |
"name": "Run", | |
"shell": true, |
{ | |
"cmd": ["gcc", "$file", "-o", "${file_path}/${file_base_name}"], | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.c", | |
"variants": | |
[ | |
{ | |
"name": "Run", | |
"shell": true, |
I've seen many people got stuck at
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install <any-package>
these command despite of setting http_proxy or HTTP_PROXY. Since Ubuntu 15.10, it removed apt-get default proxy configuration. So to overcome this, create an proxy configuration file