Install Ubuntu Server Download an image from this site Select File > New… to and follow the instructions, choose the .iso file you downloaded as image file Deselect "Simple installation" – you...

...session) is running: ps -aux|grep vnc If you see Xvnc4 :17 then the server is already running. Kill this server if it is already running. vncserver -kill :17

...make sure to remove the lockfile of the VNC server you just murdered: rm -f /tmp/.X17-lock Geordi should start the server again when it needs it...

...keep the files you actually need, you should remove stale Paperclip styles from your server. This script has been used in production successfully. Use at your own risk. # Config #######################################################################

Install OpenSSH Server: sudo apt-get install openssh-server To check if the server is running you should get no error when you restart it: sudo /etc/init.d/ssh restart

...ssh server is ready to use. To add additional security edit your sshd_config (gksudo gedit /etc/ssh/sshd_config): # Deny root login: PermitRootLogin no # To whitelist users: AllowUsers USERNAME1 USERNAME2

If you specify different ports, you can run multiple local webricks with rails server --port=300X at the same time...

I followed this nice guide Connecting to MSSQL with Ruby on Ubuntu - lambie.org until I ran in the following errors...

To reduce download time, application servers usually serve content using gzip compression, if the browser supports it. When using a tool like Wget to explicitly download an application's response...

...the server responds with the uncompressed version: wget http://example.com/ If you are curious about the compressed file's size, pass the corresponding HTTP header: wget --header="accept-encoding: gzip...

...inaction_mailer. Setup inaction_mailer Install the gem: sudo gem install popthis Start the server: popthis tmp/sent_mails/ # e.g. the folder containing the .txt-mails generated by inaction_mailer Now, configure...

...your mail client as follows: Server: localhost Protocol: POP3 Port: 2220 Username: anything Password: anything

By default, Capistrano truncates server responses and places an ellipsis at the end of lines that are longer than your terminal. Error messages are never truncated. While this can be...

Connect to your memcached host. (AWS elasticache is memcached) telnet foohost23.cs2631.0001.euw1.cache.amazonaws.com 11211 Once you're connected, find out which 'slabs...

github.com

...added to your project and your Apache2/Passenger only replies with an Error 500 (Internal Server Error) you won't get any love from both application and Apache logs.

...there. It should also fail but you will most likely see this error: Internal Server Error undefined method `new' for "Rack::Bug":String While the following is (for some reason...

github.com

fake_stripe spins up a local server that acts like Stripe’s and also serves a fake version of Stripe.js, Stripe’s JavaScript library that allows you to collect your...

...customers’ payment information without ever having it touch your servers. It spins up when you run your feature specs, so that you can test your purchase flow without hitting Stripe...

...will tunnel HTTP requests to one given domain and port through an intermediary SSH server: ssh -L 8080:targethost:80 tunnelhost http://localhost:8080 will now connect you to...

makandra dev

...or RAILS_ENV=env_name if you want to run a script on the server. at Rails 2 it's script/runner bundle exec script/runner -e env_name path/to/script.rb argument1 argument2...

After you configured your ODBC describe in Fix [RubyODBC]Cannot allocate SQLHENV when connecting to MSSQL 2005 with Ruby 1.8.7...

You can use gem list to list all gems available from a remote gem server: gem list -r --clear-sources -s 'https://user:password@gemserver.tld/' This is useful to debug cases...

When you require the Ruby debugger to be available from your Rails console (e.g. you want to inspect a method...

Insert into ~/.bashrc and reload afterwards: source ~/.bashrc PS1='${debian_chroot:+($debian_chroot)}\[\033[41;33m\]\u@\h\[\033[00m...

github.com

If you have different users for different servers, don't use set :user. Encode the username into the server definition instead: server "username@servername.tld", :app, :web, :cron, :db, :primary => true

You need to install the following packages before you can build the Paperclip gem: sudo apt-get install imagemagick librmagick...

You need to install the following packages before you can build the Nokogiri gem: sudo apt-get install libxml2-dev...

jboss.org

...application framework and tools for rapid development of maintainable high performance & high scalability protocol servers & clients...

integrityapp.com

Integrity is the angel watching over your shoulder while you code. As soon as you push your commits, it builds...