Skip to content
View goodarzi's full-sized avatar
Block or Report

Block or report goodarzi

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. Huawei HG8245H ONT reboot script Huawei HG8245H ONT reboot script
    1
    #!/usr/bin/expect
    2
    
    
    3
    set timeout 20
    4
    spawn telnet 192.168.0.1 
    5
    expect "Login:"
  2. iOS DNS Settings for cellular data iOS DNS Settings for cellular data
    1
    <?xml version="1.0" encoding="UTF-8"?>
    2
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http:https://www.apple.com/DTDs/PropertyList-1.0.dtd">
    3
    <plist version="1.0">
    4
    <dict>
    5
    	<key>PayloadContent</key>
  3. Bash script to install it self as sy... Bash script to install it self as systemd timer
    1
    #!/usr/bin/env bash
    2
    
    
    3
    # set -x
    4
    
    
    5
    script_name=$(basename "${0%.*}")
  4. Install vnc server debian 12 (bookwo... Install vnc server debian 12 (bookworm)
    1
    #!/usr/bin/env bash
    2
    
    
    3
    sudo apt install tightvncserver
    4
    
    
    5
    if [ ! -e $HOME/.Xresources ]; then
  5. Get ASN from ip address and then cre... Get ASN from ip address and then create ipset with all IP4/6 prefix associated with ASN
    1
    #!/usr/bin/env bash
    2
    [[ -v 1 ]] && IP=$1 || { echo "Please enter ip address"; exit 1; }
    3
    
    
    4
    ASNS=$(curl -s https://stat.ripe.net/data/network-info/data.json?resource=$IP | jq -r .data.asns[])
    5
    
    
  6. Install Bash 5.2 on macOS Install Bash 5.2 on macOS
    1
    # Install bash using HomeBrew
    2
    brew install bash
    3
    
    
    4
    # Add new Bash to macOS shell list 
    5
    sudo echo -e "/usr/local/bin/bash\n" >> /etc/shells