Skip to content

Instantly share code, notes, and snippets.

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.
return config.getNoPicUrl(dims);
@phatduckk
phatduckk / AppPicTag
Created December 1, 2011 22:29
testing
return config.getNoPicUrl(dims);
curl -L http://github.com/samsoffes/sstoolkit/tarball/master | tar xz --strip 1 -C Vendor/SSToolkit
<html>
<head>
<title><?= $bla; ?></title>
<? for ($meta as $name => $content) : ?>
<meta name="<?= $name ?>" content="<?= $content ?>">
<? endfor; ?>
</head>
@phatduckk
phatduckk / tail_profile.py
Created August 3, 2011 02:24 — forked from bwmcadams/tail_profile.py
Tail the Slow Query Log on MongoDB
#!/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)
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";
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";
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() {
sudo sysctl -w net.inet.tcp.delayed_ack=0