Skip to content

Instantly share code, notes, and snippets.

View ushkinaz's full-sized avatar

Dmitry Sidorenko ushkinaz

  • Antalya
View GitHub Profile
@ushkinaz
ushkinaz / cygwin-mirror-speed.py
Created October 9, 2011 19:16
Tests speed of http mirrors of cygwin
#!/usr/bin/env python3
"""
Tests http mirrors of cygwin
"""
import random
import time
from urllib.request import urlopen
import sys
__author__ = 'Dmitry Sidorenko'
@ushkinaz
ushkinaz / gist:1003291
Created June 1, 2011 20:53
Renaming with git
find . -name '*Operand*' | awk '{print "git mv " $1 " " $1}' | sed -e s/Operand/Action/2 | bash