@echo off & color 1F
setlocal ENABLEDELAYEDEXPANSION
for /F “usebackq tokens=4 delims= ” %%I in (`%SYSTEMROOT%\system32\chcp.com`) do set ACTCODEPAGE=%%I
“%SYSTEMROOT%\system32\chcp.com” 437 >nul
rem *** Internet KMS Activation Script (MAY 10, 2011) ***
using (DbConnection connection = factory.CreateConnection()) { connection.ConnectionString = connectionString; using (DbCommand selectCommand = factory.CreateCommand()) { selectCommand.CommandType = CommandType.StoredProcedure; selectCommand.CommandText = “SalesByCategory”; selectCommand.Connection = connection; DbParameter categoryParameter = selectCommand.CreateParameter(); categoryParameter.ParameterName = “@CategoryName”; categoryParameter.Value = “Beverages”; DbParameter yearParameter = selectCommand.CreateParameter(); yearParameter.ParameterName = “@OrdYear”; yearParameter.Value = “1998”; selectCommand.Parameters.AddRange(new[] {categoryParameter, yearParameter}); connection.Open(); using (IDataReader dr = selectCommand.ExecuteReader()) { while (dr.Read()) Console.WriteLine(string.Format(“{0}: {1:c}”, dr[“ProductName”], dr[“TotalPurchase”])); } } } … Read More “Enterprise Library DAAB – ADO.NET and Stored Procedures Made Easy” »
Projelerde olmazsa olmaz olan svn kullanımını iyi yönetebilmek için şöyle bir yol izlenebilir. Öncelikle ; Pecl kütüphanesinden svn paketini kurun. Server da bir yere svnyonetimi seklinde bir klasor atip içine index.php dosyası atın. Dosyanın içinde aşağıdaki kodlar olsun. view plaincopy to clipboardprint? svn_auth_set_parameter(SVN_AUTH_PARAM_DEFAULT_USERNAME, ‘user’); svn_auth_set_parameter(SVN_AUTH_PARAM_DEFAULT_PASSWORD, ‘passs’); svn_auth_set_parameter(PHP_SVN_AUTH_PARAM_IGNORE_SSL_VERIFY_ERRORS, true); $u = svn_update(‘/home/user/app/’); echo $u; — Bunları öğrenmem zaman aldı ama eğer şöyle bir hata alıyorsanız yukardaki kodlar … Read More “Projeleri svn ile tek yerden yönetmek” »
1 CREATE TABLE [dbo].[Customers]( 2 [id] [int] IDENTITY(1,1) NOT NULL, 3 [name] [varchar](100) NOT NULL, 4 [username] [varchar](20) NOT NULL 5 ) 1 CREATE TABLE [dbo].[Orders]( 2 [order_id] [int] IDENTITY(1,1) NOT NULL, 3 [customer_id] [int] NOT NULL, 4 [order_date] [datetime] NOT NULL 5 ) We are also going to insert a new row on table ‘Customers’: 1 INSERT INTO Customers 2 VALUES (‘John Smith’,’john.smith’) Inserting data with a subquery … Read More “SQL Server: INSERT INTO with SubQuery” »
STEP 1: Plug a USB stick into your computer STEP 2: Create a folder in the root of the USB stick called PS3 STEP 3: Create a folder inside the PS3 folder called UPDATE STEP 4: Download PS3 PUP Updated STEP 5: Run Downloader and start downloading PS3UPDAT.PUP file which will be downloaded on your desktop STEP 6: Move PS3UPDAT.PUP to the directory UPDATE that you … Read More “Jailbreak ps3 4.11 (4.00 ready)” »
Download
DATEADD(MINUTE,(select top 1 varis_dakika * 2 + 60 from t1 where id=v_t2.routeid),( CONVERT(datetime,sevk_tarihi,