Skip to content

Instantly share code, notes, and snippets.

View syn-arch's full-sized avatar
🎯
Focusing

Adiatna Sukmana syn-arch

🎯
Focusing
  • Bandung,Indonesia
View GitHub Profile
@syn-arch
syn-arch / folderlock.bat
Created January 12, 2023 10:22 — forked from fobabs/folderlock.bat
A batch file used to lock and hide folders and files in Windows 10
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
@syn-arch
syn-arch / mod_rewrite_guide.md
Last active January 11, 2022 07:07 — forked from dario2994/mod_rewrite_guide.md
Enable mod_rewrite in apache
  • Apache configuration file

    • ubuntu -> /etc/apache2/apache2.conf
    • arch -> /etc/httpd/conf/httpd.conf
  • Add mod_rewrite and .htaccess support for your site At the end of the configuration files add these lines:

    #My site mod_rewrite configuration
    <Directory "/var/www/">
      AllowOverride All