Skip to content

Instantly share code, notes, and snippets.

View fatkulnurk's full-sized avatar
🤫
Bernafaslah, agar memberikan makanan bagi tanaman

Fatkul Nur Koirudin fatkulnurk

🤫
Bernafaslah, agar memberikan makanan bagi tanaman
View GitHub Profile
@diguinhorocks
diguinhorocks / Request.php
Last active September 20, 2019 16:07
Simple Google Custom Search API requester
<?php
class Request
{
protected $url;
protected $request;
protected $response;
protected $curl;
@boogah
boogah / .htaccess
Created February 16, 2012 04:59
Expire headers .htaccess code.
<IfModule mod_expires.c>
ExpiresActive on
# Perhaps better to whitelist expires rules? Perhaps.
ExpiresDefault "access plus 1 month"
# Data
ExpiresByType text/xml "access plus 0 seconds"
ExpiresByType application/xml "access plus 0 seconds"
ExpiresByType application/json "access plus 0 seconds"