Installation commands:
wget http://redis.googlecode.com/files/redis-2.2.2.tar.gz
tar xvfz redis-2.2.2.tar.gz
cd redis-2.2.2/
mkdir -p /opt/redis
make PREFIX=/opt/redis install
cp redis.conf /opt/redis/redis.conf
sudo useradd redis| # Remove unnecessary files that rails creates for us. | |
| remove_file "public/index.html" | |
| remove_file "public/images/rails.png" | |
| remove_file "public/javascripts" | |
| empty_directory "public/javascripts" | |
| create_file "public/javascripts/application.js" | |
| gem_group :assets do | |
| gem 'twitter-bootstrap-rails' | |
| gem 'less' |
| active_guide | |
| argument-name | |
| block_cursor | |
| brackethighlighter.curly | |
| brackethighlighter.tag | |
| class | |
| class-inheritance | |
| class-name | |
| comment | |
| comment.block |
| # Configs | |
| config defaultToCurrentScreen true | |
| config nudgePercentOf screenSize | |
| config resizePercentOf screenSize | |
| config secondsBetweenRepeat 0.1 | |
| config checkDefaultsOnLoad true | |
| config focusCheckWidthMax 3000 | |
| config keyboardLayout qwerty | |
| config windowHintsShowIcons true | |
| config windowHintsIgnoreHiddenWindows false |
| module MyModule | |
| # Regenerating code | |
| end unless __FILE__ == $0 | |
| if __FILE__ == $0 | |
| require 'savon' | |
| split_on = "#" + " Regenerating code" | |
| code = File.read(__FILE__).split(split_on).last | |
| wsdl_file_path = File.join(File.dirname(__FILE__), ARGV.first || raise("Gimme file!")) |
Installation commands:
wget http://redis.googlecode.com/files/redis-2.2.2.tar.gz
tar xvfz redis-2.2.2.tar.gz
cd redis-2.2.2/
mkdir -p /opt/redis
make PREFIX=/opt/redis install
cp redis.conf /opt/redis/redis.conf
sudo useradd redisGet it from http://developer.apple.com. You will not be able to submit apps to any stores using this XCode version, so turn away if that is something you might want to do.
In XCode's Preferences > Downloads you can install command line tools.
| ## | |
| # Authentication Plugin via omniauth on Padrino | |
| # prereqs: | |
| # http://github.com/intridea/omniauth/ | |
| # http://github.com/achiu/omniauth/ working fork | |
| # | |
| module OmniAuthInitializer | |
| def self.registered(app) | |
| require 'omniauth' | |
| // enum.cpp : Defines the entry point for the console application. | |
| // | |
| #include "stdafx.h" | |
| #include <cstdio> | |
| #include <cstring> | |
| #include <windows.h> | |
| #include <comcat.h> | |
| int _tmain(int argc, _TCHAR* argv[]) |
| require 'rubygems' | |
| require 'html2markdown' | |
| first_block = <<END | |
| <div id="wikicontent" style="padding:0 3em 1.2em 0"> | |
| <p><img src="http://cjcat2266.googlepages.com/Emitterlogo.png"> </p><h1><a name="Emitter_is_now_version_2.1">Emitter is now version 2.1</a><a href="#Emitter_is_now_version_2.1" class="section_anchor">¶</a></h1><p><a href="http://emitter.googlecode.com/svn/trunk/docs/index.html" rel="nofollow">Documentation</a> </p><p><a href="http://cjcat.blogspot.com/2009/06/using-tortoisesvn-to-check-out-files.html" rel="nofollow">How to check out the latest source files from the SVN repository</a> </p><hr><h2><a name="Emitter_Video_Tutorials_are_now_available_on_!!">Emitter Video Tutorials are now available on YouTube!!</a><a href="#Emitter_Video_Tutorials_are_now_available_on_!!" class="section_anchor">¶</a></h2><p><a href="http://www.youtube.com/view_play_list?p=84AC3DE6772538E4" rel="nofollow"><img src="http://www.sabredefence.com/images/youtube_logo.gif"></a> </p><p>Check out the complete playlist <a hr |