Skip to content

Instantly share code, notes, and snippets.

View muhammadsyamsudin's full-sized avatar

Muhammad Syamsudin muhammadsyamsudin

View GitHub Profile
@muhammadsyamsudin
muhammadsyamsudin / openwrt-on-proxmox.md
Created April 24, 2025 04:12 — forked from subrezon/openwrt-on-proxmox.md
How to set up an OpenWRT VM in Proxmox
  1. Go to OpenWRT release page, select the latest release stable release, then targets -> x86 -> 64. Right-click generic-ext4-combined.img.gz (not the "efi"!) and copy the link.

  2. On the Proxmox host, download the archive and unpack it:

wget *paste link here*
gunzip openwrt-*.img.gz
  1. Resize the image to be the size you want your VM's disk to be (example with 8 GiB):
@muhammadsyamsudin
muhammadsyamsudin / openwrt-efi-on-proxmox.md
Created April 24, 2025 03:18 — forked from ryuheechul/openwrt-efi-on-proxmox.md
How to "Install" an OpenWRT VM in Proxmox with UEFI

Existing references I looked at before I went on trial and error until eventually I managed to make it work:

Note

Although links above were good references to look at so I didn't have to start from scratch, following none of them actually worked for me. Hence, I'm leaving my own note after figuring things out.

My situation:

#include <AViShaWiFi.h>
const char* ssid = "WiFiName";
const char* pass = "WiFiPassword";
const char *url = "http://104.237.9.196:5055";
const char *id = "431212121";
AViShaWiFi wifi;
String latitude = "-6.5234367";
@muhammadsyamsudin
muhammadsyamsudin / index.html
Created May 19, 2022 15:28
Log In / Sign Up - pure css - #12
<a href="https://front.codes/" class="logo" target="_blank">
<img src="https://assets.codepen.io/1462889/fcy.png" alt="">
</a>
<div class="section">
<div class="container">
<div class="row full-height justify-content-center">
<div class="col-12 text-center align-self-center py-5">
<div class="section pb-5 pt-5 pt-sm-2 text-center">
@muhammadsyamsudin
muhammadsyamsudin / index.html
Created May 19, 2022 15:20
Responsive Signup/Login form
<div class="container">
<section id="formHolder">
<div class="row">
<!-- Brand Box -->
<div class="col-sm-6 brand">
<a href="#" class="logo">MR <span>.</span></a>
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js" ></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<div class="body">
<div class="veen">
<div class="login-btn splits">
<p>Already an user?</p>
<button class="active">Login</button>
</div>
<div class="rgstr-btn splits">
@muhammadsyamsudin
muhammadsyamsudin / index.html
Created May 19, 2022 15:08
Unfolding Login Form
<div class="login">
<div class="photo"></div>
<p class="name hidden" id="name">Hans Engebretsen</p>
<div class="username-wrap"><input type="username" class="username" placeholder="Type name & hit enter" id="username-input" /></div>
<div class="pw-box">
<span class="flap">
<div class="inner"></div>
<div class="spine"></div>
<div class="outer"></div>
</span>
@muhammadsyamsudin
muhammadsyamsudin / index.pug
Created May 19, 2022 15:04
Material Login Form
// Mixins
mixin input(type, label)
.input-container
input(type='#{type}' id='#{label}' required)
label(for='#{label}')=label
.bar
mixin button(text)
.button-container
button
span=text