September 2010
3 posts
* /dev/null is not a character device! do this shit: sudo rm /dev/null sudo mknod /dev/null c 1 3 sudo chmod 666 /dev/null
Sep 17th
Update sqlite3 $ curl -O http://www.sqlite.org/sqlite-3.6.22.tar.gz $ tar xzf sqlite-3.6.22.tar.gz $ cd sqlite-3.6.22  $ ./configure —prefix=/usr/local $ make $ sudo make install
Sep 7th
list all gem no versions sudo gem list —no-versions
Sep 7th
August 2010
8 posts
http://www.microsoftstartupzone.com/v2/Blogs/gettingstarted/Lists/Posts/Post.aspx?ID=117&ID=117 Steve is an old friend and keeps this great bibliography of great books for startups. It grows over time. He uses it in his classes at Berkeley and Columbia on entrepreneurship. He graciously provided them to me in unlocked format to share with you. Please share your own list of favorites and...
Aug 31st
DM Sanitizer http://github.com/pat/dm-sanitizer/
Aug 8th
http://github.com/snusnu/dm-is-localizable
Aug 8th
read-later http://nickhalstead.com/what-motivates-programmers
Aug 7th
read-later http://scripting.com/stories/2010/08/04/googleVsIphone.html
Aug 4th
varnish no cache for authentication #no cache for authenticationg if (req.http.Authenticate || req.http.Authorization) { pass; }
Aug 3rd
Verisign SSL certificate in Nginx
#check intermediate certificate openssl verify my_interm_certificate_ssl.crt » my_interm_certificate_ssl.crt: OK #check verisign certificate openssl verify -CAfile my_interm_certificate_ssl.crt my_certificate_ssl.crt » my_certificate_ssl.crt: OK #http://wiki.nginx.org/NginxHttpSslModule #using a single file for Nginx SSL configuration (merging them together) ...
Aug 3rd
read-later Happy Customers Through An Improved Checkout - http://bit.ly/aL1AMn
Aug 2nd
July 2010
20 posts
Helicopter http://www.amazon.com/dp/8499000606/?tag=codinghorror-20
Jul 28th
IVA localização: http://info.portaldasfinancas.gov.pt/pt/informacao_fiscal/codigos_tributarios/civa_rep/iva6.htm Artigo 6 > Alinea a) http://info.portaldasfinancas.gov.pt/pt/informacao_fiscal/legislacao/instrucoes_administrativas/oficios_circulados_IVA.htm 3113/20/oct/2009 3112/20/Oct/2009 3115
Jul 28th
Nginx password protection http://jorge.fbarr.net/2009/08/28/password-protecting-folders-with-nginx/
Jul 28th
read-later http://www.theregister.co.uk/2010/07/22/nokia_manifesto_risku/page4.html
Jul 23rd
http://wiki.shopify.com/Tutorial_to_convert_existing_product_to_multiple_options http://blog.shopify.com/2009/4/21/multiple-options-for-products-released
Jul 15th
Product variants http://wiki.shopify.com/Tutorial_to_convert_existing_product_to_multiple_options
Jul 15th
Ruby encoding: usually, you do the following: 1. read external data, 2. force encoding to the assumed external encoding, (2.5 check validity, but that has a speed cost), 3. use #encode to convert it to internal encoding
Jul 14th
Install Ruby 1.9.1 on Ubuntu EC2
#Installing Ruby on EC2 #INSTALLING RUBY 1.9.1 apt-get uninstall ruby curl -O http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p378.tar.gz tar -zxvf ruby-1.9.1-p378.tar.gz ./configure —prefix=/usr/local sudo make sudo make install  » restart bash session (update enviroment).  $which ruby ( => /usr/local/bin/ruby ) ??sudo gem update —system?? ??sudo gem...
Jul 13th
Install Ruby 1.9.1 on Ubuntu EC2
#Installing Ruby on EC2 #INSTALLING RUBY 1.9.1 apt-get uninstall ruby curl -O http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p378.tar.gz tar -zxvf ruby-1.9.1-p378.tar.gz ./configure —prefix=/usr/local sudo make sudo make install  » restart bash session (update enviroment).  $which ruby ( => /usr/local/bin/ruby ) ??sudo gem update —system?? ??sudo gem...
Jul 13th
#later http://mixergy.com/tobias-lutke-shopify-interview/
Jul 10th
MysqlDump with compression mysqldump -u root -pSomePass some_db | gzip -9 > some_output_file.sql
Jul 10th
#later http://blog.shopify.com/2010/7/8/using-social-media-with-your-store-2
Jul 8th
How to move an ec2 image to a different region http://www.dotanmazor.com/index.php?option=com_content&view=article&id=96:ec2-ami-move&catid=16:2008-11-14-08-43-34&Itemid=48
Jul 8th
#later http://www.vimeo.com/8569187
Jul 8th
SQLite truncate table: $ sqlite3 name_of_your_db.db » delete from name_of_your_table; This has the same effect as tuncating a table.
Jul 7th
Nice to read.. bounced by accident.
Jul 1st
ruby and google analytics http://www.artweb-design.de/projects/ruby-on-rails-plugin-google-analytics
Jul 1st
Icons, icon http://www.iconshock.com/professional-icons.php
Jul 1st
http://www.theamericanscholar.org/solitude-and-leadership/
Jul 1st
#read-later
Jul 1st
June 2010
28 posts
RVM guide Ruby. Multiple Ruby versions http://openhood.com/ruby/sinatra/2010/03/01/ruby-1.9.2-and-sinatra-1.0a/
Jun 29th
Calendário Fiscal Portugal 2010 http://info.portaldasfinancas.gov.pt/pt/apoio_contribuinte/calendario_fiscal/
Jun 29th
read-later: http://www.fourhourworkweek.com/blog/2010/06/28/mba/#
Jun 29th
Riby Liquid Colleciton Pagination http://wiki.shopify.com/Paginate
Jun 25th
Ruby Crash Course. Fuck I was needing this one! http://www.atrus.org/presentations/ruby_crash/
Jun 20th
Padirno Documentation http://www.padrinorb.com/api/index.html
Jun 20th
#read-later http://www.youtube.com/watch?v=A3oIiH7BLmg&feature=youtube_gdata
Jun 19th
Ruby QuickRef: http://www.zenspider.com/Languages/Ruby/QuickRef.html
Jun 18th
More on SSL / Nginx http://nginx.groups.wuyasea.com/articles/how-to-setup-godaddy-ssl-certificate-on-nginx/2
Jun 18th
SSL Certificates on Nginx Server: http://wiki.nginx.org/NginxHttpSslModule
Jun 18th
CREATE USER ‘tiago_user’@’%’ IDENTIFIED BY ‘xxx’; GRANT ALL PRIVILEGES ON tiago_db.* TO ‘tiago_user’@’%’ WITH GRANT OPTION;
Jun 17th
Wordpress migration: UPDATE wp_posts SET post_content = REPLACE(post_content, ‘oldwebsite.com’, ‘newwebsite.com’); UPDATE wp_posts SET guid = REPLACE(guid, ‘oldwebsite.com’, ‘newwebsite.com’); UPDATE wp_postmeta SET meta_value = REPLACE(meta_value, ‘oldwebsite.com‘, ‘newwebsite.com’); UPDATE wp_options SET option_value = REPLACE(option_value, ‘oldwebsite.com’, ‘newwebsite.com’); UPDATE...
Jun 17th
#read-later Steve : Big Brother http://opinionator.blogs.nytimes.com/2010/06/01/is-steve-jobs-big-brother/
Jun 16th
Bring Ruby 1.9.2 to the mix and forget latin encoding problems http://openhood.com/ruby/sinatra/2010/03/01/ruby-1.9.2-and-sinatra-1.0a/
Jun 14th
Rail custom localization: http://www.artweb-design.de/2009/7/19/experimental-extensions-in-i18n-pluralization-fallbacks-gettext-cache-and-chain
Jun 14th
Sinatra Book: http://sinatra-book.gittr.com/#
Jun 14th
SEO http://www.seomoz.org/blog/whiteboard-friday-get-indexed-faster-with-richard-baxter?utm_source=twitterfeed&utm_medium=twitter&utm_campaign=Feed%3A+seomoz+%28SEOmoz+Daily+Blog%29
Jun 12th
Making Freemium work http://dbarradas.tumblr.com/post/690529738/google-i-o-2010-making-freemium-work
Jun 12th
All Ruby i18n stuff: http://rails-i18n.org/wiki Service: http://99translations.com/
Jun 11th