Category: Codes

Basic HTML and HTML5: Nest an Anchor Element within a Paragraph

<h2>CatPhotoApp</h2><main><a href="http://freecatphotoapp.com" target="_blank">cat photos</a><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."><p>Kitty ipsum dolor…

Basic HTML and HTML5: Link to External Pages with Anchor Elements

<h2>CatPhotoApp</h2><main><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."><p>Kitty ipsum dolor sit amet, shed…

Basic HTML and HTML5: Uncomment HTML

<!--<h1>Hello World</h1><h2>CatPhotoApp</h2><p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase…

Basic HTML and HTML5: Create a Bulleted Unordered List

<h2>CatPhotoApp</h2><main><p>Click here to view more <a href="#">cat photos</a>.</p><a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying…

Basic CSS: Change the Color of Text

<h2>CatPhotoApp</h2><main> <p>Click here to view more <a href="#">cat photos</a>.</p> <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange…

Some Batch Files

REM Date.batset fscfg=m:\mfgsys\fs.cfgm:\fs_apps\setcfg N0 DT_TODAY={TODAY} REM lexp.batfsguiapp.exe -s -cm:\mfgsys\fs.cfg -iAAA{TAB}y2k99{CR}bexe{ESC}exp{CR}exit Rem Invoice_Prints_ZZ1_2_3_.batfsguiapp.exe -cm:\mfgsys\fs.cfg -iZZ1{TAB}pass1{CR}bexe{ESC}zz1{CR}M:\cabsauto\timeout 15fsguiapp.exe…

Credit_Invoice_Reprints_ZZ6_7_8.bat

fsguiapp.exe -cm:\mfgsys\fs.cfg -iZZ1{TAB}y2k99{CR}bexe{ESC}zz6{CR}M:\cabsauto\timeout 15fsguiapp.exe -cm:\mfgsys\fs.cfg -iZZ2{TAB}y2k99{CR}bexe{ESC}zz7{CR}M:\cabsauto\timeout 15fsguiapp.exe -cm:\mfgsys\fs.cfg -iZZ3{TAB}y2k99{CR}bexe{ESC}zz8{CR}rem M:\cabsauto\timeout 15rem fsguiapp.exe -s -cm:\mfgsys\fs.cfg -iZZ4{TAB}y2k99{CR}bexe{ESC}zz4{CR}

Sample Forth Shift Script

REM Daily Batch for Fourth Shiftrem E:\FShift\cabsauto\timeout 14400rem E:\FShift\cabsauto\timeout 7200rem E:\FShift\cabsauto\timeout 7200rem E:\FShift\cabsauto\timeout 7200rem E:\FShift\cabsauto\timeout…

PowerShell: Download Dot Net 4.7.2

# Illustration: download Dot Net 4.7 Run-time from behind a proxy and showing progress barfunction…

Function to Import PortQry (a Systernal Utility)

Update: much adieu about nothing. Run this quick script and ignore the prior jibberish: if…

PowerShell: Methods to Download Files

# Change these values to reflect your desired downloads$fileURL = "https://download.microsoft.com/download/0/d/9/0d9d81cf-4ef2-4aa5-8cea-95a935ee09c9/PortQryV2.exe"$output = "C:\WINDOWS\System32\SysInternals\portqry.exe"1. Start-BitsTransfer (my…

PowerShell: Check RPC Services on Remote Windows Machines

This current version is to be more compatible with PoSH 6.0 (by removing work-flow) as…

PowerShell: Function to Wait for Service to Be Back Online (After Server Reboots)

Function waitForService{ $testSucceeded=(Test-NetConnection $server -port $port).TcpTestSucceeded $null=Set-PSBreakpoint -Variable rightNow -Mode Read -Action { $global:testSucceeded =…

PowerShell: How to Play a Sound

$soundFile="C:\Windows\media\tada.wav"$sound = new-Object System.Media.SoundPlayer$sound.SoundLocation=$soundFile$sound.Play()

Explain Try and Catch Block

try { Execute function X; Execute function Y;}catch{ Execute this when any function fails: X…

Reset Windows Update Tool

:: ==================================================================================:: Re-posting this here because I admire the good work by Sir Manuel Gil::…

LAMPP Passwords Change

Change ProFTP password: vim /opt/lampp/etc/proftpd.conf <?-- delete the last line in password, leave the first…

Setting Up FTP on CentOS 5.3

Install VSFTPD yum -y install vsftpd   Configure: vim /etc/vsftpd/vsftpd.conf ------------------- anonymous_enable=NO // line 12:…

Centos 5.3 Server preparation for web hosting

These are compatible Repositories: FreshRPMS, Dries, NewRPMS and PlanetCCRMA   Note: to update PHP and…

Apache Hosting Multiple Websites

Must have a FQDN for localhost:vim /etc/hosts---- add this line ----192.168.1.5        server1.cafecenter.com server1----------------------Install GD…