Skip to content

Instantly share code, notes, and snippets.

View imraneshanbd's full-sized avatar
🥰

Md. Imran Hossain imraneshanbd

🥰
View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.example.myapplication">
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
from requests import get
ip = get('https://api.ipify.org').text
print('My public IP address is: {}'.format(ip))
import os
externalIP = os.popen('curl -s ifconfig.me').readline()