Skip to content

Instantly share code, notes, and snippets.

View rescenic's full-sized avatar
:electron:
AI Engineer

Muhammad Ridwan Hakim, S.T., CPITA, ITPMCP rescenic

:electron:
AI Engineer
View GitHub Profile
@rescenic
rescenic / wireguard-access-fix.ps1
Created April 22, 2026 11:42 — forked from robert-werner/wireguard-access-fix.ps1
Wireguard "Access Denied" fix on Windows 10+
$rule = New-Object System.Security.AccessControl.RegistryAccessRule(
"NT AUTHORITY\NETWORK SERVICE", # IdentityReference
[System.Security.AccessControl.RegistryRights]::FullControl, # RegistryRights
[System.Security.AccessControl.InheritanceFlags]::ContainerInherit, # InheritanceFlags
[System.Security.AccessControl.PropagationFlags]::None, # PropagationFlags
[System.Security.AccessControl.AccessControlType]::Allow # AccessControlType
)
$registry_keys = "Dhcp", "Tcpip", "Tcpip6", "TCPIPTUNNEL", "TCPIP6TUNNEL"
$registry_folder = "HKLM:\SYSTEM\CurrentControlSet\Services\{registry_key}"
# ===========================================
# ZSH Hacks - Dreams of Code
# ===========================================
# Add these to your .zshrc file
# ===========================================
# -------------------------------------------
# 1. Edit Command Buffer
# -------------------------------------------
# Open the current command in your $EDITOR (e.g., neovim)
Visual Studio 2026 18.x
Professional: NVTDK-QB8J9-M28GR-92BPC-BTHXK
Enterprise: VYGRN-WPR22-HG4X3-692BF-QGT2V
Product Year Version Product Keys
Visual Studio 2022 2021 17.x
Professional: TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
Enterprise: VHF9H-NXBBB-638P6-6JHCY-88JWH
Visual Studio 2019 2019 16.x
import face_recognition
import cv2
import numpy as np
import argparse
import os
def apply_blur(image, region, light_blur=False):
"""Menerapkan efek blur dengan intensitas berbeda"""
try:
top, right, bottom, left = region
import face_recognition
import cv2
import numpy as np
import argparse
import os
def apply_blur(image, region, light_blur=False):
"""Menerapkan efek blur dengan intensitas berbeda"""
try:
top, right, bottom, left = region
#include <ArduLite.h>
// Sensors
Digital leftSensor(2, IN);
Digital rightSensor(3, IN);
// DC Motors
PWM leftMotor1(5);
PWM leftMotor2(6);
PWM rightMotor1(9);
#include<Servo.h>
Servo servo;
byte derajat = 0;
const byte TRIG_PIN = 5;
const byte ECHO_PIN = 4;
long durasi, jarak = 0;
const byte buzzer = 12;
@robert-werner
robert-werner / wireguard-access-fix.ps1
Last active May 11, 2026 09:43
Wireguard "Access Denied" fix on Windows 10+
$rule = New-Object System.Security.AccessControl.RegistryAccessRule(
"NT AUTHORITY\NETWORK SERVICE", # IdentityReference
[System.Security.AccessControl.RegistryRights]::FullControl, # RegistryRights
[System.Security.AccessControl.InheritanceFlags]::ContainerInherit, # InheritanceFlags
[System.Security.AccessControl.PropagationFlags]::None, # PropagationFlags
[System.Security.AccessControl.AccessControlType]::Allow # AccessControlType
)
$registry_keys = "Dhcp", "Tcpip", "Tcpip6", "TCPIPTUNNEL", "TCPIP6TUNNEL"
$registry_folder = "HKLM:\SYSTEM\CurrentControlSet\Services\{registry_key}"