- musée mechanique
- if you're in the financial district, check out the old pacific stock exchange (pre-hipster fixie movie Quicksilver with Kevin Bacon was filmed here!) it is now a gym. chuckle at that thought.
- buena vista cafe (ridiculous irish coffee, get bombed so you can handle tourists)
- sfmoma de young/park/beach/cal academy
- twin peaks
- walk around SOMA, where most startups live; majority are in square bounded by [Market, 1st, Folsom, 3rd]
- do not walk around where new Twitter HQ will be; you will step on human feces, and it is next to one of the biggest peepshow theaters
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
@marc /cygdrive/x/xdev/Version2/Services | |
$ time grep -R "Juggalo" * > /dev/null | |
real 0m2.754s | |
user 0m1.825s | |
sys 0m0.920s |
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
try | |
{ | |
// ..etc | |
else | |
{ | |
if( caRetVal.Issuer != null && caRetVal.Issuer.Equities != null ) | |
{ | |
for( int i = 0; i < caRetVal.Issuer.Equities.Length; i++ ) | |
{ | |
Xignite.WebServices.XigniteSecurity.Security eq = caRetVal.Issuer.Equities[i]; |
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
import com.xignite.www.services.XigniteGlobalHistoricalXigniteGlobalHistoricalSoapStub; | |
import com.xignite.www.services.XigniteGlobalHistoricalXigniteGlobalHistoricalSoapStub.GetGlobalHistoricalQuotesRangeResponse; | |
import com.xignite.www.services.XigniteGlobalHistoricalXigniteGlobalHistoricalSoapStub.*; | |
import javax.xml.stream.util.*; | |
import org.apache.axis2.addressing.*; | |
import java.util.*; | |
public class Axis2Test { | |
private XigniteGlobalHistoricalXigniteGlobalHistoricalSoapStub stub; |
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
public abstract class AbstractExecutor | |
{ | |
public abstract void Execute(object something); | |
} |
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
marc@slpsys:~$ du -sh | |
688M . | |
marc@slpsys:~$ df -h | grep "/dev/sda1" | |
/dev/sda1 9.4G 8.9G 35M 100% / |
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
public static class Extensions | |
{ | |
public static TtargetInterface ResolveTraceableDependency<TtargetInterface>(this ITraceable self, IContainer container) | |
{ | |
return container.Resolve<TtargetInterface> | |
( | |
// In reality, this is a config setting | |
new NamedParameter(@"traceMe", self.TraceMe) | |
); | |
} |
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
<outline title=".Net General" text=".Net General"> | |
<outline text="Ayende @ Rahien" title="Ayende @ Rahien" type="rss" xmlUrl="http://feeds.feedburner.com/AyendeRahien" htmlUrl="http://ayende.com/blog/"/> | |
<outline text="BCL Team Blog" title="BCL Team Blog" type="rss" xmlUrl="http://blogs.msdn.com/bclteam/rss.xml" htmlUrl="http://blogs.msdn.com/b/bclteam/"/> | |
<outline text="Coding Horror" title="Coding Horror" type="rss" xmlUrl="http://feeds.feedburner.com/codinghorror" htmlUrl="http://www.codinghorror.com/blog/"/> | |
<outline text="Dare Obasanjo aka Carnage4Life" title="Dare Obasanjo aka Carnage4Life" type="rss" xmlUrl="http://feeds.feedburner.com/Carnage4Life" htmlUrl="http://www.25hoursaday.com/weblog/"/> | |
<outline text="Elegant Code" title="Elegant Code" type="rss" xmlUrl="http://elegantcode.com/feed/" htmlUrl="http://elegantcode.com"/> | |
<outline text="Fabulous Adventures In Coding" title="Fabulous Adventures In Coding" type="rss" xmlUrl="http://blogs.msdn.com/ericlippert/rss.xml" htmlUrl="http://blogs.msdn.com/b |
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
import recommendations as rec | |
from itertools import product | |
from math import sqrt | |
# Going through the exercises in: http://shop.oreilly.com/product/9780596529321.do | |
def all_euclideans(fileName): | |
key = "critics" | |
recdb = rec.read(fileName) | |
criticKeys = recdb[key].keys() |
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
Method One - Visitor Retargeting | |
1) tons of websites have extra banner placements available. | |
2) retargeting companies buy those under-impressed locations at a discount. | |
3) visitors come to the site and are tagged/cookied with the retargeting codes. | |
4) tagged visitors leave[the site] and randomly surf the web. | |
5) tagged visitor come across one of the banner locations owned by the retargeting companies. | |
6) [Our] banner is displayed to the tagged visitor, frequently bringing them back to our site. |