Skip to content

Instantly share code, notes, and snippets.


Andrew Zyabin schas002

View GitHub Profile
schas002 / blum_blum_shub.js
Last active Sep 24, 2020
A Blum Blum Shub implementation in JavaScript.
View blum_blum_shub.js
*** blum_blum_shub.js ***
An implementation of the Blum Blum Shub pseudorandom number generator proposed
in 1986 by Lenore Blum, Manuel Blum and Michael Shub that is derived from
Michael O. Rabin's oblivious transfer mapping.
Blum Blum Shub takes the form
schas002 /
Last active May 15, 2018
A generic README for CWEB literate programs.





[name] is a CWEB literate program. It can be ctangled to make a C source code file:

schas002 / AutoHotkey.ahk
Last active May 4, 2018
my AutoHotkey.ahk hotstring file
View AutoHotkey.ahk
SendMode Input
::gm::Good morning
::gn::Good night
schas002 / LICENSE
Created Apr 20, 2018
Radically clean binaries/logs/etc. w/ a single command
MIT License
Copyright (c) 2018-2018, Andrew Zyabin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
schas002 / issue-labels.csv
Last active Feb 25, 2018
Default GitHub issue labels.
View issue-labels.csv
label name color descript
bug #d73a4a Something isn't working
duplicate #cfd3d7 This issue or pull request already exists
enhancement #a2eeef New feature or request
good first issue #7057ff Good for newcomers
help wanted #008672 Extra attention is needed
invalid #e4e669 This doesn't seem right
question #d876e3 Further information is requested
wontfix #ffffff This will not be worked on

With bridged networking, your computer literally uses traffic from a host computer that receives and sends the traffic from somewhere else.

local network at
subnet mask is 255.255.255

+---------+  +-------+  +---------+
| +-----+ +--+bridged+--+ +-----+ |
| |     | |             | |     | |
| | 101 | |             | | 100 | +--> Internet
schas002 /
Last active Dec 7, 2017
A NAT-only network

Unless you have a home network, your computer will be connected something like this:

local network at
subnet mask is 255.255.255

| ------- +--> NAT
| |     | |
| | 100 | |

Keybase proof

I hereby claim:

  • I am schas002 on github.
  • I am zyabin101 ( on keybase.
  • I have a public key ASALNNNQHfUocfoYaXagJ5Vs6-OfzF32ODyOJ_vRGAub4wo

To claim this, I am signing this object:

schas002 / hash-brown.scad
Created Oct 5, 2017
OpenSCAD 'hash brown' model.
View hash-brown.scad
FONT = "Roboto"; // or any other font
SIZE = 15; // resize to your heart's content
union() {
difference() {
cube([20, 20, 1], true);
translate([0, 0, 0.4]) {
cube([19, 19, 0.2], true);
schas002 / cup.scad
Last active Oct 5, 2017
OpenSCAD cup model.
View cup.scad
difference() {
union() {
difference() {
translate([0, 0, 20]) {
cube(40, true);
translate([15, 0, -10]) {
rotate([90, 0, 0]) {
You can’t perform that action at this time.