Skip to content

Instantly share code, notes, and snippets.

View kapziel's full-sized avatar

Si Jarvis kapziel

View GitHub Profile
@kapziel
kapziel / count_git_lines.ps1
Last active July 12, 2021 10:04
Count lines of code (SQL) in git repo
// https://www.limilabs.com/blog/source-lines-of-code-count-using-powershell
(dir -include *.sql -recurse | select-string "^(\s*)//" -notMatch | select-string "^(\s*)$" -notMatch).Count
@kapziel
kapziel / sql2sf.py
Created November 1, 2019 09:21 — forked from tamiroze/sql2sf.py
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]
"""
@kapziel
kapziel / keybase.md
Created February 13, 2015 01:12
keybase github proof

Keybase proof

I hereby claim:

  • I am kapziel on github.
  • I am kapziel (https://keybase.io/kapziel) on keybase.
  • I have a public key whose fingerprint is 2F2F 79DE BBD1 7064 FC68 042D 0B3B 6763 392D 3FC4

To claim this, I am signing this object: