This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New User Journey | |
Registrae | |
What Identifier? | |
email -> New Email Ask | |
phone -> New Phone Ask | |
New Email Ask | |
Email Input Screen | |
submit -> New Email Valid? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Registrae | |
Splash Screen* | |
pressSignup -> Name Gender Screen | |
pressLogin -> Login Screen | |
Name Gender Screen | |
Invite Code Screen | |
Find Neighborhood Screen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<presence from='{Jane}@public.talk.google.com/android{UNIQUE_ID}' | |
to='{me}@gmail.com'> | |
<status/> | |
<show>available</show> | |
<!-- metadata truncated for brevity --> | |
</presence> | |
<presence from='{John}@gmail.com/gmail{UNIQUE_ID}' to='{me}@gmail.com'> | |
<status/> | |
<show>available</show> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
glookup | grep -v '\-\-\-' | tail -n +2 | head -n -2 | sed 's/ */\ /g' | cut -d' ' -f 3 | awk '{ split($0,a,"/"); num += a[1]; den += a[2] } END { print num/den }' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def unique(s): | |
''' | |
@param s: | |
a string | |
takes a string and returns that string with all duplicate | |
letters stripped out | |
''' | |
i=0 | |
y={} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
The prime factors of 13195 are 5, 7, 13 and 29. | |
What is the largest prime factor of the number 600851475143 ? | |
''' | |
import math | |
from time import time | |
calcs = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Each new term in the Fibonacci sequence is generated by | |
adding the previous two terms. By starting with 1 and 2, | |
the first 10 terms will be: | |
1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... | |
By considering the terms in the Fibonacci sequence whose | |
values do not exceed four million, find the sum of the | |
even-valued terms. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
If we list all the natural numbers below 10 that are multiples | |
of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. | |
Find the sum of all the multiples of 3 or 5 below 1000. | |
''' | |
from time import time | |
def pe1(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -DsocksProxyHost=localhost -DsocksProxyPort=1080 -jar Minecraft.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> ================================ RESTART ================================ | |
>>> | |
>>> rf = getrankf(buildset()) | |
>>> evolve(2, 500, rf, mutrate=0.2, breedrate=0.1, pexp = 0.7, pnew=0.1) | |
20962 | |
17300 | |
17300 | |
12360 | |
12360 | |
9742 |
NewerOlder