Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Focusing

S. M. AMRAN smamran

:octocat:
Focusing
View GitHub Profile
@smamran
smamran / ahlehaqmedia.md
Last active Sep 6, 2021
আহলে হক মিডিয়া সাইটের সকল প্রশ্ন
View ahlehaqmedia.md
View alehaqmedia.json
[
{
"title":"মেসওয়াকের ফযীলত এবং তা কতটুকু লম্বা হতে হবে?",
"link":"https://ahlehaqmedia.com/11064/"
}, {
"title":"হারাম কাজে ডেকোরেশন সামগ্রী ভাড়া দেয়া যাবে কি?",
"link":"https://ahlehaqmedia.com/11043/"
}, {
"title":"বাবা মাকে না জানিয়ে বিয়ে ও বিবাহপূর্ব গোনাহ থেকে তওবার বিধান!",
"link":"https://ahlehaqmedia.com/11055/"
@smamran
smamran / enable_nativebridge
Created Apr 9, 2020 — forked from uzxmx/enable_nativebridge
android x86 /system/bin/enable_nativebridge
View 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
View windows-cmd.md

🔫 🗡 Windows Commands 💣

🔪🔧 Create a New File 🗡🔨

>> NUL > file.txt

🔪🔧 Check Which Process is Listening Which Port 🗡🔨

>> Run cmd.exe as Administrator
>> netstat -a -b
View Ubuntu Software.md

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
View GitHub languages.yml
# 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
View Android.md

Stores temporary apks after installation

>> /data/local/tmp
@smamran
smamran / Java Command.md
Last active Nov 22, 2016
Java Command Line
View Java Command.md

🔫 🗡 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 Oct 24, 2016
ubuntu commands
View ubuntu commands.md

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)
View Visual Studio 2015 Config.md

Disable Pragma Warning

>> #pragma warning(disable : 4996)