Project Internet
Create A Hibernate Link On Windows Desktop
Submitted by loloyd on Mon, 2008/01/07 - 1:46pm.Assumptions:
- You're running 32-bit Windows; most notably tested has been Windows XP.
- Hibernation is turned on and is properly working in your Windows setup. Check the Control Panel Power Options applet for more information.
Steps:
- Right-click on an empty space on your Windows desktop and select New|Shortcut from the resulting pop-up context menu.
- In the location of the item, type in
%windir%\system32\rundll32.exe powrprof.dll,SetSuspendState 1
Click next.
- Type "Hibernate" or whatever you prefer as the title for the shortcut. Click Finish.
The directive works as well in programs.
- Login to post comments
- 2698 reads
Rotate Abyss Web Server Logs By Month
Submitted by loloyd on Fri, 2008/01/04 - 11:24am.Here's how to automatically rotate Abyss web server logs by month in 32-bit Windows.
Assumptions:
- The Abyss web server log file is in C:\Program Files\Abyss Web Server\log\access.log.
- Windows has a yyyy/mm/dd date format from its Date and Time Control Panel applet.
- Windows has a fully functioning Task Scheduler (all related services are running).
Steps:
- Create a batch file with the following contents.
for /f "tokens=1-3 delims=/ " %%a in ("%DATE%") do ( set yyyy=%%a set mm=%%b set dd=%%c) rem the order of %%a, %%b and %%c are system dependent! (control-panel, date/time settings) echo %dd% echo %mm% echo %yyyy% if not exist "ac%yyyy%%mm%.log" ( net stop AbyssWebServer rem (move the log file in another folder, example: access.22.11.2005.log) ren "access.log" "ac%yyyy%%mm%.log" rem (Abyss start and create a new log file) net start AbyssWebServer ) pause - Create a multiple time scheduled task (or make it run daily) to run the above batch file.
- Test the damn thing and smile to the world around you to make it a little better.
- For more insights, set your scopes to http://www.aprelium.com/forum/viewtopic.php?p=71723#71723
- Login to post comments
- 2067 reads
Cursor Types Comparison Table
Submitted by loloyd on Thu, 2007/12/20 - 10:22am.| Attribute/Property | Cursor | ||||
| Enumeration Constant | adOpenUnspecified | adOpenForwardOnly | adOpenKeyset | adOpenDynamic | adOpenStatic |
| Value | -1 | 0 | 1 | 2 | 3 |
| Description | Cursor type not specified. | Default, a forward scrolling only, static cursor where changes made by other users are not visible. | A keyset cursor allows you to see dynamic changes to a specific group of records but you cannot see new records added by other users. | A dynamic cursor with both forward and backward scrolling where additions, deletions, insertions, and updates made by other users are visible. | A static cursor allowing forward and backward scrolling of a fixed, unchangeable set of records. |
| Theoretical Opening Speed | Dependent on provider's default setting | Faster | Slow | Slower | Fast |
| Observable Opening Speed (based on a populated 90-column, 1000-row table) | Data Pending | Data Pending | Data Pending | Data Pending | Data Pending |
| Updateable Recordset | Yes | Yes | Yes | Yes | No |
| Theoretical Update Speed | Dependent on provider's default setting | Faster | Slow | Slower | Fast |
| Theoretical Closing and Releasing Speed | Dependent on provider's default setting | Faster | Slow | Slower | Fast |
| Observable Memory Consumption (parameters to be configured) | Data Pending | Data Pending | Data Pending | Data Pending | Data Pending |
Find anything wrong with the information posted here? Shoot me a feedback!
- Login to post comments
- 1564 reads
Database References
Submitted by loloyd on Thu, 2007/12/20 - 10:01am.I intend to post my database realizations in this section. This will be/is like a knowledge-base of some sorts of all database-related material.
- Login to post comments
- 1598 reads
Project Internet
Submitted by loloyd on Fri, 2007/03/02 - 12:55am.Project Internet is composed of documents, resources and system development concepts that I authored/co-authored/assist in propaganda/brazenly plagiarized involving the Internet in general or its science or its study. It is my hope that this endeavor will ultimately benefit the Internet community as I am only in the pursuit of the advancement of the Internet's best interest. Yeah, right.
- Login to post comments
- 1201 reads




