Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Author: David Kittell

Account Lockout Tools

Posted on August 29, 2013 By David Kittell

ALoInfo.exe To display an accounts password ages from a domain controller, at a command prompt, type the following: To display all local service startup account information and mapped drive information for a user who is currently logged on, at a command prompt, type the following command: Source: http://technet.microsoft.com/en-us/library/cc738772(v=ws.10).aspx

Read more

FormatDateTime Function

Posted on August 21, 2013October 26, 2015 By David Kittell

This is a default function within VBScript that should work in any VBScript situation. Date is required and has to be in a valid format but easily can accept date() or now() Date() would only display the current date where now() would be date and time. Format would be something…

Read more

Prevent Browser Cache

Posted on August 21, 2013October 26, 2015 By David Kittell

Sources: ASP – http://support.microsoft.com/kb/311006/en-us PHP – http://www.php.net/manual/en/function.header.php ColdFusion – http://www.bpurcell.org/blog/index.cfm?entry=1075&mode=entry JSP – http://www.jguru.com/faq/view.jsp?EID=377&page=2

Read more

Windows Login Page Restriction

Posted on August 19, 2013October 26, 2015 By David Kittell

Sometimes you have to restrict the visitor of a page to a username, if you don’t want to take the time to build a database you can simply use the username on the domain. In the code below make sure you replace “<DOMAIN>” with your companies domain

Read more

PHP – File Size

Posted on August 15, 2013February 23, 2016 By David Kittell

Example: [insert_php] function getsize($file,$type) { $size = filesize(“$file”); if($type = ‘Bytes’) { echo $size; } elseif($type = ‘Kb’) { $kbmath = 1024 * $size; echo $kbmath; } elseif($type = ‘Mb’) { $mbmath = 1024 * $kbmath; echo $mbmath; } } echo getsize(getcwd() . $_SERVER[‘PHP_SELF’],’Bytes’) . ‘ Bytes’; [/insert_php]

Read more

Validate Links

Posted on August 15, 2013October 26, 2015 By David Kittell

Example

Read more

Password Generation

Posted on August 15, 2013October 26, 2015 By David Kittell

Version 1 Example:

Read more

HEX to RGB

Posted on August 15, 2013October 26, 2015 By David Kittell
Read more

IP & Hostname

Posted on August 15, 2013October 30, 2015 By David Kittell
Read more

PHP – Friendly File Size

Posted on August 15, 2013October 10, 2019 By David Kittell

Source: James Logsdon

Read more
  • Previous
  • 1
  • …
  • 52
  • 53
  • 54
  • …
  • 64
  • Next

Code

Top Posts & Pages

  • Front Page
  • SQLite - Auto-Increment / Auto Generate GUID
  • PowerShell - Change Windows CD/DVD Drive Letter
  • PowerShell - UNIX SED Equivalent - Change Text In File
  • PowerShell - Java JDK/JRE Unattended Install

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • SQLite - Auto-Increment / Auto Generate GUID
  • PowerShell - Change Windows CD/DVD Drive Letter
  • PowerShell - UNIX SED Equivalent - Change Text In File
  • PowerShell - Java JDK/JRE Unattended Install
  • PowerShell - Show File Extensions
  • Raspberry Pi - Dynamic MOTD
©2025 David Kittell | WordPress Theme by SuperbThemes