July 26, 2008
Posted by sunshine
WordPress for iPhone
It is now easy to blog on the go using the WordPress app on the iPhone!
July 26, 2008
Posted by sunshine
It is now easy to blog on the go using the WordPress app on the iPhone!
Posted by roadburn
http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/
1 2 3 4 5 | $ sudo gem install capistrano $ capify . $ cap deploy:setup $ cap deploy:cold $ cap deploy:migrations |
Can’t remember where I got this from…
deploy.rb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | set :runner, "username" set :use_sudo, false # ============================================================================= # CUSTOM OPTIONS # ============================================================================= set :user, "username" set :application, "application.com" set :domain, "my.ip.address.here" set :alias, %{ application.com } role :web, domain role :app, domain role :db, domain, :primary => true # ============================================================================= # DATABASE OPTIONS # ============================================================================= set :rails_env, "production" # ============================================================================= # DEPLOY TO # ============================================================================= set :deploy_to, "/home/#{user}/#{application}" # ============================================================================= # REPOSITORY # ============================================================================= set :scm, "git" set :deploy_via, :remote_cache set :repository, "/home/#{user}/reponame.git" # ============================================================================= # SSH OPTIONS # ============================================================================= default_run_options[:pty] = true ssh_options[:paranoid] = false ssh_options[:keys] = %w(/Users/username/.ssh/id_rsa) ssh_options[:port] = 1600 |
http://www.softiesonrails.com/2008/6/5/the-absolute-moron-s-guide-to-capistrano-git-and-thin-edition
Posted Under Rails
July 24, 2008
Posted by roadburn
http://www.buildingwebapps.com/learningrails/14
Posted Under Uncategorized
July 23, 2008
Posted by roadburn
Getting this problem?
ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
Posted Under Uncategorized
Posted by roadburn
http://onlyubuntu.blogspot.com/2007/05/how-to-install-webmin-in-ubuntu.html
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.340_all.deb
sudo dpkg -i webmin_1.340_all.deb
If libraries are missing..
sudo apt- get install -f
Posted Under Coding Tips
July 18, 2008
Posted by roadburn
http://mdablog.spaces.live.com/blog/cns!B0C40902E1212960!623.entry
<script type="text/javascript"> _spBodyOnLoadFunctionNames.push("fillDefaultValues"); var vals = new Object(); var navBarHelpOverrideKey = "wssmain"; function fillDefaultValues() { var qs = location.search.substring(1, location.search.length); var args = qs.split("&"); for (var i=0; i < args.length; i++) { var nameVal = args[i].split("="); var temp = unescape(nameVal[1]).split('+'); nameVal[1] = temp.join(' '); vals[nameVal[0]] = nameVal[1]; } setLookupFromFieldName("ProjectID", vals["ProjectID"]); } // setLookupFromFieldName: Set a form field value using its // fieldname to find it in the page // Arguments: // fieldName: The name of the list column // value: Set the fieldName to this value // function setLookupFromFieldName(fieldName, value) { if (value == undefined) return; var theInput = getTagFromIdentifierAndTitle("input","",fieldName); if(theInput != null) { theInput.value = value; } } // getTagFromIdentifierAndTitle: Find a form field object using its tagName, // identifier, and title to find it in the page // Arguments: // tagName: The type of input field (input, select, etc.) // identifier: The identifier for the instance of the fieldName // (ff1, ff2, etc.) // title: The title of the list column // function getTagFromIdentifierAndTitle(tagName, identifier, title) { var len = identifier.length; var tags = document.getElementsByTagName(tagName); for (var i=0; i < tags.length; i++) { var tempString = tags[i].id; if (tags[i].title == title && (identifier == "" || tempString.indexOf(identifier) == tempString.length - len)) { return tags[i]; } } return null; } </script>
Posted Under Uncategorized
July 17, 2008
Posted by roadburn
http://www.youtube.com/profile_videos?user=SharePointGuys
Posted Under Uncategorized
July 16, 2008
Posted by roadburn
http://www.sharepointblogs.com/llowevad/archive/2007/06/25/sharepoint-2007-single-sign-on-setup.aspx
http://technet.microsoft.com/en-us/library/cc262932(TechNet.10).aspx
Posted Under Uncategorized
Posted by roadburn
http://api.rubyonrails.org/classes/ActionView/Helpers/PrototypeHelper.html#M000414
Posted Under Uncategorized
July 15, 2008
Posted by roadburn
http://www.sitepoint.com/article/learn-ruby-on-rails
Posted Under Uncategorized