This instruction is tested on Ubuntu 22.04 LTS
- UDP 4500
- UDP 500
- Custom protocol 50
@Composable | |
private fun VideoPlayer(modifier: Modifier = Modifier) { | |
val context = LocalContext.current | |
val exoPlayer = remember { | |
ExoPlayer.Builder(context) | |
.apply { | |
setSeekBackIncrementMs(PLAYER_SEEK_BACK_INCREMENT) | |
setSeekForwardIncrementMs(PLAYER_SEEK_FORWARD_INCREMENT) |
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.packagename"> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> | |
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> | |
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> | |
<application |
<?php | |
$countries = array( | |
array('name' => 'Afghanistan','iso_alpha2' => 'AF','iso_alpha3' => 'AFG','iso_numeric' => '4','calling_code' => '93','currency_code' => 'AFN','currency_name' => 'Afghani','currency_symbol' => '؋'), | |
array('name' => 'Albania','iso_alpha2' => 'AL','iso_alpha3' => 'ALB','iso_numeric' => '8','calling_code' => '355','currency_code' => 'ALL','currency_name' => 'Lek','currency_symbol' => 'Lek'), | |
array('name' => 'Algeria','iso_alpha2' => 'DZ','iso_alpha3' => 'DZA','iso_numeric' => '12','calling_code' => '213','currency_code' => 'DZD','currency_name' => 'Dinar','currency_symbol' => ''), | |
array('name' => 'American Samoa','iso_alpha2' => 'AS','iso_alpha3' => 'ASM','iso_numeric' => '16','calling_code' => '1684','currency_code' => 'USD','currency_name' => 'Dollar','currency_symbol' => '$'), | |
array('name' => 'Andorra','iso_alpha2' => 'AD','iso_alpha3' => 'AND','iso_numeric' => '20','calling_code' => '376','currency_code' => 'EUR','currency_name' => 'Euro','currency_symbol' => '€'), | |
array |
{ | |
"countries": { | |
"country": [ | |
{ | |
"countryCode": "AD", | |
"countryName": "Andorra", | |
"currencyCode": "EUR", | |
"population": "84000", | |
"capital": "Andorra la Vella", | |
"continentName": "Europe" |
# Useful for testing things that are time zone | |
# sensitive - like scheduling things | |
# Get current timezone | |
sudo systemsetup -gettimezone | |
# Get list of available timezones | |
sudo systemsetup -listtimezones | |
# Set the timezone to the selected timezone |
[ | |
{ | |
"Flag": "https://www.currencyremitapp.com/wp-content/themes/currencyremitapp/images/countryimages/albania.png", | |
"CountryName": "Albania", | |
"Currency": "Lek", | |
"Code": "ALL", | |
"Symbol": "Lek" | |
}, | |
{ | |
"Flag": "https://www.currencyremitapp.com/wp-content/themes/currencyremitapp/images/countryimages/afghanistan.png", |
rm *.pem | |
rm *.srl | |
rm *.cnf | |
# 1. Generate CA's private key and self-signed certificate | |
openssl req -x509 -newkey rsa:4096 -days 365 -nodes -keyout ca-key.pem -out ca-cert.pem -subj "/C=FR/ST=Occitanie/L=Toulouse/O=Test Org/OU=Test/CN=*.test/[email protected]" | |
echo "CA's self-signed certificate" | |
openssl x509 -in ca-cert.pem -noout -text |