Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Net;
using System.Reflection;
namespace UriTest
{
//a mono version of the ForceCanonicalPathAndQuery code here: http://stackoverflow.com/questions/781205/getting-a-url-with-an-url-encoded-slash
class Program
{
static void Main(string[] args)
@Clancey
Clancey / BrightlyBlurredUIView
Last active December 24, 2015 14:59
A brightly colored iOS 7 UIBlurView
using System;
using MonoTouch.UIKit;
using MonoTouch.CoreAnimation;
public class BrightlyBlurredUIView: UIView
{
CALayer blurLayer,accentLayer;
UIView accentView;
UIToolbar toolbar;
public BrightlyBlurredUIView()
@moebio
moebio / gist:5601071
Last active December 17, 2015 11:19
list of references of my talk at http://openvisconf.com

eager sweep, non-conc

world stop
     1
value  ------------- Distribution ------------- count    
   64 |                                         0        
  128 |@                                        1        
  256 |                                         0        
  512 |                                         0        
 1024 |                                         0        
@nicerobot
nicerobot / chrome-cookies.sh
Created December 7, 2011 16:59
Convert Google Chrome sqlite Cookies into cookies.txt. Useful for utilities like curl.
sqlite3 -separator ' ' ${COOKIES:-Cookies} \
'select host_key, "TRUE", path, "FALSE", expires_utc, name, value from cookies'