This file contains hidden or 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
| #include <bits/stdc++.h> //this will inlcude all the header files commonly used in programming contets doesn't work out side of contests | |
| using namespace std; | |
| #define rep(i, a, b) for (int i = a; i < (b); ++i) | |
| #define trav(a, x) for (auto &a : x) | |
| #define all(x) x.begin(), x.end() | |
| #define sz(x) (int)(x).size() | |
| typedef long long ll; //just for convinence you don't have to type long long every time | |
| typedef pair<int, int> pii; |
This file contains hidden or 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
| .home-main-slider{ | |
| position: relative; | |
| display: block; | |
| background-color: aqua; | |
| height: 300px; | |
| width: 100%; | |
| } | |
| .shadow{ | |
| box-shadow: 0 5px 10px 0 rgba(153,153,153,0.5); /* reusable class for box-shadow*/ |
This file contains hidden or 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
| package com.it.streamin; | |
| import java.io.IOException; | |
| import java.net.ServerSocket; | |
| import android.net.nsd.NsdManager; | |
| import android.net.nsd.NsdServiceInfo; | |
| import android.os.Bundle; | |
| import android.app.Activity; | |
| import android.content.Context; |
This file contains hidden or 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
| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="com.it.streamin" | |
| android:versionCode="1" | |
| android:versionName="1.0" > | |
| <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> | |
| <uses-permission | |
| android:name="android.permission.ACCESS_WIFI_STATE" | |
| android:required="true" /> |