./youtube-dl --extract-audio --audio-format mp3 <VIDEO URL>
FILE="tera hone laga he mp3 song 2009-VGF5GnUEMSI.webm";
./ffmpeg.exe -i "${FILE}" -vn -ab 128k -ar 44100 -y "${FILE%.webm}.mp3";
/** | |
* Youtube Playlist downloader | |
* Author: Surajit Basak | |
* | |
* Description: It downloads all links from Youtube Playlist | |
* Additional Information: To download all videos from links saved in a playlist.txt file | |
* you can use youtube-dl (a command line youtube downloader) | |
* example usage: | |
* youtube-dl -c --title -f best --batch-file path/to/your/playlist.txt | |
*/ |
Java Tutorial: https://www3.ntu.edu.sg/home/ehchua/programming/java/J2_Basics.html |
// ==UserScript== | |
// @name World Cup Match Live On Hotstar | |
// @namespace [email protected] | |
// @version 0.1 | |
// @description Watch Live World Cup Match on Hotstar | |
// @author Techcet Blog | |
// @match https://www.hotstar.com/sports/cricket/* | |
// @require http://code.jquery.com/jquery-3.3.1.min.js | |
// @grant none | |
// ==/UserScript== |
<?php | |
ob_start(); | |
// Load the stamp and the photo to apply the watermark to | |
$logoImage = imagecreatefrompng('stamp.png'); | |
$image = imagecreatefromjpeg('photo.jpg'); | |
$new_name = 'abcdefg.jpg'; |
// ==UserScript== | |
// @name Download in a text file | |
// @namespace https://www.youtube.com/user/surajitbasak109 | |
// @version 1 | |
// @description This script downloads webpage in a text file | |
// @author Surajit Basak | |
// @match http*://*/* | |
// @grant none | |
// ==/UserScript== |
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ServerName example.com | |
ServerAlias www.example.com | |
DocumentRoot /var/www/example.com/public_html | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
</VirtualHost> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Snake Game</title> | |
</head> | |
<body> | |
<canvas id="canvas" width="400" height="400" style="background: #efefef;"></canvas> |
cls | |
@ECHO OFF | |
title Folder Private | |
if EXIST "MY_LOCKER_FOLDER" goto UNLOCK | |
if NOT EXIST Private goto MDLOCKER | |
:CONFIRM | |
echo Are you sure you want to lock the folder(Y/N) | |
set/p "cho=(more than)" | |
if %cho%==Y goto LOCK | |
if %cho%==y goto LOCK |
<?php # Script 4.1 - HelloWorld.php | |
/* This page defines the HelloWorld class. | |
* The class says "Hello World!" in different languages. | |
*/ | |
class HelloWorld | |
{ | |
// This method print a greeting | |
// It takes one argument: the language to use. | |
// Default language is English. |