Skip to content

Instantly share code, notes, and snippets.

View smamran's full-sized avatar
:octocat:
Focusing

S. M. AMRAN smamran

:octocat:
Focusing
View GitHub Profile
@smamran
smamran / ahlehaqmedia.md
Last active September 17, 2023 10:21
আহলে হক মিডিয়া সাইটের সকল প্রশ্ন
[
{
"title":"মেসওয়াকের ফযীলত এবং তা কতটুকু লম্বা হতে হবে?",
"link":"https://ahlehaqmedia.com/11064/"
}, {
"title":"হারাম কাজে ডেকোরেশন সামগ্রী ভাড়া দেয়া যাবে কি?",
"link":"https://ahlehaqmedia.com/11043/"
}, {
"title":"বাবা মাকে না জানিয়ে বিয়ে ও বিবাহপূর্ব গোনাহ থেকে তওবার বিধান!",
"link":"https://ahlehaqmedia.com/11055/"
@smamran
smamran / enable_nativebridge
Created April 9, 2020 15:41 — forked from uzxmx/enable_nativebridge
android x86 /system/bin/enable_nativebridge
#!/system/bin/sh
PATH=/system/bin:/system/xbin
houdini_bin=0
dest_dir=/system/lib$1/arm$1
binfmt_misc_dir=/proc/sys/fs/binfmt_misc
if [ -z "$1" ]; then
if [ "`uname -m`" = "x86_64" ]; then
@smamran
smamran / Ubuntu Software.md
Created April 4, 2016 13:40
Ubuntu Softwares

JDK 8/9 install

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java9-installer


sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
@smamran
smamran / Java 8 Thread.md
Last active June 5, 2016 12:05
Java 8 Thread Creation

Java 8 Thread Create

class Main
{
    public static void main(String args[])
    {
        Runnable task = () -> {
            String threadName = Thread.currentThread().getName();
            System.out.println(threadName);
 };
@smamran
smamran / Pthread Qt.md
Created March 2, 2016 12:25
Pthread Qt

C Project

Proj.pro

QMAKE_CXXFLAGS += -std=c++0x -pthread
LIBS += -pthread

main.c

#include <stdio.h>
#include <stdlib.h>
@smamran
smamran / MinGW Compatible VCC 11 Headers.md
Created March 1, 2016 07:06
MinGW Compatible VCC 11 Headers

C++ MinGW & VCC 11 Compatible Headers

// Utilities library
#include <cstdlib>	// General purpose utilities: program control, dynamic memory allocation, random numbers, sort and search
#include <csignal>	// Functions and macro constants for signal management
#include <csetjmp>	// Macro (and function) that saves (and jumps) to an execution context
#include <cstdarg>	// Handling of variable length argument lists
#include <typeinfo>	// Runtime type information utilities
#include <typeindex>   // (since C++11)	std::type_index
#include <type_traits> // (since C++11)	Compile-time type information
@smamran
smamran / Visual C++ 11 Headers.md
Created February 23, 2016 08:48
Visual C++ 11

Visual C++ All Headers

// Utilities library
#include <cstdlib>	// General purpose utilities: program control, dynamic memory allocation, random numbers, sort and search
#include <csignal>	// Functions and macro constants for signal management
#include <csetjmp>	// Macro (and function) that saves (and jumps) to an execution context
#include <cstdarg>	// Handling of variable length argument lists
#include <typeinfo>	// Runtime type information utilities
#include <typeindex>   // (since C++11)	std::type_index
#include <type_traits> // (since C++11)	Compile-time type information
@smamran
smamran / Android.md
Last active January 20, 2017 15:07
Android

Stores temporary apks after installation

>> /data/local/tmp
@smamran
smamran / msbuild.md
Last active May 24, 2016 08:57
msbuild

Parallel Build MsBuild Solution File

>> msbuild /p:Configuration=Release BigProj.sln /m
  [ /m = Parallel Build]

Build Universal Window Program From Command Line

>> MSBuild mysolution.sln  /p:Configuration=Release;AppxBundle=Always;AppxBundlePlatforms="x86|x64|ARM"