Monday, January 31, 2022

ArchTitus Linux

 https://github.com/ChrisTitusTech/ArchTitus



Windows 10 & 11 Sound Keyboard Application free download




https://michael.wright.uk/php-file-uploads/


<?php


// Check for errors

if($_FILES['file_upload']['error'] > 0){

    die('An error ocurred when uploading.');

}


if(!getimagesize($_FILES['file_upload']['tmp_name'])){

    die('Please ensure you are uploading an image.');

}


// Check filetype

if($_FILES['file_upload']['type'] != 'image/png'){

    die('Unsupported filetype uploaded.');

}


// Check filesize

if($_FILES['file_upload']['size'] > 500000){

    die('File uploaded exceeds maximum upload size.');

}


// Check if the file exists

if(file_exists('upload/' . $_FILES['file_upload']['name'])){

    die('File with that name already exists.');

}


// Upload file

if(!move_uploaded_file($_FILES['file_upload']['tmp_name'], 'upload/' . $_FILES['file_upload']['name'])){

    die('Error uploading file - check destination is writeable.');

}


die('File uploaded successfully.');


//---------------------


//https://www.plus2net.com/php_tutorial/php_file_upload.php




<form action='uploadck.php' method=post  enctype='multipart/form-data' >

Upload this file: <input type=file name='file_up'>

<input type=submit value='Upload Image'></FORM>


<?Php

echo "Maximum allowed file size: ".ini_get('upload_max_filesize');

echo "<br>";

echo "Maximum input time : ".ini_get('max_input_time');

echo "<br>";

echo "Maximum execution time : ".ini_get('max_execution_time');

echo "<br>";

echo "Maximum Post size : ".ini_get('post_max_size');

?>


<?Php

$file_upload_flag="true"; // Flag to check conditions

$file_up_size=$_FILES['file_up'][size];


echo "File Name:".$_FILES[file_up][name];

echo "<br>File Size:".$_FILES[file_up][size];

echo "<br>File Type:".$_FILES[file_up][type];

echo "<br>File tmp_name:".$_FILES[file_up][tmp_name];

echo "<br>File error:".$_FILES[file_up][error];

echo "<br>---End of uploaded file details---<br><br>";


if ($_FILES[file_up][size]>250000){

$msg=$msg."Your uploaded file size is more than 250KB ";

$msg.=" so please reduce the file size and then upload.<BR>";

$file_upload_flag="false";

}


// allow only jpeg or gif files, remove this if not required //

if (!($_FILES[file_up][type] =="image/jpeg" OR $_FILES[file_up][type] =="image/gif"))

{$msg=$msg."Your uploaded file must be of JPG or GIF. ";

$msg.="Other file types are not allowed<BR>";

$file_upload_flag="false";}


$file_name=$_FILES[file_up][name];

// the path with the file name where the file will be stored

$add="upload/$file_name"; 


if($file_upload_flag=="true"){ // checking the Flag value 


if(move_uploaded_file ($_FILES[file_up][tmp_name], $add)){

// do your coding here to give a thanks message or any other thing.

$msg="File successfully uploaded";

}else{

echo "Failed to upload file Contact Site admin to fix the problem";

}

}else{

$msg .= " Failed to upload file ";

}

echo " $msg <br><br> <a href=upload.php>Return to File upload </a>";

?>

//--------------------


<?php
$target_dir = "uploads/";
$target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]);
$uploadOk = 1;
$imageFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION));

// Check if image file is a actual image or fake image
if(isset($_POST["submit"])) {
  $check = getimagesize($_FILES["fileToUpload"]["tmp_name"]);
  if($check !== false) {
    echo "File is an image - " . $check["mime"] . ".";
    $uploadOk = 1;
  } else {
    echo "File is not an image.";
    $uploadOk = 0;
  }
}

// Check if file already exists
if (file_exists($target_file)) {
  echo "Sorry, file already exists.";
  $uploadOk = 0;
}

// Check file size
if ($_FILES["fileToUpload"]["size"] > 500000) {
  echo "Sorry, your file is too large.";
  $uploadOk = 0;
}

// Allow certain file formats
if($imageFileType != "jpg" && $imageFileType != "png" && $imageFileType != "jpeg"
&& $imageFileType != "gif" ) {
  echo "Sorry, only JPG, JPEG, PNG & GIF files are allowed.";
  $uploadOk = 0;
}

// Check if $uploadOk is set to 0 by an error
if ($uploadOk == 0) {
  echo "Sorry, your file was not uploaded.";
// if everything is ok, try to upload file
else {
  if (move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $target_file)) {
    echo "The file ". htmlspecialchars( basename( $_FILES["fileToUpload"]["name"])). " has been uploaded.";
  } else {
    echo "Sorry, there was an error uploading your file.";
  }
}
?>


Friday, January 21, 2022

Skia for Delphi

https://stackoverflow.com/ 

https://github.com/viniciusfbb/skia4delphi

https://skia4delphi.org/about

https://www.cloudsavvyit.com/15269/how-to-deploy-a-ghost-blog-with-docker/

https://recorder.itopvpn.com/

About Skia

Skia is an open source library for drawing 2D Text, Geometries, Images, focused on accurate, high quality and high performance rendering, which provides common APIs that work across a variety of hardware and software platforms, used by Chrome, Android, Flutter, Xamarin, Mozilla Firefox, Firefox OS, and many other products.

https://www.mailcleaner.org/

https://www.proxmox.com/en/downloads/category/iso-images-pmg

