Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Cyrus Stoller cyrusstoller

🎯
Focusing
Block or report user

Report or block cyrusstoller

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cyrusstoller
cyrusstoller / gist:9887884
Last active Aug 29, 2015
Covered CA Error Messages
View gist:9887884

javax.xml.ws.soap.SOAPFaultException: oracle.iam.identity.exception.ValidationFailedException: IAM-3050007:The user with the attribute User Login and value [REDACTED] already exists.:User Login:[REDACTED]

View .bash_profile
export PATH=/usr/local/bin:/usr/local/cuda/bin:$PATH
export DYLD_LIBRARY_PATH=/usr/local/bin:/usr/local/cuda/lib:$DYLD_LIBRARY_PATH
export PATH=/usr/local/mysql/bin:$PATH
export PATH=$HOME/Library/julia:$PATH
export EDITOR='mate -w'
# alias gcc='gcc-mp-4.4'
View CircleHackathonInviteChallenge.rb
# Code to solve the circle hackathon invite challenge http://discovercircle.com/hackathon
def main
# seven digit number where number is ABCDEFG
# A*B*C = C*D*E = E*F*G
# A,B,C,D,E,F,G can't be 0
# can't use 5 or 7 since they're prime
possible_digits = [1,2,3,4,6,8,9]
prime_factorization = [[1],[2],[3],[2,2],[2,3],[2,2,2],[3,3]]
View Challenge 1.rb
$cache = []
def fib(n)
return $cache[n] unless $cache[n].nil?
return 1 if n == 0
res = n * fib(n-1)
$cache << res
return $cache[n-1]
end
You can’t perform that action at this time.