Skip to content

Instantly share code, notes, and snippets.

View mekegi's full-sized avatar

Arsen Abdusalamov mekegi

View GitHub Profile
/**********************
* superDrEvalBros.js *
**********************
*
* You're still here?! Well, Dr. Eval, let's see
* how well you can operate with one less dimension.
*
* Give up now. Unless you have a magic mushroom
* up your sleeve, it's all over.
*/
/*****************
* bossFight.js *
*****************
*
* NO FARTHER, DR. EVAL!!!!
* YOU WILL NOT GET OUT OF HERE ALIVE!!!!
* IT'S TIME YOU SEE MY TRUE FORM!!!!
* FACE MY ROBOT WRATH!!!!!
*/
<?php
/**
* @since 08.08.14 12:35
* @author Arsen Abdusalamov duburlan@gmail.com
*/
class RussianPost {
protected $symbol = [
0 => [[1, 1, 1],
/usr/bin/php /ssd/native/RussianPost.php
0 at [1, 1]
1 at [1, 5]
2 at [1, 9]
3 at [1, 13]
4 at [1, 17]
5 at [1, 21]
6 at [1, 25]
7 at [1, 29]
8 at [1, 33]
@mekegi
mekegi / MenuPhingTask.php
Created April 17, 2015 11:42
whiptail menu for phing
<?php
/**
* usage:
* example 1
<taskdef name="menu" classname="MenuPhingTask" />
<menu title="select enviropment" choices="dev,staging,hotfix,live" />
<property name="build.env" value="${menu.result}" override="true" />
*
* example 2
<!-- live preview https://jsfiddle.net/duburlan/16vstjxo/2/ -->
<section class="sharing-btns post-share">
<a href="https://www.facebook.com/dialog/share?app_id={{ .Site.Params.facebook_admin }}&amp;display=popup&amp;href={{ .Permalink }}&redirect_uri={{ .Permalink }}"
target="_blank"
title="Поделиться через Facebook"
data-social="Facebook"
class="like__widget swidget_facebook"
></a>
<a href="https://twitter.com/share?url={{ .Permalink }}&amp;text={{ .Title }}&amp;hashtags=some,ololo"