Skip to content
View joaopfsilva's full-sized avatar
🏠
Coding from Amsterdam
🏠
Coding from Amsterdam

Highlights

  • Pro
Block or Report

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

  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