Skip to content

Instantly share code, notes, and snippets.

View MuntashirAkon's full-sized avatar
🚫
Not available

Muntashir Al-Islam MuntashirAkon

🚫
Not available
View GitHub Profile
@MuntashirAkon
MuntashirAkon / guidelines.md
Last active February 23, 2026 01:10
Community guidelines for App Manager | Chat

Rules

  1. No PM to the maintainer/moderators without prior permission
  2. No spams, promotions and advertisements of any kind
  3. No NSFW or politics
  4. No crash reports in plain message (save it to a file and upload it)

Recommendations

  1. Keep messages clear and concise
@MuntashirAkon
MuntashirAkon / github-blacklist.md
Last active February 22, 2026 23:13
List of users that were blocked and the reason for blocking them
Username Name Date Reason
@brewmaster396 N/A 05 November 2022 Made offensive comment (here)
@drogga N/A Around 2023 Multiple offences: creates a fork just to mention the maintainers/other users, makes offensive comments if someone goes against them, sends emails containing offensive comments
@CamsShaft Cam 08 Apr 2024 Made an offensive comment and deleted it (here)
@GerbillLife N/A 01 Jun 2025 Cleared at least two issues (here and here) with history without explanation
@Worongodd1337 N/A 04 Jun 2025 Suspected [spammer](h
@MuntashirAkon
MuntashirAkon / macos-terminal-proxy.md
Last active December 17, 2025 09:19
Guide to enable macOS Terminal to respect system proxy

Copy and paste the code below at the beginning of ~/.bash_profile.

export http_proxy=`scutil --proxy | awk '\
  /HTTPEnable/ { enabled = $3; } \
  /HTTPProxy/ { server = $3; } \
  /HTTPPort/ { port = $3; } \
  END { if (enabled == "1") { print "http://" server ":" port; } }'`
export HTTP_PROXY="${http_proxy}"
export https_proxy=`scutil --proxy | awk '\
@MuntashirAkon
MuntashirAkon / cs153_lab3_test.c
Last active November 4, 2025 04:05
For CS 153 course at UCR
#include "types.h"
#include "user.h"
int test(int n) {
int x = n + 1;
return x;
}
int test2(int n) {
int a[1013] = {0};
@MuntashirAkon
MuntashirAkon / cs153_lab2_test.c
Created October 20, 2025 01:06
For CS 153 course at UCR
#include "types.h"
#include "user.h"
int PScheduler(void);
int main(int argc, char *argv[]) {
PScheduler();
exit();
}
@MuntashirAkon
MuntashirAkon / cs153_lab1_test.c
Last active October 6, 2025 21:49
For CS 153 course at UCR
#include "types.h"
#include "user.h"
#define WNOHANG 1
int main(int argc, char *argv[]) {
int getParent(void);
int exitWait(void);
int waitPid(void);
int waitNothing(void);
@MuntashirAkon
MuntashirAkon / ECDH.java
Last active June 20, 2025 17:32 — forked from zcdziura/Crypto Test
Encryption using Elliptic Curves and Diffie-Hellman key exchanges
import java.io.UnsupportedEncodingException;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.Key;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.PrivateKey;
import java.security.PublicKey;
@MuntashirAkon
MuntashirAkon / weblate-blacklist.md
Created June 4, 2025 22:18
List of users that were blocked and the reason for blocking them
Username Name Date Reason
@tymkolt Tymofii Lytvynenko Around 2022 Suspected machine translation, abuse of search/replace function
@alichaper67 Ali Momeni 17 April 2022 Attempted to poison the Persian translations
@antoniorolon77 Antonio Rolon 28 June 2022 Attempted to insert spammy texts in Esperanto strings
@garik23313 Garik Inkognito 09 July 2022 Attempted to insert BTC address in the Disclaimer title
@id Haerul Fuad 05 September 2022 Attempted to put his Weblate username in a string. Looking at his profile, he appears to have done the same in many other projects, including the Weblate project itself. (Also, how did he managed to get an username called id in first p
@MuntashirAkon
MuntashirAkon / get_dpi_scale.ps1
Created May 14, 2025 21:45
Get DPI scale for the main display in Windows 11 (24H2). This is useful if you have different DPI scale for different displays and configure VcXsrv and GDK to scale windows correctly in WSL2.
Add-Type @'
using System;
using System.Runtime.InteropServices;
using System.Drawing;
public class DPI {
[DllImport("gdi32.dll")]
static extern int GetDeviceCaps(IntPtr hdc, int nIndex);
public enum DeviceCap {
@MuntashirAkon
MuntashirAkon / restrict_win_version.ps1
Created May 14, 2025 21:34
Restrict Window 11 version to the current Windows version to prevent any major updates (which often break stuffs). Security and quality updates will still be provided.
# Get current Windows DisplayVersion (e.g., 24H2)
$CurrentVersion = (Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").DisplayVersion
# Define the target registry path
$RegPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate"
# Create the registry key if it does not exist
if (-not (Test-Path $RegPath)) {
New-Item -Path $RegPath -Force | Out-Null
}