This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from cemaat import Sakirt | |
from random import randint | |
sakirt = Sakirt() | |
sakirt.meslek = "yazilimci" if randint(1,10) % 2 == 0 else "sistemci" | |
sakirt.save() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ProxyRouterException extends Exception {} | |
class ProxyRouter { | |
public $url; | |
public function __construct($url) { | |
$this->url = $this->_control_url($url); |