Skip to content

Instantly share code, notes, and snippets.

View ishantk's full-sized avatar
💭
Be Exceptional !!

Ishant Kumar ishantk

💭
Be Exceptional !!
View GitHub Profile
@ishantk
ishantk / Jenkinsfile
Created September 6, 2022 13:07
Jenkins File for NodeJS
pipeline {
agent any
stages {
stage('Source') {
steps {
// Get code from a GitHub repository
git 'link-to-your-git-repo'
// Run npm install
sh "npm install"
@ishantk
ishantk / docker-commands.txt
Created September 5, 2022 13:32
Docker CheatSheet
Install Docker (Containerization) -> https://www.docker.com/
docker image ls
docker container ls / docker ps
docker ps -a
docker stop container-name
docker start container-name
docker rm container-name
docker image rm image:tag
Create a Dockerfile
1. Install NodeJS (14 or 16)
https://nodejs.org/en/download/
check node version after installation
node --version
npm --version
npx --version
2. Install Expo CLI
npm install -g expo-cli
check expo version after installation
@ishantk
ishantk / HadoopApp.java
Last active April 18, 2022 09:03
GNE - Hadoop
package com.auribises.hadoop_demo;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;
import org.apache.hadoop.mapreduce.lib.output.TextOutputFormat;
import org.apache.hadoop.util.Tool;
@ishantk
ishantk / aws-ec2-devtool-setup.txt
Last active February 27, 2022 22:34
Setup Jenkins on AWS EC2 Instance
# Install JDK 8
sudo yum update -y
sudo yum install java-1.8.0-openjdk
# Install JDK 11 - java
sudo amazon-linux-extras install java-openjdk11
# Install JDK 11 Development - javac
sudo yum install java-11-openjdk-devel