HOW DOES DNS LOOKUP WORK? Get link Facebook X Pinterest Email Other Apps - October 07, 2017 You must have always thought of how does google chrome or any browser find you the information from and show it to you. Here's a wonderful link to understand. https://howdns.works Hope you enjoy and like it! Get link Facebook X Pinterest Email Other Apps Comments
SINGLE LOOP SORTING TECHNIQUE - November 09, 2017 #include <bits/stdc++.h> using namespace std; int main() { int i,n,num,temp,til; vector<int> a; cin>>n; for(i=0;i<n;i++) { cin>>num; a.push_back(num); } til=n; for(i=0;i<til-1;i++) { if(a[i]>a[i+1]) { temp=a[i]; a[i]=a[i+1]; a[i+1]=temp; } if(i==til-2) { for(i=0;i<n;i++) ... Read more
Pulling our code down on PythonAnywhere For Python-Django - October 07, 2017 Create your account on www.pythonanywhere.com and then go to Bash Shell. PythonAnywhere command-line $ git clone https://github.com/<your-github-username>/<repo-name>.git PythonAnywhere command-line $ cd repo-name $ virtualenv --python=python3.6 myvenv Running virtualenv with interpreter /usr/bin/python3.6 [...] Installing setuptools, pip...done. $ source myvenv/bin/activate (myvenv) $ pip install django Collecting django [...] Successfully installed django-1.11. (mvenv) $ python manage.py migrate Operations to perform: [...] Applying sessions.0001_initial... OK (mvenv) $ python manage.py createsuperuser Read more
HOW TO TAKE INPUT TILL NEWLINE - October 12, 2017 #include<bits/stdc++.h> using namespace std; int main() { string line; int i=0,r; vector<int> a; getline(cin,line); istringstream iss(line); while(iss>>r) { a.push_back(r); } for(i=0;i<a.size();i++) cout<<a[i]<<" "; return 0; } Read more
Comments
Post a Comment