Skip to content

Instantly share code, notes, and snippets.

View jeorlie's full-sized avatar

exejee jeorlie

  • textbox.top
  • Philippines
  • 12:33 (UTC +08:00)
  • X @cloudwhen
View GitHub Profile
@codesorter2015
codesorter2015 / reverse_proxy_setup.txt
Last active August 20, 2024 06:33
Reverse Proxy Setup with XAMPP/WAMP
Open apache httpd.conf file
Enable the following Modules by removing the # at the front of the line.
- LoadModule rewrite_module modules/mod_rewrite.so
- LoadModule proxy_module modules/mod_proxy.so
- LoadModule proxy_http_module modules/mod_proxy_http.so
- LoadModule proxy_connect_module modules/mod_proxy_connect.so
Open apache httpd-vhosts.conf
<VirtualHost *:80>
ProxyRequests On
@aikchun
aikchun / imap-gmail
Last active June 12, 2024 11:41
IMAP PHP gmail attachment extractor
<?php
/**
*
* Gmail attachment extractor.
*
* Downloads attachments from Gmail and saves it to a file.
* Uses PHP IMAP extension, so make sure it is enabled in your php.ini,
* extension=php_imap.dll