Skip to content

Instantly share code, notes, and snippets.

View mayask's full-sized avatar

Maxim Yaskevich mayask

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mayask on github.
  • I am mayask (https://keybase.io/mayask) on keybase.
  • I have a public key ASBKY5p2TeQr5udem_h-DWQVHRKt3tKAONy33UOKUwwaEgo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am mayask on github.
  • I am mayask (https://keybase.io/mayask) on keybase.
  • I have a public key ASDrzV0KAr2cBfgTWOpl09A0Ryda7S2pj73rzilPsYTXKwo

To claim this, I am signing this object:

s='';for k=1,46 do;s=s..(function(i)local j=-1;(function(b)return(function(...)return(function(a)return(a(a))end)(function(a)return(b(function(c)return(a(a))(c)end))end)(...)end)end)(function(e)return(function(...)local a,c,b=unpack(...);if(#a==c)then;for g=1,c do;local b={};for h=1,c do;if(b[a[h][g]]==true)then;return;else;b[a[h][g]]=true;end;end;end;b(a);else;(function(b)return(function(...)return(function(a)return(a(a))end)(function(a)return(b(function(c)return(a(a))(c)end))end)(...)end)end)(function(c)return(function(...)local b,a=(...)[3]or(function(b)return(function(...)return(function(a)return(a(a))end)(function(a)return(b(function(c)return(a(a))(c)end))end)(...)end)end)(function(c)return(function(b)return(b==0)and{}or{b,unpack(c(b-1))}end)end)((...)[1]),(...)[1];if(0==(...)[1])then(...)[2]({unpack(b)})else;for g=1,(...)[1]do;b[g],b[a]=b[a],b[g];c({(...)[1]-1,(...)[2],b});b[g],b[a]=b[a],b[g];end;end;end)end)({c,function(d)e({{d,unpack(a)},c,b})end})end;end)end)({{},i,function(k)(function(a)return(funct
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Box
config.vm.box = "ferventcoder/win7pro-x64-nocm-lite"
config.vm.guest = :windows
@mayask
mayask / vagrant-hyperv-log
Created July 24, 2014 09:10
Hyper-V check on Windows 7 hang debug log
MYaskevich@BY-WS-11 /e/hu-vagrant (master) $ VAGRANT_LOG=debug vagrant up
INFO global: Vagrant version: 1.6.3
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_DETECTED_OS="MINGW32_NT-6.1"
INFO global: VAGRANT_EXECUTABLE="d:/app/HashiCorp/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.3/bin/vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="d:/app/HashiCorp/Vagrant/bin/../embedded"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
@mayask
mayask / class-decorator.py
Created November 30, 2012 10:23
Old-style class decorator example
def classdec(cls):
def stat(itermeth):
def inner(self):
for i in itermeth(self):
print "stat:", i
yield i
return inner
cls.__iter__ = stat(cls.__iter__)
return cls