Skip to content

Instantly share code, notes, and snippets.

View bishisht's full-sized avatar

Bishisht Bhatta bishisht

View GitHub Profile
@cmorisse
cmorisse / install_odoo_in_cloud9_blank_workspace.md
Last active April 15, 2018 09:37
Install odoo in a cloud9 "Blank" workspace
 _____          _        _ _   _____     _               _                          
|_   _|        | |      | | | |  _  |   | |             (_)                         
  | | _ __  ___| |_ __ _| | | | | | | __| | ___   ___    _ _ __                     
  | || '_ \/ __| __/ _` | | | | | | |/ _` |/ _ \ / _ \  | | '_ \                    
 _| || | | \__ \ || (_| | | | \ \_/ / (_| | (_) | (_) | | | | | |                   
 \___/_| |_|___/\__\__,_|_|_|  \___/ \__,_|\___/ \___/  |_|_| |_|                   
                                                                                    
                                                                                    
 _ _______ _             _    _ _   _    _            _                             
@kathyonu
kathyonu / Rails-applications-health-codes.md
Last active February 24, 2023 12:57
Rails Applications Upgrade Steps for Ruby, Rails and Gems

Commands to keep your app healthy, Ruby and Rails and gems wise using RVM.

If you use rbenv, please see Rails-application-health-codes-rbenv.md

Open new Terminal, note the gemsets showing:

rvm gemset list

You will see you are using the (default) gemset.
Keep your system up to date with rvm and brew:

@bgallagh3r
bgallagh3r / wp.sh
Last active March 24, 2024 03:12
Wordpress: Bash Install Script -- Downloads latest WP version, updates wp-config with user supplied DB name, username and password, creates and CHMOD's uploads dir, copies all the files into the root dir you run the script from, then deletes itself!
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
echo "Database Name: "
read -e dbname
echo "Database User: "
read -e dbuser
echo "Database Password: "
@zhengjia
zhengjia / capybara cheat sheet
Created June 7, 2010 01:35
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')