Skip to content

Instantly share code, notes, and snippets.

View rnagarajanmca's full-sized avatar

Nagarajan rnagarajanmca

View GitHub Profile
@rnagarajanmca
rnagarajanmca / jenkins_guideline.md
Created September 7, 2017 06:42
Jenkins setup Guidelines

Clear Jenkins build history

Use the following script to clear the build history from jenkins. Goto Manage Jenkins > Script Console and type the following script

// change this variable to match the name of the job whose builds you want to delete
def jobName = "Your Job Name"
def job = Jenkins.instance.getItem(jobName)

job.getBuilds().each { it.delete() }
@rnagarajanmca
rnagarajanmca / format_sd_rpi.md
Created September 20, 2017 11:20
Format SD card for Raspberry pi using Windows CMD

Formatting SD card using diskpart


Insert the SD card into an card reader and plug it to the PC.

  • Open a Windows command prompt console and start Diskpart by typing following command.

    \>diskpart

  • List all of your disks.

@rnagarajanmca
rnagarajanmca / apk install from windows context menu.md
Last active October 24, 2023 18:07
Register windows context menu entry to install apk with adb
@rnagarajanmca
rnagarajanmca / ubuntu_configure_noip.md
Created August 5, 2019 19:55
configure noip ( dynamic dns)

Install ddclient and configure noip dyn DNS


Install ddclient using following command

sudo apt-get install ddclient

Skip all installation steps (Don't worry we can configure after installation)

After successful installation open following file

@rnagarajanmca
rnagarajanmca / ubuntu_networking.md
Created August 30, 2019 16:23
Frequently used netwro

Netcat : To Listen packet recieved in specific port Sample usecases

:\> nc -v -l 8089 ## Listen to the port 8089
:\> nc -v 127.0.0.1 8089