Public Gists by nullstyle

Gravatar
Fri Jul 10 12:34:52 -0700 2009
1
2
3
# ===========================
# = Getting an access token =
# ===========================
Gravatar
Wed May 13 21:31:33 -0700 2009
1
<%= link_to_function "Our Support Community", "GSFN.goto_gsfn()" %>
Gravatar
Wed May 13 21:30:50 -0700 2009
1
<%= FastPass.script(CONSUMER_KEY, CONSUMER_SECRET, current_user.email, current_user.name, current_user.id) %>
Gravatar
Wed May 13 21:29:31 -0700 2009
1
<%= link_to "Our Support Community", "http://getsatisfaction.com/mycompany?fastpass=#{CGI.escape(FastPass.url(CONSUMER_KEY, CONSUMER_SECRET, current_user.email, current_user.name, current_user.id))} %>
Gravatar
Wed May 13 21:28:02 -0700 2009
1
cookies["fastpass"] = FastPass.url(CONSUMER_KEY, CONSUMER_SECRET, current_user.email, current_user.name, current_user.id)
Gravatar
Mon May 11 10:28:05 -0700 2009
1
2
3
def eras(n):
  siv=range(n+1)
  siv[1]=0
Gravatar
Thu May 07 13:50:41 -0700 2009
1
2
3
# directory user IPs: 192.168.230.* netmask
# ---------------------------------------------------------------------------------------
/Users/joejoe/src/satisfaction -mapall=joejoe -network=192.168.230 -mask=255.255.255.0
Gravatar
Tue Mar 24 19:35:34 -0700 2009
1
2
3
Call:
 
HashMap<String, String> parms = new HashMap<String, String>();
Gravatar
Tue Mar 24 19:35:07 -0700 2009
1
2
3
public class FastPass {
  public static String url(String key, String secret, String email, String name, String uid) throws OAuthException, IOException, URISyntaxException;
  public static String url(String key, String secret, String email, String name, String uid, boolean isSecure) throws OAuthException, IOException, URISyntaxException;
Gravatar
Tue Mar 24 19:31:25 -0700 2009
1
2
3
Call:
FastPass::script("lmwjv4kzwi27", "fiei6iv61jnoukaq1aylwd8vcmnkafrs", "scott@getsatisfaction.com", "Scott", "nullstyle", false, array("twitter_name" => "nullstyle"))
 
Gravatar
Tue Mar 24 19:30:56 -0700 2009
1
2
3
class FastPass {
public static function url($key, $secret, $email, $name, $uid, $is_secure=false, $privateFields=array()) {}
public static function script($key, $secret, $email, $name, $uid, $is_secure=false, $privateFields=array()) {}
Gravatar
Tue Mar 24 19:28:59 -0700 2009
1
2
3
Call:
FastPass.script("lmwjv4kzwi27", "fiei6iv61jnoukaq1aylwd8vcmnkafrs", "scott@getsatisfaction.com", "Scott", "nullstyle", False, twitter_name = "nullstyle")
 
Gravatar
Tue Mar 24 19:28:25 -0700 2009
1
2
3
class FastPass:
  @staticmethod
  def url(key, secret, email, name, uid, isSecure=False, **privateFields):
Gravatar
Tue Mar 24 19:23:42 -0700 2009
1
<%= FastPass.script(CONSUMER_KEY, CONSUMER_SECRET, current_user.email, current_user.name, current_user.id) %>
Gravatar
Tue Mar 24 19:22:56 -0700 2009
1
2
3
class FastPass
  def self.url(consumer_key, consumer_secret, email, nickname, unique_id, secure=false, private_fields={}) ; end
  def self.script(consumer_key, consumer_secret, email, nickname, unique_id, secure=false, private_fields={}) ; end
Gravatar
Tue Mar 24 16:53:12 -0700 2009
1
2
3
Dictionary<string, string> parms = new Dictionary<string, string>();
parms.Add("twitter_name", "nullstyle");
var result = FastPass.script("lmwjv4kzwi27", "fiei6iv61jnoukaq1aylwd8vcmnkafrs", "scott@getsatisfaction.com", "Scott", "nullstyle", false, parms);
Gravatar
Tue Mar 24 16:47:28 -0700 2009
1
2
3
public class FastPass {
  public static string url(string key, string secret, string email, string name, string uid);
  public static string url(string key, string secret, string email, string name, string uid, bool isSecure);
Gravatar
Sat Aug 16 17:23:33 -0700 2008
1
2
3
require 'gistit'
 
gist = Gistit.new