I hereby claim:
- I am rsmoz on github.
- I am rsmoz (https://keybase.io/rsmoz) on keybase.
- I have a public key whose fingerprint is 5F5F A7F5 1983 173D 1443 0D9A 163B F889 4BE5 7328
To claim this, I am signing this object:
| import shutil, errno, subprocess | |
| def recurse(n): | |
| fileAt = '/Users/rmozayeni/Desktop/Sample%s.playground' % ("" if n == 0 else str(n)) | |
| try: | |
| shutil.copytree('/Users/rmozayeni/Documents/Sample.playground', fileAt) | |
| except OSError as e: | |
| if e.errno == errno.EEXIST: | |
| return recurse(n+1) | |
| else: exit(1) |
| public enum Producer<A> { | |
| case Value(A) | |
| case Error(ErrorType) | |
| func produce() throws -> A { | |
| switch self { | |
| case let .Value(x): | |
| return x | |
| case let .Error(y): | |
| throw y |
| # coding: utf-8 | |
| from bitcoin import * | |
| import binascii | |
| from test import * | |
| priv = sha256('brain wallet words go here') | |
| pub = privtopub(priv) |
| struct Something { | |
| func xyz() { | |
| let F = doSomething(3)(3) | |
| let G = doSomething(4) | |
| let result = G(3) | |
| } | |
| func doSomething(y: Int)(_ x: Int) -> Int { | |
| return 1 | |
| } |
| typealias DimensionVector = [Double] | |
| protocol Dimensional { | |
| var dimensions: DimensionVector { get } //Could make an Interpolable protocol to use instead of Double, but that would be a confusing design pattern in the case of Ints | |
| static func itemFromDimensions(fromDimensions: DimensionVector) -> Self? | |
| } | |
| func inBetween(a: Double, b: Double, byRatio ratio: Double) -> Double { | |
| let diff = abs(a - b) | |
| let calcd = ratio * diff |
I hereby claim:
To claim this, I am signing this object:
| print 64*"e" + chr(1) |
#How to send an email
sendIt("recipient@gmail.com","myEmail@gmail.com", "myShortPassword", "Hello! This is the message body!\nBest,\nMe")