Skip to content

Instantly share code, notes, and snippets.

View atul161's full-sized avatar
👨‍💻
Coder | Ambivert | Team Lead ! Solving real world problems!

atul anand atul161

👨‍💻
Coder | Ambivert | Team Lead ! Solving real world problems!
  • Flam
  • Gurgaon
  • 11:15 (UTC -12:00)
View GitHub Profile
#!/bin/bash
# We don't need return codes for "$(command)", only stdout is needed.
# Allow `[[ -n "$(command)" ]]`, `func "$(command)"`, pipes, etc.
# shellcheck disable=SC2312
set -u
abort() {
printf "%s\n" "$@" >&2
@atul161
atul161 / uninstall_python3.MD
Created May 5, 2022 04:49 — forked from zhensongren/uninstall_python3.MD
How to uninstall python3 from Ubuntu

To list all python versions in default locations

ls /usr/bin/python*

To remove just python3 package

sudo apt-get remove python3.5

plus it's dependent packages

sudo apt-get remove --auto-remove python3.5

plus configuration and/or data files of python3

sudo apt-get purge python3.5

Crieteria Checklist
Information Gathering Manually explore the site
Spider/crawl for missed or hidden content
Check for files that expose content, such as robots.txt, sitemap.xml, .DS_Store
Check the caches of major search engines for publicly accessible sites
Check for differences in content based on User Agent (eg, Mobile sites, access as a Search engine Crawler)
Perform Web Application Fingerprinting
Identify technologies used
Identify user roles
Identify application entry points
<clickhouse>
<async_insert>1</async_insert>
<async_insert_max_data_size>100000000</async_insert_max_data_size>
</clickhouse>
#include<iostream>
using namespace std;
int main(){
//Normal variable declartaion which have value 10.
int i = 10;
//pointer declaration of int type and store the address of i variable
int *p = &i;
// value of i is 10
cout<<i;
//here p is pointer so it will print the address of i
#include<iostream>
using namespace std;
int main(){
int i = 10;
i = i +1 ;
cout<<i;
cout<<&i;
return 0;
}
#include<iostream>
using namespace std;
int main(){
int i = 10;
i = i + 10;
return 0;
}
#include<iostream>
using namespace std;
int main(){
int i = 10;
return 0;
}
1.Data is in name-value pairs.
"name": "john Gupta"
2. Commas always separate data.
"name": "john Gupta", "age": 12
3. Curly braces always hold the objects.
{ "name" : "john Gupta" , "age" : 12 }
4. Square brackets always hold an array.
employees":[
{ "firstName":" John", "Lastname":" Gupta" },
{ "firstName":"Anna", "last name:"Shrivastava" },
//This message contain all the information related employee
message Employee{
//name will be the name of an employee
string name = 1;
//id is the unique id for each employee
int32 id = 2;
string email = 3;
}