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
ackage com.droidking.nazmul.librarymanagementsystem; | |
import android.content.ContentValues; | |
import android.content.Context; | |
import android.database.Cursor; | |
import android.database.sqlite.SQLiteDatabase; | |
import android.database.sqlite.SQLiteOpenHelper; | |
import java.sql.SQLException; | |
import java.text.ParseException; |
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
/*created by Mostafa Zaghloul with a helper library called RedBot.h you can find | |
* it on this link https://github.com/sparkfun/RedBot | |
*--------------------------- thanks a million --------------------------------- | |
*you can find me on | |
*FaceBook::https://www.facebook.com/mostafa.zaghlol3 | |
*Twitter::https://twitter.com/Mostafazaghlul | |
*to Contact for hardware or software questions | |
*/ | |
#include <RedBot.h> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.weblinkstech.newhindivideosongs" | |
android:versionCode="17" | |
android:versionName="1.7" > | |
<uses-sdk android:minSdkVersion="16" | |
android:targetSdkVersion="25" /> | |
<!-- Always Required to get content and check if internet is available --> |
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
/*------ Program for Line Follower Robot using Arduino----- */ | |
/*-------definning Inputs------*/ | |
#define LS 2 // left sensor | |
#define RS 3 // right sensor | |
/*-------definning Outputs------*/ | |
#define LM1 4 // left motor | |
#define LM2 5 // left motor | |
#define RM1 6 // right motor | |
#define RM2 7 // right motor | |
void setup() |
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
package com.example.hp.animationonrecyclerview; | |
import android.os.Handler; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.support.v7.widget.LinearLayoutManager; | |
import android.support.v7.widget.RecyclerView; | |
import java.util.ArrayList; | |
import java.util.List; |
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
package com.peak.pricey; | |
import android.support.v7.app.ActionBarActivity; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.view.Menu; | |
import android.view.MenuItem; | |
import android.view.View; | |
import android.widget.Button; | |
import android.widget.Toast; |
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
var prioritizeVideoCodecs; | |
var prioritizeAudioCodecs; | |
//On peer Connection | |
this.pc.on('offer', function (offer) { | |
offer = prioritizeVideoCodecs(offer); | |
offer = prioritizeAudioCodecs(offer); | |
if (self.parent.config.nick) offer.nick = self.parent.config.nick; | |
self.send('offer', offer); | |
}); |
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
// Helper method to munge an SDP to enable simulcasting (Chrome only) | |
function mungeSdpForSimulcasting(sdp) { | |
// Let's munge the SDP to add the attributes for enabling simulcasting | |
// (based on https://gist.github.com/ggarber/a19b4c33510028b9c657) | |
var lines = sdp.split("\r\n"); | |
var video = false; | |
var ssrc = [-1], | |
ssrc_fid = -1; | |
var cname = null, | |
msid = null, |
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 java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
public class RegexMatches { | |
public static void main( String args[] ) { | |
// String to be scanned to find the pattern. | |
String line = "a=sendrecv a=rtcp-mux a=rtcp-rsize a=rtpmap:96 VP8 90000 a=rtcp-fb:96 goog-remb a=rtpmap:96 VP8 90001 a=rtpmap:96 VP8 90002"; | |
String codec = "VP8"; |
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
#include <iostream> | |
#include <stdio.h> | |
using namespace std; | |
int main() | |
{ | |
int R; int C; | |
int inputArray[100][100] = {0};; | |
int tc; |