Skip to content
View phnahes's full-sized avatar

Block or report phnahes

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. Clone HDD to SSD and using SSD for B... Clone HDD to SSD and using SSD for Boot and System (UEFI)
    1
    # Boot a LiveCD linux and install clonezilla
    2
    apt update && apt install clonezilla -y
    3
    
                  
    4
    # Using Gparted, clone partitions in the same type, size and flags from source disk (sda) on target target(sdb)
    5
    
                  
  2. Configurations for config.txt on Ras... Configurations for config.txt on RaspberryPi
    1
    # Configure HDMI to work on low resolutions for bad monitors
    2
    # https://www.raspberrypi.org/documentation/configuration/config-txt/video.md - Session hdmi_mode
    3
    
                  
    4
    hdmi_force_hotplug=1
    5
    hdmi_ignore_edid=0xa5000080
  3. Windows Subsystem Linux - /etc/wsl.conf Windows Subsystem Linux - /etc/wsl.conf
    1
    [automount]
    2
    enabled = true
    3
    root = /
    4
    options = "metadata,umask=22,fmask=11,uid=1000,gid=1000"
    5
    mountFsTab = false
  4. Decrypt Jenkins credential.xml Decrypt Jenkins credential.xml
    1
    println(hudson.util.Secret.decrypt("{...}"))
  5. [SED] remove new line using sed and ... [SED] remove new line using sed and bash
    1
    cat file.txt | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/ /g' 
  6. parse .env parse .env
    1
    source <(grep -v '^#' .env | sed -E 's|^(.+)=(.*)$|: ${\1=\2}; export \1|g')