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

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
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
    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...
    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
    1
    #!/bin/bash
    2
    
                  
    3
    if [ $# -ne 1 ]; then
    4
      echo "Usage: $0 <option>"
    5
      exit 1