Install Kubernets on MAC

What is Minikube? Minikube is a tool that makes it easy to run Kubernetes locally. Minikube is available for download at : SYNTAX: curl -Lo minikube https://storage.googleapis.com/minikube/releases//minikube-darwin-amd To install version v0.26.1 curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.26.1/minikube-darwin-amd64 Change the permission and move to the required folder chmod +x minikube && sudo mv minikube /usr/local/bin/ Now try to... Continue Reading →

Advertisements

A JavaScript library to zip and unzip files

Was looking for a javascript library which can perform file zip operation on the frontend. Please find the attached link for this, library and its github profile. Plugin 1 : URL: https://gildas-lormeau.github.io/zip.js/ github: https://github.com/gildas-lormeau/zip.js Plugin 2: URL: https://stuk.github.io/jszip/

Set terminal title in Ubuntu 16

Create a function in ~/.bashrc: function set-title() { if [[ -z "$ORIG" ]]; then ORIG=$PS1 fi TITLE="\[\e]2;$*\a\]" PS1=${ORIG}${TITLE} } Use below command to set the terminal title. set-title name Example : set-title Gurudath set-title Gurudath Workplace Reference link: https://askubuntu.com/questions/774532/how-to-change-terminal-title-in-ubuntu-16-04

Binary patched by using various algorithm :

bsdiff: To install : sudo apt-get install bsdiff Create Patch : bsdiff old_version_file new_version_file delta_file.bsdiff Apply Patch : bspatch old_version_fil newfile delta_file.bsdiff Example by using text file : bsdiff dog.txt hen.txt hd.diff bspatch hen.txt dog1.txt hd.diff xdelta: To install : sudo apt-get install xdelta3 Create Patch : xdelta3 -9 -S lzma -e -f -s old_version_file new_version_file... Continue Reading →

jQuery by Gurudath BN

jQuery Introduction jQuery is a lightweight, "write less, do more", JavaScript library. The purpose of jQuery is to make it much easier to use JavaScript on your website. jQuery also simplifies a lot of the complicated things from JavaScript, like AJAX calls and DOM manipulation. The jQuery library contains the following features: HTML/DOM manipulation   CSS... Continue Reading →

Animations using jQuery

The jQuery animate() method is used to create custom animations. Syntax: $(selector).animate({params},speed,callback); params :- defines the CSS properties to be animated. speed :- specifies the duration of the effect. It can take the following values: "slow", "fast", or milliseconds. callback :- function to be executed after the animation completes. Example: $("button").click(function(){      $("span").animate({  ... Continue Reading →

Powered by WordPress.com.

Up ↑