Skip to content

Instantly share code, notes, and snippets.

View Awilum's full-sized avatar
🧙‍♂️
WORK HARD. PLAY HARD

Sergey Romanenko Awilum

🧙‍♂️
WORK HARD. PLAY HARD
View GitHub Profile
@Awilum
Awilum / atweet.php
Last active February 18, 2021 08:03
Atweet PHP Framework - in less that 140 bytes
require(__DIR__.'/c.php');
if(($a=!empty($_GET['r'])?$_GET['r']:'index')&&(!is_callable($a)||substr($a,0,1)=='_'))die("Ooops...");
$a();
@Awilum
Awilum / example.php
Created February 16, 2012 15:02
Tweevalid - php validator in less that 140 bytes
$valid = new Tweevalid();
var_dump($valid->email('test@test.com'));
var_dump($valid->url('http://test.com'));
var_dump($valid->ip('10.10.10.10'));