Monthly Archives: April 2013

Posterous will turn off on April 30, 2013

Hi Friend, Posterous launched in 2008. Our mission was to make it easier to share photos and connect with your social networks. Since joining Twitter about one year ago, we’ve been able to continue that journey, building features to help you discover and share what’s happening in the world – on an even larger scale. On April 30th, we will turn off and our mobile apps in order to focus 100% of our efforts on Twitter. This means that as of April 30, Posterous Spaces will no longer be available either to view or to edit. Right now, you can download all of your Posterous Spaces including your photos, videos, and documents. Here are the steps: Go to []( Click to request a backup of your Space by clicking “Request Backup” next to your Space name. Return to []( to download a .zip file. If you want to move your site to another service, WordPress and Squarespace offer importers that can move all of your content over to either service. Just remember: you need to back up your Spaces by April 30. We’d like to thank the millions of Posterous users who have supported us on our incredible journey. We hope to provide you with as easy a transition as possible, and look forward to seeing you on Twitter. Thank you. Sachin Agarwal, Founder and CEO

Posted in Social Media | Tagged | Leave a comment

What version of OS X do I have?

To check which version of Mac OS X you have, you can click on the Apple icon in the top left of your screen: Choose About this Mac For more detailed information, hold down the option key when clicking the Apple icon to make About this Mac change to System Information This will give you a panel that will show you many more details about your system hardware and software. You can also do this is many programs like Adobe Illustrator: Sometimes the names of the application or it’s folder will also include the version number, such as Adobe Illustrator CS6

Posted in Mac | Tagged | Leave a comment

Ebay: Tell Congress “No!” to new sales taxes and burdens for small online businesses.

Dear Seller, Congress is considering online sales tax legislation that is wrongheaded and unfair, and I am writing to ask for your help in telling Congress “No!” to new sales taxes and burdens for small businesses. Whether you’re a consumer who loves the incredible selection and value that small businesses provide online, or a small-business seller who relies on the Internet for your livelihood, this legislation potentially affects you. For consumers, it means more money out of your pocket when you shop online from your favorite seller or small business shop owner. For small business sellers, it means you would be required to collect sales taxes nationwide from the more than 9,600 tax jurisdictions across the U.S. You also would face the prospect of being audited by out-of-state tax collectors. That’s just wrong, and an unnecessary burden on you. Big national retailers are aggressively lobbying Congress to pass online sales tax legislation to “level the playing field” with Amazon. And, as they compete with big retail, Amazon is advocating for this legislation too, while at the same time they are seeking local tax exemptions across the country to build warehouses. This is a “big retail battle” in which small businesses and consumers have a lot to lose. But eBay is fighting, as we have for more than 15 years, to protect small online businesses and sellers and ensure healthy competition, value, and selection that benefit consumers online. The solution is simple: if Congress passes online sales tax legislation, we believe … Continue reading

Posted in Marketing | Tagged , | Leave a comment

Installing php apc with homebrew

I’ve been enjoying using the keg homebrew-php by josegonzalez in order to run the latest versions of PHP, like PHP 5.4 on Mac running OS X 10.8 Snow Leopard. I also like to use Ubuntu on some cloud web servers and have been noticing a huge improvement in performance when the php module apc is installed / enabled. Recently I learned that I can get this same performance boost on in my development environment on my mac by using apc here too. Just install it with homebrew: brew install php54-apc The module will be installed and enabled, and on my system it created a new config file called ext-apc.ini in the directory /usr/local/etc/php/5.4/conf.d and it has some great defaults: [apc] extension=”/usr/local/Cellar/php54-apc/3.1.10/” apc.enabled=1 apc.shm_segments=1 apc.shm_size=64M apc.ttl=7200 apc.user_ttl=7200 apc.num_files_hint=1024 apc.mmap_file_mask=/tmp/apc.XXXXXX apc.enable_cli=0 One key here is that apc.shm_size needs to be set, and that it also needs to have the suffix M or I guess you could use K if you wanted a really small shm_size but honestly 64M works pretty great.

Posted in Mac, Web Development | Tagged , | Leave a comment

Force application windows to a certain position when the application is launched in OS X

Many applications seem to launch in appropriate positions but I wish that some (like Chrome and Firefox) would always launch on the left half of the screen, while I would like others like SublimeText to launch on the right side of the screen. I have checked the application settings and can’t find a way to do this. I’ve explored several window managers and am able to move the windows into position after they launch with a keyboard shortcut – but I would like them to launch in pre-determined positions. How can I force application windows to a certain position when the application is launched in OS X? After much searching I didn’t find a specific answer. However I did start using Slate for Mac OS X which is a very advanced, free, and open-source window manager. It has a .slate config file that is in the home directory. There is a issue requesting command line support and I really hope that gets implemented soon – that would solve my issue of easily positioning windows programmatically. If that doesn’t help, I also found a great question on the Apple Stack Exchange listing the best window managers for OS X.

Posted in Mac, Software, Tech Tips | Tagged , , | Leave a comment

Look, a dragonfly!

From the craigslist ASCII art when flagging a post: ____________________ ( look, a dragonfly! ) ——————– o o o @[email protected] (—-) ( )–( ) o0..0o

Posted in Design, Marketing | Tagged | Leave a comment

Google Adwords Tutorial and FAQ

Frequently Asked Questions How much will I earn through Google Adwords? When do I get paid for Google Adsense? Can I show ads on more than one website? Will I have to pay taxes on my Google AdSense earnings? How do I submit my tax information to Google? What if I don’t have a tax ID? Watch Google AdSense Demos Getting started with AdSense Payment Schedule demo Activation Demo Help with Ad Code Demo Google Publisher Tools Drive traffic to your site with Google AdWords Improve your site’s visibility in Google search results with Google Webmaster Tools Add interactivity to your site with Blogger Other Google Publisher Tools

Posted in Marketing, Tech Tips | Tagged , , | Leave a comment

ActivePerl Flags

Recently I had to setup Active Perl with Sublime Text 2 in Windows 8. After adding a new build system and setting up the path to perl.exe with the -w flag I wanted to figure out what other flags were available. You can pass perl several flags: bin/perl -w bin/perl -p bin/perl -d bin/perl -i bin/perl -t bin/perl -pe bin/perl -pi Here are what the perl flags do: -i: Modifies your input file in-place -w: Activates some warnings -d: Runs under the Perl debugger -t: Treats certain “tainted” code as warnings -p: Places a printing loop around your command so that it acts on each line of standard input. -e: Allows you to provide the program as an argument rather than in a file.

Posted in Tech Tips | Tagged , , , | Leave a comment

PHP rjust

Python has a neat feature that does right alignment of strings with the syntax: string.rjust(padding,fill_char) The method rjust() returns the string right justified in a string of length width. Padding is done using the specified fillchar (default is a space). The original string is returned if width is less than len(s). Below you can find how to do it in PHP php rjust function // by function rjust($string,$total_length,$fillchar=’ ‘) { // if the string is longer than the total length allowed just return it if(strlen($string) >= $total_length) { return $string; } $total_length = intval($total_length); // total_length must be a number greater than 0 if( ! $total_length ) { return $string; } // the $fillchar can’t be empty if(!strlen($fillchar)) { return $string; } // make the fill character into padding while(strlen($fillchar) < $total_length) { $fillchar = $fillchar.$fillchar; } return substr($fillchar.$string, ( -1 * $total_length )); } test php rjust function header(‘Content-type: text/plain’); $items = array(‘one’,’a’,’superduper’); foreach($items as $item) { echo rjust($item,15); echo “\n”; } php rjust function output one a superduper

Posted in Tech Tips, Web Development | Tagged | 1 Comment

GMail: Get the Old Compose Back

Here’s how to get the old compose email back with G-mail. Google is warning that the change back may only be temporary – but I hate the new compose style so perhaps with enough feedback from other users they will allow the old-school style of compose to stick around.

Posted in Tech Tips | Tagged , | 1 Comment