Name: Malo Skrylevo
Birth date: 1977/07/30
Place of birth: Moscow
Phone: +7-905-524-5451
# origin is here: http://stackoverflow.com/questions/11784109/detecting-operating-systems-in-ruby | |
require 'rbconfig' | |
module SpecModule | |
def self.os | |
@os ||= ( | |
host_os = RbConfig::CONFIG['host_os'] | |
case host_os | |
when /mswin|msys|mingw|cygwin|bccwin|wince|emc/ | |
:windows |
#!/bin/bash | |
sharp_radius=5 | |
sharp_sigma=$(dc <<< 4k${sharp_radius}vp) | |
sharp_amount=1.2 | |
sharp_threshold=0.003 | |
a1=0 | |
b1=0 | |
c1=1.2 | |
d1=-0.1 |
#!/bin/sh | |
# (c) Malo Skrylevo | |
set -x | |
#service $IPTABLES restart | |
# interfaces IF0 - external LAN iface, IF1,IF2 - internal LAN ifaces | |
IF0=enp2s0 |
;Как получить привелегию Ring 0 | |
;Автор: The GSGR | |
;Иногда это нужно для доступа к портам выше $FF, таких как IDE контроллер и т.д. | |
;-------------------------------------------------- | |
.386p | |
.model flat | |
.radix 16 | |
Ring_0_CS_32 = 28 |
function FindProxyForURL(url, host) { | |
host = host.toLowerCase(); | |
if (dnsDomainIs(host, "linkedin.com") || | |
dnsDomainIs(host, "rutracker.org") || | |
dnsDomainIs(host, "ipleak.net") || | |
dnsDomainIs(host, "telegram.org") || | |
dnsDomainIs(host, "t.me") || | |
dnsDomainIs(host, "telegra.ph") || | |
dnsDomainIs(host, "psb4ukr.org") || | |
dnsDomainIs(host, "plus.pl") || |