Archive for the 'IT' Category
Javascript
http://www.redips.net/javascript/ajax-progress-bar/
No commentsWebSTAR EPX2203
## 1) go to http://192.168.100.1/_aslvl.asp
## 2) login as admin/W2402
## 3) select Access Level 2
## 4) password is W2402
## 5) submit
SQL - Find duplicates
SELECT something,
COUNT(something) AS NumOccurrences
FROM table
GROUP BY something
HAVING ( COUNT(something) > 1 )
Or/Vagy (Opposite/Ellentét):
SELECT something
FROM table
GROUP BY something
HAVING ( COUNT(something) = 1 )
php mail addr check
function check_email($email){
if($email == “”)
return false;
if(preg_match(”/^([a-zA-Z0-9-._]+)@([a-zA-Z0-9.-_]+)([a-zA-Z]+)$/”, $email))
return true;
else
return false;
}
…..
if(check_email($emailcim) == false)
die(”Hibas email cim!”);
Snow Leopard 10.6.3
Fine :)
No comments20100323
Mostanság, pontosabban az elmúlt 1-2 hónapban nem nagyon volt időm foglalkozni a blogommal, meló stb… lustaság :)
Illetve folyamatban van a wordpress motor lecserélése saját kódra; legalábbis a megjelenítő kód már kész, korrigálom a dátum megjelenítést, és lehet, hogy már ma “kidobom” a wp megjelenítőjét. Utána szükség lesz még a backend kód megírására, de az már részletkérdés.
SQL karakteregyeztetés
mysql_query(”SET NAMES ‘utf8′”); //Mezőnevek definíciója
mysql_query(”SET CHARACTER SET ‘utf8′”); //Rekord tartalom karakterkészlete
mysql_query(”SET COLLATION_CONNECTION=’utf8_unicode_ci’”); //Az adatbázis kapcsolat egyeztetése
src: http://oscommerce-extra.hu/php-mysql/tutorial/magyar-ekezetek-oeueoueai-oeueoueai.html
No commentsC# AD search
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.DirectoryServices;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
try
{
// Bind to the container to enumerate.
DirectoryEntry ent = new DirectoryEntry(”LDAP://OU=Users,DC=Domain,DC=local”);
// Create an object to use for individual objects in the container and iterate
// through the container.
foreach (DirectoryEntry child in ent.Children)
{
// Write the name and path for each object in the container.
Console.WriteLine(”{0} {1}”, child.Name, child.Path);
}
}
catch
{
// Handle errors.
}
}
}
}
blackberry2
Products
BlackBerry® Devices
BlackBerry® Enterprise Server for IBM® Lotus® Domino®
BlackBerry® Enterprise Server for Microsoft® Exchange
Environment
BlackBerry® Enterprise Server software versions 4.0 and 4.1 for IBM® Lotus® Domino®
BlackBerry® Enterprise Server software versions 4.0 and 4.1 for Microsoft® Exchange
BlackBerry smartphone
SDR69603
Overview
Applications cannot be pushed over the wireless network from the BlackBerry Enterprise Server to BlackBerry smartphone models that were released after the BlackBerry Enterprise Server software version was released.
For example, if BlackBerry Enterprise Server software version 4.1 is installed in your environment, applications will not be pushed to BlackBerry smartphones that were released after BlackBerry Enterprise Server software version 4.1, such as the BlackBerry® Curve™ 8300 smartphone and the BlackBerry® Pearl™ 8100 smartphone.
The BlackBerry Policy Service log (POLC) shows one of the following errors, based on the affected BlackBerry smartphone:
Device info for hardwareID 0×84000b03 could not be found.
Device info for hardwareID 0×84000D03 could not be found.
Device info for hardwareID 0×84000E03 could not be found.
Device info for hardwareID 0×96000f03 could not be found.
Cause
The device.xml file on the computer hosting the application share does not include the hardware ID for the affected BlackBerry smartphone.
Resolution
Install BlackBerry® Device Software for the affected BlackBerry smartphones on the computer hosting the application share. This will update the existing device.xml file to include the hardwareID for the affected BlackBerry smartphones. For more information, see KB12532.
Once the latest BlackBerry Device Software has been installed on the BlackBerry Enterprise Server, please perform the following:
Delete the subfolders in the PackageCache folder found at C:\Program Files\Research In Motion\BlackBerry Enterprise Server\PackageCache.
Delete the PKGDBCACHE.xml and specification.pkg files. These files are found at
Re-index the application by performing the following steps:
Open a command prompt and go to
Type loader /reindex.
Go to
