Skip to content

Instantly share code, notes, and snippets.

View justrp's full-sized avatar

Aleksandr Chikovani justrp

View GitHub Profile
futex(0x7fbcceef8c6c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
setsockopt(20, SOL_SOCKET, SO_RCVBUF, [16777216], 4) = 0
setsockopt(20, SOL_IP, IP_RECVTOS, [1], 4) = 0
bind(20, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr(""0.0.0.0"")}, 16) = 0
recvmsg(20, 0x7fbccb8f4920, 0) = -1 EAGAIN (Resource temporarily unavailable)
write(4, ""\24\0\0\0\375\377\377\377"", 8 <unfinished ...>
<... epoll_wait resumed> [{EPOLLIN, {u32=3, u64=3}}], 2048, -1) = 1
<... write resumed> ) = 8
read(3, <unfinished ...>
sendmsg(20, {msg_name(16)={sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr(""67.207.67.3"")}, msg_iov(1)=[{""=\326\1 \0\1\0\0\0\0\0\1\6google\3com\0\0\1\0\1\0\0)\20""..., 39}], msg_controllen=0, msg_flags=0}, 0 <unfinished ...>
@justrp
justrp / gist:5697197
Created June 3, 2013 09:52
ultra shit
This file has been truncated, but you can view the full file.
Добро пожаловать в TinyScheme
Copyright (c) Dimitrios Souflis
Консоль Script-Fu - Интерактивная среда разработки на Scheme
> (define (getIndex x y)
( /
(getH (car(gimp-image-pick-color 1 0 x y TRUE FALSE 0)))
(
/ 360 Steps
@justrp
justrp / gist:5697174
Created June 3, 2013 09:46
pew-pew monsta
(define (h->rgb h)
(define hi (round (/ h 60)))
(define vmin 0)
(define a ( round (* 100 (/ (modulo h 60) 60))))
(define vinc a)
(define vdec (- 100 a))