Skip to content

Instantly share code, notes, and snippets.

View diolektor's full-sized avatar

Vasily Komrakov diolektor

  • Sakartvelo, Tbilisi
View GitHub Profile
<?php
class hashThread extends Thread {
private $max = 1;
private $index = 0;
function __construct($max, $index)
{
$this->max = $max;
$this->index = $index;
@diolektor
diolektor / alc.md
Last active September 7, 2015 15:02 — forked from ramainen/alc.md
Конспект по RBAC и ACL

Конспект по RBAC и ACL

Данный текст - мой набросок после филтрации огромного количества текстов.

По работе стоит задача реализации системы распределения прав. Дабы не строить велосипед, решил посмотреть в CI, Yii, Zend, и так далее. В итоге выяснилось, что даже именитые библиотеки вроде Zend_Acl не решают даже части проблем.

Для того, чтобы не держать в закладках уйму текста, было решено составить этот конспект. Если Вы случайно наткнулись на этот текст, и у Вас есть вопросы, мысли или предложения -

Login Box Concept

Just trying to do some login animations. Buggy on Firefox, fine in Chrome. Still need to tidy up and Optimize

A Pen by Jamie Coulter on CodePen.

License.

@diolektor
diolektor / 0_reuse_code.js
Last active August 29, 2015 14:15
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
worker_processes 2;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
use epoll;
}