Connection.Cancel
Cancels the execution of a pending, asynchronous Execute or Open operation.
The Command object is a logical wrapper around a stored procedure. The Properties collection contains a collection of Property objects which hold different pieces of information about the command object. The Parameters collection contains a collection of Parameter objects which represent arguments of a stored procedure or placeholders of a stored procedure.
todo: Add useful methods here.
todo: add useful properties here.
Given this basic set of code
1 | Public Class SasdDirWatchService : Inherits System.ServiceProcess.ServiceBase |
I think it’s possible to expand this a bit so that when the service is being started or stopped you get messages
like ‘Starting’ and ‘Started’.
Hexo has a command line interface (CLI). You use the command line prompt to execute ‘hexo’ statements. This section lists the common commands provided by Hexo
Hexo is a static source code generator specializing in blog type websites.
It’s open source so it’s free. But it’s like one piece to a bigger puzzle. You get hexo, then a layout (or a theme), then you get other add-in’s like Search and Disqus - each one from a different vendor. Each supported by different people, each documented differently. Good luck I say.
To develope sites in Hexo, you need:
Version 1 of the VB.Net - FileSystemWatcher was pretty good. It had one basic flaw, If you are watching a location that disappears (for example a folder on a server that goes down), then the FileSystemWatcher will stop working. When the location reappears, the FileSystemWatcher does not recover.
Topic, on examining a JSON input stream, Michelle found something like
1 | <datebuilt>224121600000 </datebuilt> |
In studying this a bit, it turns out 224121600000 is the number of milliseconds since the javascript
epoch date which is Jan 1, 1970 at midnight.
The FileSystemWatcher class is used to create a function that watches activities being performed on files sitting in a folder. When running it will throw an event whenever a file is added, changed, deleted, or renamed.
A Windows Service is a program that starts up and runs when Windows Starts, and then it continues to run until Windows is turned off, or, until you stop the service.
NPM is a DOS command, I think released by the NODE group. I think it’s an installation tool for programmers. I use it to install programs on my computer.
For example I was looking for a typescript definition file for google analytics. I found this website: https://www.npmjs.com/package/@types/google.analytics. It gave me an npm command to install it. it went something like this:
1 | cd \d\dev\node_modules |
what it did was created a folder named
\d\dev\node_modules\google.analytics
and placed the files I needed.
This gives you the version of npm you are running.