Skip to content

Instantly share code, notes, and snippets.

View Nazmul56's full-sized avatar
🎯
Focusing

Nazmul Haque Nazmul56

🎯
Focusing
View GitHub Profile
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;
/*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>
<?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 -->
/*------ 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()
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;
@Nazmul56
Nazmul56 / Base.java
Created August 29, 2017 04:51
Salut Sample Activity
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;
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);
});
// 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,
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";
@Nazmul56
Nazmul56 / SumRowColumn.cpp
Created July 4, 2018 07:45
Sum Of Row and Column
#include <iostream>
#include <stdio.h>
using namespace std;
int main()
{
int R; int C;
int inputArray[100][100] = {0};;
int tc;