Skip to content

Instantly share code, notes, and snippets.

View PakCu's full-sized avatar

PakCu PakCu

  • Kuala Lumpur
View GitHub Profile
@PakCu
PakCu / .htaccess
Created September 19, 2025 03:55 — forked from kidino/.htaccess
Github Webhook Deploy Script
# taruk .htaccess untuk protect webhook.php agar hanya terima
# trafik daripada Github sahaja. Ini IP address Github yang
# akan hantar webhook.
# lepas tu sebab webhook.php akan pakai fungsi exec(), lagilah
# kita kena protect
<Files "webhook.php">
Order Deny,Allow
Deny from all
<?php
$harga = 100000;
$x = "harga";
echo "Harga kereta ialah ${$x}"; //Harga kereta ialah 100000
?>
@PakCu
PakCu / awesome-php.md
Created November 3, 2012 11:42 — forked from rusdyahmad/awesome-php.md
Awesome PHP Libraries

Awesome PHP Libraries

A list of amazingly awesome PHP libraries that you should be using: