Skip to content

Instantly share code, notes, and snippets.


Danil Skachkov xVir

  • Google
View GitHub Profile
darktable / SavWav.cs
Created Apr 6, 2012
Unity3D: script to save an AudioClip as a .wav file.
View SavWav.cs
// Copyright (c) 2012 Calvin Rien
// This software is provided 'as-is', without any express or implied warranty. In
// no event will the authors be held liable for any damages arising from the use
// of this software.
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it freely,
// subject to the following restrictions:
ibeex / foo.log
Created Aug 4, 2012
Flask logging example
View foo.log
A warning occurred (42 apples)
An error occurred
kevinelliott /
Last active May 13, 2021
Mac OS X 10.10 Yosemite Setup

Mac OS X 10.10 Yosemite

Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

Install Software

lawlesst /
Created Jul 23, 2011
Sample Z39.50 search with Python.
Simple script to search a Z39.50 target using Python
and PyZ3950.
from PyZ3950 import zoom
ISBNs = ['9781905017799', '9780596513986']
praeclarum / Dsp.cs
Created Apr 9, 2013
DSP functions for Xamarin.iOS bound to the Accelerate framework. See it in action by buying my Spectrogram app for iOS:
View Dsp.cs
using System;
using System.Runtime.InteropServices;
namespace Circuit
public static class Dsp
class FftSetupD : IDisposable
public IntPtr Handle;
glenbot / Git Issue Export for Pivotal
Created Jan 6, 2011
Export your open issues in github to a pivotal tracker friendly csv for import, requires github2 python api-client
View Git Issue Export for Pivotal
import csv
from github2.client import Github
# api settings for github
git_username = 'your_git_username'
git_api_token = 'your_git_api_token'
git_repo = 'username/repo_name'
# import all issues as this story type
pivotal_story_type = 'Bug'
View json.swift
#!/Applications/ -i -sdk /Applications/
import Foundation
class JSON {
struct Path: Printable {
enum Element {
case Index(Int)
case Key(String)