Skip to content

Instantly share code, notes, and snippets.

View mohamad-supangat's full-sized avatar
:shipit:
Working from home

Mohmad Supangat mohamad-supangat

:shipit:
Working from home
View GitHub Profile
[
{"name": "Afghanistan", "code": "AF"},
{"name": "Åland Islands", "code": "AX"},
{"name": "Albania", "code": "AL"},
{"name": "Algeria", "code": "DZ"},
{"name": "American Samoa", "code": "AS"},
{"name": "AndorrA", "code": "AD"},
{"name": "Angola", "code": "AO"},
{"name": "Anguilla", "code": "AI"},
{"name": "Antarctica", "code": "AQ"},
@mohamad-supangat
mohamad-supangat / container-bg-image.dart
Created October 20, 2020 02:17 — forked from xxGus/container-bg-image.dart
Flutter Container background image
class BaseLayout extends StatelessWidget{
@override
Widget build(BuildContext context){
return Scaffold(
body: Container(
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage("assets/images/bulb.jpg"),
fit: BoxFit.cover,
),
@mohamad-supangat
mohamad-supangat / Email Server (Linux, Unix, Mac).md
Created November 27, 2020 03:19 — forked from raelgc/Email Server (Linux, Unix, Mac).md
Setup a Local Only SMTP Email Server (Linux, Unix, Mac)

Setup a Local Only SMTP Email Server (Linux, Unix, Mac)

1 - Point localhost.com to your machine

Most of programs will not accept an email using just @localhost as domain. So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:

127.0.0.1 localhost.com

2 - Install Postfix

@mohamad-supangat
mohamad-supangat / Menjalankan physical hardisk di virtualbox.mdgistfile1.txt
Last active December 17, 2020 03:21
Menjalankan physical hardisk di virtualbox
# Fixing disk readonly
In summary:
To gain full hard drive access in a VBox guest on Win7 host
0. close all open programs or documents on any partition on the disk to pass-through
1. run DISKPART (command line utility)*
2. select hard drive carefully using SELECT DISK. disk numbering starts at zero. you can roughly verify your selection with LIST PARTITION if you know what your partitions should look like or LIST DISK to see disk sizes.
3. offline the disk using OFFLINE DISK. all volumes will disappear from windows explorer.
@mohamad-supangat
mohamad-supangat / Crack Sublime Text Windows and Linux.md
Created May 29, 2021 09:02 — forked from JerryLokjianming/Crack Sublime Text Windows and Linux.md
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

YouTube Channel https://www.youtube.com/c/jerrylokjianming


How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
printf '\00\00\00' | dd of=sublime_text bs=1 seek=290764 count=3 conv=notrunc
https://www.google.com/search?q=%22EA7E-890007%22
@mohamad-supangat
mohamad-supangat / patch.sh
Created June 11, 2021 01:06 — forked from rufoa/patch.sh
sublime merge 2 build 2056 linux
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
target="${1:-/opt/sublime_merge/sublime_merge}"
check_sha() {
local sha_valid
@mohamad-supangat
mohamad-supangat / auto_wifi.sh
Last active February 7, 2022 02:38
Android auto connect to wifi from shell
#!/system/bin/sh
# i use https://github.com/steinwurf/adb-join-wifi for auto connect to wifi
# tanks
# wait for boot to finish completely
while [[ `getprop sys.boot_completed` -ne 1 ]]
do
sleep 1
done
@mohamad-supangat
mohamad-supangat / README.md
Created December 10, 2021 02:53 — forked from nemanjan00/README.md
Disabling Android Setup wizard

Disabling Android Setup wizard

To disable setup wizard:

mv /system/priv-app/SetupWizard/SetupWizard.apk /system/priv-app/SetupWizard/SetupWizard.apk.bkp

To make device think setup is done:

Android - Enable ADB from recovery

Credits to @TheOnlyAnil-@Firelord[^stackoverflow]

  • Requirements: a) stock recovery + rooted phone b) custom recovery

  • Files changed: