Skip to content

Instantly share code, notes, and snippets.

@CRUZEAAKASH
CRUZEAAKASH / DockerFile
Last active March 20, 2022 16:17
Sample Dockerfile to run HelloWorld Java Application
FROM alpine:latest
RUN apk --update add openjdk11-jre
ADD helloWorld.class helloWorld.class
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "helloWorld"]
@CRUZEAAKASH
CRUZEAAKASH / VB Script Commands
Last active September 23, 2019 11:14
VB Script Commands
'''''''''''''''''''''''''''''''''''''''''''''
'''''''1. To take user input
''''''''''''''''''''''''''''''''''''''''''''
name = inputbox("Enter your name Please:")
By this command a message box will pop up to enter the name
2. To print the output on Console - use Echo
WScript.Echo "name=" + name
@CRUZEAAKASH
CRUZEAAKASH / LinuxCommands
Last active September 24, 2019 06:57
Linux Commands
'''''''''''''''''''''''''''''''''''''''''''''
'''UseFul Linux Command
'''''''''''''''''''''''''''''''''''''''''''''
1. To take backup of a file or copy paste a file from one location to another
cp <Filepath/filename> <filepath/filename.bak>
2. To copy all the sub-directories also, use -r with cp command
cp -r <Filepath1/filename1> <filepath2/filename2>