This file contains hidden or 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
its just a confusing experience due to the UI. | |
when i got to invite friends -> contacts I see a list of people from contacts etc which makes complete sense. | |
then it breaks down... | |
the add button feels like this is going to be a 1 click experience, but its not. | |
i expect those "add" buttons to perform an action (cuz the label says so) but they actually navigate instead. | |
that's relatively minor. its inconsistent but I bet it gets more click thru that way which justifies it. | |
the next step is the "bad" part. |
This file contains hidden or 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
return config.getNoPicUrl(dims); |
This file contains hidden or 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
return config.getNoPicUrl(dims); |
This file contains hidden or 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
curl -L http://github.com/samsoffes/sstoolkit/tarball/master | tar xz --strip 1 -C Vendor/SSToolkit |
This file contains hidden or 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
<html> | |
<head> | |
<title><?= $bla; ?></title> | |
<? for ($meta as $name => $content) : ?> | |
<meta name="<?= $name ?>" content="<?= $content ?>"> | |
<? endfor; ?> | |
</head> |
This file contains hidden or 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
#!/usr/bin/python | |
# Connects to localhost, 27017 by default | |
import sys | |
import pymongo | |
import time | |
if len(sys.argv) < 2: | |
print >> sys.stderr, "Usage: ./tail_profile.py <dbName> [hostname] [port]" | |
sys.exit(-1) |
This file contains hidden or 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
import org.apache.commons.lang.StringUtils; | |
import javax.mail.*; | |
import javax.mail.internet.*; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.Properties; | |
public class SendGridExample { | |
private static final String SMTP_HOST_NAME = "smtp.sendgrid.net"; |
This file contains hidden or 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
import javax.mail.Session; | |
import javax.mail.Transport; | |
import javax.mail.internet.InternetAddress; | |
import javax.mail.internet.MimeMessage; | |
import java.util.Properties; | |
public class SimpleMail { | |
private static String HOST = "smtp.sendgrid.net"; | |
private static String USER = "your_isername_here"; | |
private static String PASSWORD = "your_password_here"; |
This file contains hidden or 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
public class HookerReturn2<A, B> { | |
public A first; | |
public B second; | |
public HookerReturn2(A first, B second) { | |
this.first = first; | |
this.second = second; | |
} | |
public static void example() { |
This file contains hidden or 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
sudo sysctl -w net.inet.tcp.delayed_ack=0 |