ข้ามไปที่เนื้อหาหลัก

บทความ

กำลังแสดงโพสต์จาก 2014

เนื้อคู่

23/12/57 01.15 "หนาวเหรอ" เป็นเสียงที่ทำให้เราสะดุ้งตื่น แล้วพยายามงัวเงียดันตัวเองให้ลุกขึ้นนั่งตรงเพื่อจะดูว่าเกิดอะไรขึ้น ภาพที่เห็นผ่านตาหยี ๆ เพราะไม่ได้ใส่แว่นและเพิ่งจะตื่นคือ น้องเดินผ่านเราไปด้วยสายตาเรียบนิ่ง เมื่อพยายามมองไปด้านหลังผ้าม่าน ก็พบผ้าห่มของแม่ห่มร่างคนแก่บนเตียงอยู่

Joomla 1.5.3 -> How to manual add 'Super User' directly to mysql server

fix joomla "E_NOLOGIN_ACCESS" follow by this assume use default prefix table "jos"  There are 3 table relate with 1 jos_users 2 jos_core_acl_aro 3 jos_core_acl_groups_aro_map use these sql command INSERT INTO `jos_users` (`name`, `username`, `password`, `params`) VALUES ('Administrator2', 'admin2', 'd2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199', ''); insert into `jos_core_acl_aro` (`section_value`,`value`,`order_value`,`name`,`hidden`) VALUES ( 0, LAST_INSERT_ID(), 0, 'admin2', 0) LAST_INSERT_ID() = latest jos_users.id  INSERT INTO jos_core_acl_groups_aro_map( `group_id` , `aro_id` ) VALUES ( 25,LAST_INSERT_ID() ) LAST_INSERT_ID() = latest jos_core_acl_aro.id now you can login joomla with user 'admin2' and password 'secret'

How to route different traffic thru different network interfaces (in Windows 8.1)

Let's say. I have 2 NIC, both assigned static IP addresses. One LAN interface is internal corporate LAN, the others is external link for all other access (ie. the INTERNET). the internal link can access the internet too. but I want access the internet with external link only. it's very easy by manual config static route via windows command-line (run as administrator) assume the internal link gateway is 10.134.2.1 > route delete 0.0.0.0 10.134.2.1 > route add 10.134.0.0 mask 255.255.0.0 10.134.2.1 addtional add default route with another interface ctive Routes: Network Destination        Netmask          Gateway       Interface  Metric           0.0.0.0          0.0.0.0       10.134.4.1        127.0.0.1     78       10.134.4.86  255.255.255.255         On-link       10.134.4.86    291         127.0.0.0        255.0.0.0         On-link         127.0.0.1    331         127.0.0.1  255.255.255.255         On-link         127.0.0.1    331   127.255.255.255  255.

android ต่อ usb แล้ว ไม่ยอมสร้าง drive ให้ (Andriod cannot mount usb drive)

Samsung Galaxy Y Duos มันจะพยายามต่อนานมาก พอจอมือถือขึ้นว่าต่อได้แล้ว แต่ดันไม่มี drive เป็นอย่างนี้นานมาก เกิดจากไปลง app swapper 2 แล้วให้สร้าง swap ไปที่ fat partition เลยทำให้ mount ไ่ม่ได้ วิธีแก้ ถ้ายังอยากใช้ swapper 2 อยู่ ให้ สร้าง swap ไว้ที่ ext2 partition แทน (ext2 สร้างตอนจะติดตั้ง Link2SD ---------------------------------------------------- Andriod phone try to mount USB drive for a long time. Problem is swapper2 app that set swap file on FAT partition. this problem can fix by re-create swap file on EXT2 partition (EXT2 made on LINK2SD setup step)

C# Databinding เทคนิคกรอง combobox OrderNo ที่มีการ Invoice แล้ว (How to refresh OrderNo list in combobox binding after invoiced without left outer join method)

เขียนโปรแกรมรับ Order และจ่าย Invoice เงื่อนไขคือ OrderNo จะต้องแสดงเฉพาะ OrderNo ที่ยังไม่ได้ผูกกับ Invoice เท่านั้น วิธีการที่เคยทำได้แก่ 1. ทำ Orders Left Outer Join Invoice เอาเฉพาะ Order ที่ยังไม่มีเลข Invoice ออกมา (ตามตำรา) - ถ้าไม่เขียน sql query ตอนสั่ง sqlselect command ก็ต้องไปใช้ LINQ to Object แล้วเอามา rebinding combobox.datasource ใหม่ เพราะ datasource ที่ผูกไว้กับ combobox มันไม่ refresh เช่น cboOrderNo.datasource.Clear; cboOrderNo.datasource = newList(); 2. เพิ่ม flag field ที่ table Orders ถ้ามีรับ invoice แล้ว ให้ flag = 1 แล้วใช้ dtOrder.defaultview.rowfilter = "flag=1"; ข้อมูลใน combobox จะไม่ต้อง rebinding อันนี้เห็นมาจากระบบอื่น 3. ใช้ Rowfilter = "Child(relation).Order = null" แต่วิธีนี้ใช้ไม่ได้ เพราะ Rowfilter จำกัดให้ใช้ได้เฉพาะ Parent เพราะถ้าเป็น Child แล้วจะ return หลายตัว ตามข้อมูลจาก link นี้ แต่อ้างอิงเป็นกลุ่มเช่น Sumchild(relation).Qty >20 ได้ เห็นแล้วก็นึกถึงไอเดียบรรเจิด ใช้ Rowfilter = Count(Child(relation)) <0 แ

แก้ BootLoader Win7 พัง

ไปสนหาทาง Crack Win7 ปรากฏว่าทำแล้ว Windows boot ไม่ขึ้น แก้ไขตามลิงค์  http://www.howtogeek.com/howto/32523/how-to-manually-repair-windows-7-boot-loader-problems/ จำเป็นต้องมีแผ่น boot win7