Skip to content
View Programming Ruby 1.9 & 2.0, 4th edition Book Notes.md

6. Standard Types

6.2 Strings

Interpolation: Braces can be omitted for global/class/instance variables (p. 86)

These are valid:

"Safe level is #$SAFE"   # => Safe level is 0
class Test1
View Comodo Essential SSL CA Bundle.md

Concatenate the files in the following order:

Root CA Certificate - AddTrustExternalCARoot.crt
Intermediate CA Certificate - COMODORSAAddTrustCA.crt
Intermediate CA Certificate - COMODORSADomainValidationSecureServerCA.crt
Your EssentialSSL Certificate - www_example_com.crt *

(*) Exclude the real certificate "www_example_com.crt" if CA bundle is entered separately.

View Paperclip_S3_IAM_user_per_bucket_region.md

Amazon

I'm assuming you have already created an Amazon AWS account and an S3 bucket.

  1. Open the [IAM console][1]

  2. Create a group:

    • Groups
    • Create New Group
    • (Enter a name, e.g. user_per_bucket) Next Step
View Capistrano Deployment Notes.md

Environment

  • Example ~/.bash_profile:

    [[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
    
    export RBENV_ROOT="${HOME}/.rbenv"
    
    if [ -d "${RBENV_ROOT}" ]; then
      export PATH="${RBENV_ROOT}/bin:${RBENV_ROOT}/plugins/ruby-build/bin:${PATH}"
View IntelPowerGadgetMac3.0.1_licence
IMPORTANT - READ BEFORE COPYING, INSTALLING OR USING.
Do not copy, install, or use the "Materials" provided under this license agreement ("Agreement"), until you have carefully read the following terms and conditions.
By copying, installing, or otherwise using the Materials, you agree to be bound by the terms of this Agreement. If you do not agree to the terms of this Agreement, do not copy, install, or use the Materials.
End User License Agreement for the Intel(R) Power Gadget
1. LICENSE DEFINITIONS:
A. "Materials" are defined as the software in source and object code formats, documentation, license key codes and other materials, including any updates and upgrade thereto, that are provided to you under this Agreement.
View Set Up MongoDB (2.6 and 3) Authentication.md

Set Up MongoDB (2.6 and 3) Authentication

  1. Create admin user

    use admin
    db.createUser(
        {
            user: "admin",
            pwd: "***",
View Server Security and Performance - Base OS.md
Notes
Preliminary packages
  • Development packages, you'll most probably need them
    • Ubuntu: sudo apt-get install build-essential
    • CentOS: yum groupinstall 'Development Tools'
  • Git
View homebrew_postgres_recreate.sh
gem install lunchy
pg_dumpall > pg_all.sql
# Kill anything that access PostgreSQL before this, e.g. local rails server, pgAdmin etc
sudo lunchy stop homebrew.mxcl.postgresql
mv /usr/local/var/postgres{,.bak}
LC_CTYPE="tr_TR.UTF-8" initdb -E UTF-8 --locale=tr_TR --lc-collate=tr_TR --lc-ctype=tr_TR -D /usr/local/var/postgres/
sudo lunchy start homebrew.mxcl.postgresql
psql -f pg_all.sql -d postgres
# Make sure pg_all.sql is safe and can be restored before this
rm -rf /usr/local/var/postgres.bak
Something went wrong with that request. Please try again.