Skip to content

Instantly share code, notes, and snippets.

@atikmahbub
Created December 12, 2018 12:35
Show Gist options
  • Save atikmahbub/3bc5f4ec6935ca67b34028d80ab5fb66 to your computer and use it in GitHub Desktop.
Save atikmahbub/3bc5f4ec6935ca67b34028d80ab5fb66 to your computer and use it in GitHub Desktop.
Telenor Heath
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)
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
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