Skip to content

Instantly share code, notes, and snippets.

View ikalnytskyi's full-sized avatar
🇺🇦

Ihor Kalnytskyi ikalnytskyi

🇺🇦
View GitHub Profile
@ikalnytskyi
ikalnytskyi / sketchysvg.js
Created November 15, 2023 23:09
Sketchify an inline SVG node
import rough from "https://unpkg.com/roughjs@4.6.5/bundled/rough.esm.js";
// Sketchify a given SVG node using https://roughjs.com.
//
// The code is adopted from https://sketchviz.com.
export const sketchify = (function () {
function getAttributes(element) {
return Array.prototype.slice.call(element.attributes);
}
@ikalnytskyi
ikalnytskyi / keybase.md
Created February 7, 2020 16:30
keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@ikalnytskyi
ikalnytskyi / ldap2opera.js
Last active December 21, 2015 08:39
WMI script for dumping LDAP address book in Opera Mail format.
/**
* ldap2opera.js
* ~~~~~~~~~~~~~
*
* ldap2opera.js is a simple WMI script (written on JScript) for saving
* LDAP address book in Opera Mail format.
*
* Usage:
*
* $ cscript ldap2opera.js /domain:LDAP://DC=gameloft,DC=org /output:contacts.adr
@ikalnytskyi
ikalnytskyi / gnome-terminal-xoria256.sh
Created August 2, 2012 15:08
Xoria256 theme for Gnome Terminal
#!/bin/sh
#
# Shell script that configures gnome-terminal to use xoria256 theme
# colors. Written for Debian Wheezy.
#
# AUTHOR: Igor Kalnitsky <igor@kalnitsky.org>
# LICENSE: GNU GPL v3
PALETTE="#121212121212:#D7D787878787:#AFAFD7D78787:#F7F7F7F7AFAF:#8787AFAFD7D7:#D7D7AFAFD7D7:#AFAFD7D7D7D7:#E6E6E6E6E6E6:#121212121212:#D7D787878787:#AFAFD7D78787:#F7F7F7F7AFAF:#8787AFAFD7D7:#D7D7AFAFD7D7:#AFAFD7D7D7D7:#E6E6E6E6E6E6"
BG_COLOR="#1C1C1C1C1C1C"