https://spamscanner.net/#/?id=install

https://www.you2mp3.org/

https://www.endlessos.org/

https://www3.cs.stonybrook.edu/~alee/g++/g++.html

https://appuals.com/high-cpu-or-disk-usage-by-ntoskrnl-exe-on-windows-10/

https://www.shinyapps.io/

https://www.codeproject.com/Articles/109714/PVS-MediaPlayer-Audio-and-Video-Player-Library

https://www.codeproject.com/Tips/5323262/The-Simplest-Implementation-of-a-Reader-Writer-Loc

https://www.codeproject.com/Tips/799473/Query-Assistant-Connect-to-Databases-with-ADO-and

https://www.codeproject.com/Articles/5323324/Introducing-Minimal-Real-Time-API-for-NET

https://www.codeproject.com/Tips/5323326/VB-NET-Calculating-Linear-Regression-Slope-and-Int

https://stackoverflow.com/questions/4069770/tiny-c-compiler-tcc-and-winsock

https://stackoverflow.com/questions/7622682/tcc-and-winsock-h

https://www.howtogeek.com/776663/how-to-send-a-zoom-invite/

https://www.howtogeek.com/448808/how-to-insert-a-signature-into-microsoft-word/

https://www.virustotal.com/gui/home/upload


Ivi Adamou:

++


Windows 10 & 11 Sound Keyboard Application free download




++++++++++






By slave on a minimum wage








Sunday, January 16, 2022

Wifi landing page Windows and Linux

++

Oracle VM 1,06 GB = Windows XP sp2 

Oracle VM 2,80 GB = Windows XP sp2 + Lazarus 2.0.4.


Oracle VM 3,23 GB = Windows XP sp3 

Oracle VM 4,49 GB = Windows XP sp3 + Lazarus 2.0.4.


Oracle VM 10,48 GB = Windows 10 Pro 

Oracle VM 27,25 GB = Windows 10 Pro + Microsoft Office 2019

Oracle VM 32,36 GB = Windows 10 Pro + Lazarus 2.0.4 + Bunch of Lazarus projects


An Interesting informations:

https://www.codeproject.com/Articles/36112/Chess-Program-in-C








Linux way: 


https://coova.github.io/


https://www.howtoforge.com/tutorial/how-to-install-a-wireless-hotspot-with-captive-page-in-linux-using-coovachilli/


https://blog.superuser.com/2011/05/16/windows-7-network-awareness/


Windows 10 way:


https://www.raymond.cc/blog/create-a-wireless-internet-hotspot-at-home-in-10-minutes-for-free/




Windows 10 & 11 Sound Keyboard Application free download










It is nice to remember:

https://beogradsko.blogspot.com/2021/05/unicode-in-bellard-tcc-as-console-app.html

https://www.codeproject.com/Articles/5322795/TypeScript-Tips-and-Tricks

https://marktext.app

https://github.com/marktext/marktext


Tuesday, January 11, 2022

Remote for free



Apache Guacamole TIPS:

I just downloaded Apache Guacamole packaged by @bitnami. Check it out! https://bitnami.com/stack/guacamole #applicationawesomeness

https://bitnami.com/stack/guacamole/virtual-machine


Windows 10 & 11 Sound Keyboard Application free download



DOWNLOAD VIRTUAL MACHINES FOR APACHE GUACAMOLE PACKAGED BY BITNAMI

CREDENTIALS

Default Application Login

Usernameguacadmin
PasswordCreated on boot. Follow these instructions to retrieve it
SSH / SFTP / SCP Connection
Usernamebitnami
Passwordhow to connect to the server through SSH and upload files via SCP

QEMU on Windows tips:



./qemu-img.exe create -f qcow2 -o cluster_size=2M F:/VMs/Manjaro.img 1000G

./qemu-system-x86_64 - cdrom F:/VMs/Manjaro/manjaro-kde-20.2.1-210203-linux59.iso -boot menu=on -drive file=F:/VMs/Manjaro.img -accel whpx -usb -device usb-tablet -show-cursor -smp 3 -m 8G -net nic -net tap,ifname="Local Area Connection",script=no,downscript=no - device AC97

./qemu-system-x86_64
-hda F:/VMs/Manjaro.img
-accel whpx
-usb -device usb-tablet -show-cursor
-vga virtio
-smp 3 -m 8G
-net nic -net tap,ifname="Local Area Connection",script=no,downscript=no
-device AC97

VPS for free

 ++


Windows 10 & 11 Sound Keyboard Application free download


https://getmailspring.com/

Mega Tips:

Windows logo key  + R, type shell:startup

shell:common startup

regedit

please locate~~

Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

taskschd.msc

appwiz.cpl

https://www.christitus.com/

https://mremoteng.org/

https://www.gpg4win.org/

https://xcp-ng.org/

https://winscp.net/eng/download.php

https://www.warframe.com/

https://www.tightvnc.com/

https://getsharex.com/

How to remove image background:





Tuesday, January 4, 2022

JS school

 https://codepen.io/t_afif/pen/bGooZmq


https://codepen.io/noahraskin/pen/OJxOWzy


https://codepen.io/learosema/pen/NWaXvoy


https://codepen.io/ShadowShahriar/pen/rNGJNwy


https://codepen.io/Dillo/pen/jOGmGgz


https://github.com/arcadesdude/BRU


https://sourceforge.net/projects/windows-debloater/files/latest/download



++

See the Pen Chaos Pendulum by Yannick Brandt (@Coderesting) on CodePen.


C# School:











++