Created
December 12, 2018 12:35
-
-
Save atikmahbub/3bc5f4ec6935ca67b34028d80ab5fb66 to your computer and use it in GitHub Desktop.
Telenor Heath
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
gv |
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 urllib.request | |
ip = input("Enter Ip") | |
field_list = ["country"] | |
url = 'https://ipapi.co/{}/json/'.format(ip) | |
req = urllib.request.Request(url) | |
out = urllib.request.urlopen(req).read() | |
print(out) | |
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
1.adduser --disabled-password --gecos "" username | |
2.sudo visudo , $USER ALL=(ALL) NOPASSWD: ALL | |
3.mv ~/.ssh ~/.ssh.bak | |
mkdir ~/.ssh | |
4.$ ssh-keygen -C "vonc@xxxx" -t rsa | |
5.chmod 400 ~/.ssh/id_rsa | |
6.sudo chown sUserName |
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
Select St.Name | |
From ( Students St join Friends Fr using(ID) | |
join Packages A1 on St.ID=A1.ID | |
join Packages A2 on Fr.Friend_ID=A2.ID) | |
Where A2.Salary > A1.Salary | |
Order By A2.Salary; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment