Ashutosh Viramgama | Changing The Future
0 FOLLOWERS
Ashutosh Viramgama is a Computer & Mechanical Engineer and wants to achieve masters in technology by combining these two engineering fields i.e. computer and mechanical. I am interested in new technology and new upcoming languages which has been developed recently and also the upcoming and personal invention ideas. I want to share all of these with the world and I love to do so and learn from..
Ashutosh Viramgama | Changing The Future
5d ago
Hey guys welcome to AV Coding
Today, we will delve into how to integrate the react-dropdown-tree-select library into our React code.
NPM REPO: https://www.npmjs.com/package/@react-pdf/renderer
React-pdf Doc: https://v3.react-pdf.org/
PDFkit Doc: https://pdfkit.org/
npm install @react-pdf/renderer --save
App.js
import './App.css';
import { ReactPdfDocument } from './ReactPdf';
import ReactPdfHook from './ReactPdfHook';
import { pdf, BlobProvider, PDFViewer, PDFDownloadLink } from '@react-pdf/renderer';
function App() {
const blob = pdf(<ReactPdfDocument />).toBlob()
blob.then((d ..read more
Ashutosh Viramgama | Changing The Future
6M ago
Hey guys welcome to AV Coding
Today, we will delve into how to integrate the react-dropdown-tree-select library into our React code.
NPM REPO: https://www.npmjs.com/package/react-dropdown-tree-select?activeTab=readme
npm i react-dropdown-tree-select --save
App.js
import logo from "./logo.svg";
import DropdownTreeSelect from "react-dropdown-tree-select";
import "react-dropdown-tree-select/dist/styles.css";
import "./App.css";
function App() {
const data = [
{
label: "Ahmedabad", //required
value: "Ahmedabad",
className: "Ahmedabad_Test",
checked: false ..read more
Ashutosh Viramgama | Changing The Future
11M ago
Introduction:
For centuries, Mars has captivated the human imagination, with its blood-red hue and enigmatic allure. As the fourth planet from the Sun, Mars has long held a special place in our collective fascination with the cosmos. Over the years, scientists, astronomers, and dreamers have pondered the possibility of transforming Mars into a habitable world, a second home for humanity. This grand vision, known as terraforming, represents an audacious and transformative endeavor that seeks to reshape the Martian landscape, atmosphere, and climate to support human life. The concept of terrafor ..read more
Ashutosh Viramgama | Changing The Future
11M ago
Introduction:
In the realm of advanced materials, Nitinol stands out as a remarkable alloy with unique properties that have captivated researchers and engineers alike. Nitinol, short for Nickel-Titanium Naval Ordnance Laboratory, is a shape memory alloy (SMA) that exhibits the extraordinary ability to return to its original shape after being deformed. This fascinating characteristic, coupled with its excellent biocompatibility and superelasticity, has made Nitinol a sought-after material in various industries, including aerospace, biomedical engineering, robotics, and more. In this blog, we wi ..read more
Ashutosh Viramgama | Changing The Future
11M ago
Introduction
Procedural Content Generation (PCG) is a fascinating field that has gained significant attention in the realm of video game development and digital content creation. It involves the creation of content, such as levels, landscapes, characters, and narratives, through algorithms and computational methods rather than traditional manual design. This blog explores the concept of PCG, its applications, and the research papers that have contributed to its advancement.
I. Understanding Procedural Content Generation
1.1 What is Procedural Content Generation? Procedural Content Generation r ..read more
Ashutosh Viramgama | Changing The Future
4y ago
Hey guys welcome to AV Coding
Today we will learn how to use Mapbox in web applications for navigation and dynamic markers.
Mapbox Documentation Link :- https://docs.mapbox.com/api/
The complete code is explained in the video below and the source code is provided below.
<?php
$server ="localhost";
$user="root";
$password="";
$db="sgc11";
$conn = mysqli_connect($server,$user,$password,$db);
?>
<?php
$id = $_GET['id'];
$query = 'SELECT * FROM sgc12 WHERE ID = '.$id;
$select_customers = mysqli_query($conn, $query);
while($row = mysqli_fetch_assoc($select_customers ..read more
Ashutosh Viramgama | Changing The Future
4y ago
Hey guys welcome to AV Coding
Today we will learn how to create 2d matrix of m x n using just a single loop logic in any language.
The complete code is explained in the video below and the source code is provided below.
<!DOCTYPE html>
<html>
<head>
<title>Matrix using Single Loop</title>
<meta charset="UTF-8">
</head>
<body >
<h2>Rows</h2>
<input type="text" name="rows" id="row">
<h2>Columns</h2>
<input type="text" name="columns" id="column">
<br> ..read more
Ashutosh Viramgama | Changing The Future
4y ago
Hey guys welcome to AV Coding
Today we will learn how to convert videos on server in any server-side language using open source tool ffmpeg.
The complete code is explained in the video below and the source code is provided below.
ffmpeg Download:- https://www.ffmpeg.org/download.html
ffmpeg Documentation:- https://www.ffmpeg.org/ffmpeg.html
ffmpeg-npm :- https://www.npmjs.com/package/ffmpeg
ffmpeg-python:- https://pypi.org/project/ffmpeg-python/
# For Php
$file = $_FILES["fileToUpload"]["tmp_name"];
exec("./ffmpeg.exe");
exec("ffmpeg -i ".$file." ./output/".explode(".",$file)[0].".mp4 ..read more
Ashutosh Viramgama | Changing The Future
4y ago
Hey guys welcome to AV Coding
Today we will learn how to check if the checkbox was checked or not using JQuery and JavaScript and then send the data to the server.
The complete code is explained in the video below and the source code is provided below.
<!DOCTYPE html>
<html>
<head>
<title>How to Check If Checkbox is Checked | AV Coding</title>
<meta charset="UTF-8">
</head>
<body >
<form action="./index.html" id="myForm">
Accept Terms & Conditions: <input type="checkbox" id="myCheck"> ..read more
Ashutosh Viramgama | Changing The Future
4y ago
Hey guys welcome to AV Coding
Today we will learn how to use socket in python and build an simple communicating app in python.
The complete code is explained in the video below and the source code is provided below.
from threading import Thread
import socket
socket.SO_REUSEPORT = socket.SO_REUSEADDR
sock, peers = None, []
class IMS(object):
MAX_CONNECTIONS = 5
def __init__(self):
self.setup()
for i in range(IMS.MAX_CONNECTIONS):
thread = IMS.Connection()
thread.daemon = True
thread.start()
def setup(self ..read more