Skip to content
View joaopfsilva's full-sized avatar
🔜
Building Old Mates Advice and Granino.coffee
🔜
Building Old Mates Advice and Granino.coffee

Highlights

  • Pro

Block or report joaopfsilva

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. rails-string-to-pdf.rb rails-string-to-pdf.rb
    1
    # require gem wicked-pdf
    2
     
    3
    # create a pdf from a string
    4
    pdf = WickedPdf.new.pdf_from_string('<hI>Hi Ruby! I am WickedPdf</h1>')
    5
     
  2. Bash script to enter with SSH on app... Bash script to enter with SSH on app engine instance and disable instance.
    1
    #!/bin/bash
    2
     
    3
    # 1. `./main.sh staging` -> enter staging ssh
    4
    # 2. `./main.sh production` -> enter production ssh
    5
    # 3. `./main.sh staging disable` -> disable staging debug
  3. clamshell_mode.sh clamshell_mode.sh
    1
    #!/bin/bash
    2
     
    3
    if [ $# -ne 1 ]; then
    4
     echo "Usage: $0 <option>"
    5
     exit 1