Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Nazmul Haque Nazmul56

🎯
Focusing
Block or report user

Report or block Nazmul56

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View androidStudioCommandLine.txt
######################################################
Install APK From PC to Android Device or Emulator
######################################################
C:\Users\Nazmul\AppData\Local\Android\Sdk\platform-tools>
adb install -r app-release.apk
@Nazmul56
Nazmul56 / SumRowColumn.cpp
Created Jul 4, 2018
Sum Of Row and Column
View SumRowColumn.cpp
#include <iostream>
#include <stdio.h>
using namespace std;
int main()
{
int R; int C;
int inputArray[100][100] = {0};;
int tc;
View RegularExpression.java
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";
View sdpMung.js
// 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,
View VideoCodecFix.js
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);
});
@Nazmul56
Nazmul56 / Base.java
Created Aug 29, 2017
Salut Sample Activity
View Base.java
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;
View Timer.java
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;
View linefollow.c
/*------ 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()
View AndroidManifeast.xml
<?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 -->
View DataBaseHelper.java
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;
You can’t perform that action at this time.