Skip to content

Instantly share code, notes, and snippets.

View ivankp's full-sized avatar

Ivan Pogrebnyak ivankp

View GitHub Profile
@tamiroze
tamiroze / sql2sf.py
Last active September 22, 2025 13:15
Converts Oracle, SQL-Server, and other DDL to Snowflake DDL
#!/usr/bin/python
# $Id: $
# Converts Oracle, SQL-Server, and other DDL to Snowflake DDL
def usage():
print """\
# Usage: sql2sf.py input-file [output-file]
"""
@jasonwhite
jasonwhite / pulsetest.cc
Last active June 27, 2025 12:26
A simple PulseAudio test program for monitoring volume changes on the default sound sink.
/**
* Author: Jason White
* License: Public Domain
*
* Description:
* This is a simple test program to hook into PulseAudio volume change
* notifications. It was created for the possibility of having an automatically
* updating volume widget in a tiling window manager status bar.
*
* Compiling:
@OmeGak
OmeGak / cern_afs_kerberos.md
Last active July 7, 2024 11:08
Authentication at CERN made not-an-ordeal (kind of)

AFS Kerberos at CERN

"Kerberos is not the authentication system CERN deserves, but the one we need". - A wise man

This guide aims to ease the pain of setting up Kerberos authentication in your local (Ubuntu) machine and then completely forget about it.

Ready to fight?

First of all, install the following packages if you want to be successful on this journey:

@hlvoorhees
hlvoorhees / README.md
Last active March 12, 2023 07:55
3D scatter plot using d3, x3dom

Example 3D scatter plot implemented using d3 and x3dom.

@netj
netj / memusg
Last active December 12, 2025 14:17
memusg -- Measure memory usage of processes
#!/usr/bin/env bash
# memusg -- Measure memory usage of processes
# Usage: memusg COMMAND [ARGS]...
#
# Author: Jaeho Shin <netj@sparcs.org>
# Created: 2010-08-16
############################################################################
# Copyright 2010 Jaeho Shin. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #