Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am mskvsk on github.
  • I am moskovski (https://keybase.io/moskovski) on keybase.
  • I have a public key ASDyRip4lsIEPyvR1cFp0H_XsW38WjKXuqHU41NXCkOKwgo

To claim this, I am signing this object:

<?
$entities = array('image', 'photo', 'text', 'source', 'site', 'traffic', 'money', 'book', 'e-book', 'file', 'smartphone', 'camera', 'notebook', 'cities', 'distances', 'cars', 'mobile', 'book', 'sex', 'love', 'classifieds', 'ads', 'alcohol', 'travel');
$verbs = array('sell', 'buy', 'rent', 'exchange', 'free', 'give', 'book', 'clean', 'find', 'classify', 'compare');
echo '<table style="width: 100%">';
foreach ($entities as $entity)
{
echo '<tr>';
foreach ($verbs as $verb)
echo "<td style='font-size: 14px; padding: 5px; text-align: center'>$verb $entity</td>";
echo '</tr>';
<?
function process() {
$groups = $this->Group_model->getReadyToPublish();
foreach ($groups as $group) {
switch ($group->type) {
case 'vk':
$result = $this->Pub->vk();
break;
case 'ok':
<?
$entities = array('image', 'photo', 'text', 'source', 'site', 'traffic', 'money', 'book', 'e-book', 'file', 'smartphone', 'camera', 'notebook', 'cities', 'distances', 'cars', 'mobile', 'book', 'sex', 'love', 'classifieds', 'ads', 'alcohol', 'travel');
$verbs = array('sell', 'buy', 'rent', 'exchange', 'free', 'give', 'book', 'clean', 'find', 'classify', 'compare');
echo '<table style="width: 100%">';
foreach ($entities as $entity)
{