Wednesday, November 10, 2021

Jenkins - No Plugin available for Execute Shell script on remote host

You were using this plugin in some previous versions of Jenkins but you are not getting ssh plugin after upgrade in the newer versions.

This plugin is very useful if you want to run the script on remote host.

This is the solution for you.

Download hpi file

https://plugins.jenkins.io/ssh/#releases

and import it using

Manage Jenkins > Manage Plugins > Advanced > Upload

 

Restart Jenkins, the option will be there in the Build Environment and Build.



mysql not inserting int greater than 2147483647

Solution :

Your column type might be int or similar. Use bigint as column type.

You will not face the issue.

Tuesday, October 12, 2021

Automated Script to Increase Views for a YouTube Video

YouTube's analytics system has been made with very advanced AI. When users try to gain the views with unauthorized methods, it detects very easily. It finds if the video was opened using browser or app, IP of the client, how many times same video was played, time duration of the video, logged in username, if user was not signed in then some parameters to detect authenticity and many other parameters which find out that the viewer is genuine or not.

Users want to increase the views immediately, they are impatient that's why they play same video multiple times, it might increase the view count in the studio immediately but after sometimes or days, the views will be reduced and that's why genuine views are better for you. They are less but they have high watch time and CTR (click through rate), fake views will not do any good for your channel.

We are going to see two scripts which use Google Chrome Driver and Proxy Details to create genuine environment. This may be a slow process to increase the view count but first it is fully automated, at least you need not open video in multiple tabs manually and second developer has tried his best to make the process authentic.

Here are two automated methods which increase the views of the video but there is no guarantee that YouTube will not detect and reduce the count.

Script : 1

Install 'Tor' before running the script.

git clone https://github.com/but3k4/youtube-views.git

cd youtube-views

pip install -r requirements.txt

python3 bot.py --visits 2 --url https://www.youtube.com/watch?v=ajT1Qbm1wGE --verbose

Script : 2

git clone https://github.com/MShawon/YouTube-Viewer.git

cd YouTube-Viewer

pip install -r requirements.txt

python3 youtube_viewer.py