Skip to content

Instantly share code, notes, and snippets.

View DEALTALFA's full-sized avatar
🐬
Seeing you

Deepak Yadav DEALTALFA

🐬
Seeing you
  • Vasco da Gama
View GitHub Profile
@echo off
title Activate Microsoft Office 2021 (ALL versions) for FREE - MSGuides.com&cls&echo =====================================================================================&echo #Project: Activating Microsoft software products for FREE without additional software&echo =====================================================================================&echo.&echo #Supported products:&echo - Microsoft Office Standard 2021&echo - Microsoft Office Professional Plus 2021&echo.&echo.&(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2021VL_KMS*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo =====================================================================================&echo Activating your product...&cscript //nologo slmgr.vbs /ckms >nul&c
@DEALTALFA
DEALTALFA / myscript.sh
Created August 31, 2022 15:20 — forked from bradtraversy/myscript.sh
Basic Shell Scripting
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"
@DEALTALFA
DEALTALFA / office19Activator.cmd
Last active April 18, 2023 00:26
To activate office 19
@echo off
title Activate Microsoft Office 2019 ALL versions for FREE!&cls&echo ============================================================================&echo #Project: Activating Microsoft software products for FREE without software&echo ============================================================================&echo.&echo #Supported products:&echo - Microsoft Office Standard 2019&echo - Microsoft Office Professional Plus 2019&echo.&echo.&(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo ============================================================================&ech
# Install openshift on AWS ec2 type=t2.medium on Centos
#InstanceType= centos7 +HVM , install docker by running yum install docker -y
#username=developer password= developer
#!/usr/bin/bash
yum install wget -y
#put Openshift url accordingly from (https://github.com/openshift/origin/releases)
wget https://github.com/openshift/origin/releases/download/v3.9.0-alpha.3/openshift-origin-client-tools-v3.9.0-alpha.3-78ddc10-linux-64bit.tar.gz
tar -xzvf openshift-origin-client-tools-v3.9.0-alpha.3-78ddc10-linux-64bit.tar.gz
cp openshift-origin-client-tools-v3.9.0-alpha.3-78ddc10-linux-64bit/oc /usr/local/bin/
oc cluster up --routing-suffix=<Pub.IP>.nip.io --public-hostname=<public DNS>
@DEALTALFA
DEALTALFA / Dockerfile-nodejs
Created February 16, 2021 20:42
make a docker image for nodejs project
FROM node:latest #FROM to tell which base os to use
ENV NODE_ENV=production # make it productive
WORKDIR /app # telling Working directory where where the command should this is now the root directory
COPY ["package.json", "package-lock.json*", "./"] #copyied this file
RUN npm install -g create-react-app #npm dependencies
@DEALTALFA
DEALTALFA / hadoopSetup.sh
Created February 14, 2021 19:24
Install compatible java and Hadoop1.2.1
# !/usr/bin/bash
# Download and install hadoop 1.2.1 and compaitable java version In Redhat
# from google drive ==> https://drive.google.com/drive/u/0/folders/1zXxx3dlVxU9OilS_GMHjEDNaC7uMsrWS
yum -y install python3
pip3 install gdown
gdown --id 1541gbFeGZZJ5k9Qx65D04lpeNBw87rM5
gdown --id 17UWQNVdBdGlyualwWX4Cc96KyZhD-lxz
rpm -ivh jdk-8u171-linux-x64.rpm
rpm -ivh hadoop-1.2.1-1.x86_64.rpm --force