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 / GitHub languages.yml
Created December 10, 2015 09:18
Markdown GitHub
# Defines all Languages known to GitHub.
#
# type - Either data, programming, markup, prose, or nil
# aliases - An Array of additional aliases (implicitly
# includes name.downcase)
# ace_mode - A String name of the Ace Mode used for highlighting whenever
# a file is edited. This must match one of the filenames in http://git.io/3XO_Cg.
# Use "text" if a mode does not exist.
# wrap - Boolean wrap to enable line wrapping (default: false)
# extensions - An Array of associated extensions (the first one is
@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 / windows-cmd.md
Last active April 28, 2017 17:18
windows-cmd

🔫 🗡 Windows Commands ⚛ 💣

🔪🔧 Create a New File 🗡🔨

>> NUL > file.txt

🔪🔧 Check Which Process is Listening Which Port 🗡🔨

>> Run cmd.exe as Administrator
>> netstat -a -b
@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 / Android.md
Last active January 20, 2017 15:07
Android

Stores temporary apks after installation

>> /data/local/tmp
@smamran
smamran / Java Command.md
Last active November 22, 2016 10:44
Java Command Line

🔫 🗡 Java Command Line ⚛ 💣

🐉 ☕ 🔪🔧 Compile Main Class in Different Directory 🗡🔨 🐉 ☕

>> javac main\Main.java
>> java main.Main.java

🐉 ☕ 🔪🔧 Create Jar 🗡🔨 🐉 ☕

src >> jar cvfe Main.jar main.Main main\*.class
@smamran
smamran / ubuntu commands.md
Last active October 24, 2016 13:55
ubuntu commands

Display Total Disk Size

$$ fdisk -l | grep Disk

Displays Size of Folder sorted according to size

$$ sudo du -sh .[!.]* *| sort -nr   (Including Subdirectories)
$$ sudo du -sh * | sort -nr         (Excluding Subdirectories)
@smamran
smamran / Visual Studio 2015 Config.md
Last active June 5, 2016 12:13
Visual Studio 2015

Disable Pragma Warning

>> #pragma warning(disable : 4996)