Archives
-
MySql ServerName.Log file size
A quick and dirty hack (written in C#) to solve the issue of MySql query log files getting huuuge:
System.ServiceProcess.ServiceController sc = new ServiceController("mysql", "servername");sc.Stop(); …
-
extJs: Combobox .getValue oddity - 2 (The "Solution")
Previously: extJs: Combobox .getValue oddity
Here's a quick-hacky solution (a better one would be to ensure your combobox's are selection-only):
Ext.override(Ext.form.ComboBox, { getValue: …
-
extJs: Combobox .getValue oddity
At least in extJs version 2.2.1 (the version baked into Coolite v0.8), the getValue function on the Ext.form.ComboBox appears to be thus:
function(){ if (this.valueField&&this.forceSelection) { …
-
A review of "Review: CryptoLicensing for .NET"
The review of CryptoLicensing for .NET that Roy Osherove posted recently was very well written and covered a topic that I've long held a mild level of curiosity around. That topic being protecting …
-
MySql - Running a complex script using the .net Connector
[The solution was discovered via this entry in the mysql.com forums]
If your MySql script contains code like
"/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;"
You'll need to add …
-
A string of character 'x' the same length as string 'y'
... is quite simple in .net, as I found out! string title = "My line of text that I'm writing to the console underlined with equals signs"; Console.WriteLine(title); …